class Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation
Storage REST API operation definition.
Attributes
display[RW]
@return [OperationDisplay] Display metadata associated with the operation.
name[RW]
@return [String] Operation name: {provider}/{resource}/{operation}
origin[RW]
@return [String] The origin of operations.
service_specification[RW]
@return [ServiceSpecification] One property of operation, include metric specifications.
Public Class Methods
mapper()
click to toggle source
Mapper for Operation class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-03-01-preview/generated/azure_mgmt_storage/models/operation.rb, line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Operation', type: { name: 'Composite', class_name: 'Operation', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, display: { client_side_validation: true, required: false, serialized_name: 'display', type: { name: 'Composite', class_name: 'OperationDisplay' } }, origin: { client_side_validation: true, required: false, serialized_name: 'origin', type: { name: 'String' } }, service_specification: { client_side_validation: true, required: false, serialized_name: 'properties.serviceSpecification', type: { name: 'Composite', class_name: 'ServiceSpecification' } } } } } end