class Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::Operation

Represents an operation returned by the GetOperations request

Attributes

display[RW]

@return [OperationInfo] Display name of the operation

name[RW]

@return [String] Name of the operation

origin[RW]

@return [OperationOrigin] Origin of the operation. Possible values include: 'User', 'System', 'UserAndSystem'

properties[RW]

@return Properties of the operation

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-06-15-preview/generated/azure_mgmt_event_grid/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: 'OperationInfo'
          }
        },
        origin: {
          client_side_validation: true,
          required: false,
          serialized_name: 'origin',
          type: {
            name: 'String'
          }
        },
        properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end