class Azure::EventGrid::Mgmt::V2019_06_01::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 [String] Origin of the operation

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/2019-06-01/generated/azure_mgmt_event_grid/models/operation.rb, line 32
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