class Azure::NetApp::Mgmt::V2019_05_01::Models::Operation

Microsoft.NetApp 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/2019-05-01/generated/azure_mgmt_netapp/models/operation.rb, line 34
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