class Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationEntity

The operation supported by storage sync.

Attributes

display[RW]

@return [OperationDisplayInfo] The operation supported by storage sync.

name[RW]

@return [String] Operation name: {provider}/{resource}/{operation}.

origin[RW]

@return [String] The origin.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-06-01/generated/azure_mgmt_storagesync/models/operation_entity.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OperationEntity',
    type: {
      name: 'Composite',
      class_name: 'OperationEntity',
      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: 'OperationDisplayInfo'
          }
        },
        origin: {
          client_side_validation: true,
          required: false,
          serialized_name: 'origin',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end