class Azure::Kusto::Mgmt::V2019_05_15::Models::Operation

A REST API operation

Attributes

display[RW]

@return [OperationDisplay] The object that describes the operation.

name[RW]

@return [String] The operation name. This is of the format {provider}/{resource}/{operation}.

origin[RW]

@return [String] The intended executor 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-05-15/generated/azure_mgmt_kusto/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'
          }
        },
        properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end