class Azure::DataShare::Mgmt::V2018_11_01_preview::Models::OperationModel

The response model for get operations

Attributes

display[RW]

@return [OperationModelProperties] Properties on the operation

name[RW]

@return [String] Operation name for display purposes

origin[RW]

@return [String] origin of the operation

service_specification[RW]

@return [OperationMetaServiceSpecification] meta service specification

Public Class Methods

mapper() click to toggle source

Mapper for OperationModel class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/operation_model.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OperationModel',
    type: {
      name: 'Composite',
      class_name: 'OperationModel',
      model_properties: {
        display: {
          client_side_validation: true,
          required: false,
          serialized_name: 'display',
          type: {
            name: 'Composite',
            class_name: 'OperationModelProperties'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        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: 'OperationMetaServiceSpecification'
          }
        }
      }
    }
  }
end