class Azure::StorageCache::Mgmt::V2020_10_01::Models::ApiOperation
REST API operation description: see github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-automated-guidelines.md#r3023-operationsapiimplementation
Attributes
display[RW]
@return [ApiOperationDisplay] The object that represents the operation.
is_data_action[RW]
@return [Boolean] The flag that indicates whether the operation applies to data plane.
name[RW]
@return [String] Operation name: {provider}/{resource}/{operation}
origin[RW]
@return [String] Origin of the operation.
service_specification[RW]
@return [ApiOperationPropertiesServiceSpecification] Specification of the all the metrics provided for a resource type.
Private Class Methods
mapper()
click to toggle source
Mapper for ApiOperation
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation.rb, line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApiOperation', type: { name: 'Composite', class_name: 'ApiOperation', model_properties: { display: { client_side_validation: true, required: false, serialized_name: 'display', type: { name: 'Composite', class_name: 'ApiOperationDisplay' } }, origin: { client_side_validation: true, required: false, serialized_name: 'origin', type: { name: 'String' } }, is_data_action: { client_side_validation: true, required: false, serialized_name: 'isDataAction', type: { name: 'Boolean' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, service_specification: { client_side_validation: true, required: false, serialized_name: 'properties.serviceSpecification', type: { name: 'Composite', class_name: 'ApiOperationPropertiesServiceSpecification' } } } } } end