class Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation

REST API operation supported by SignalR resource provider.

Attributes

display[RW]

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

name[RW]

@return [String] Name of the operation with format: {provider}/{resource}/{operation}

origin[RW]

@return [String] Optional. The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX.

properties[RW]

@return [OperationProperties] Extra properties for 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/2018-03-01-preview/generated/azure_mgmt_signalr/models/operation.rb, line 35
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: 'Composite',
            class_name: 'OperationProperties'
          }
        }
      }
    }
  }
end