class Azure::Peering::Mgmt::V2019_08_01_preview::Models::Operation

The peering API operation.

Attributes

display[RW]

@return [OperationDisplayInfo] The information related to the operation.

is_data_action[RW]

@return [Boolean] The flag that indicates whether the operation applies to data plane.

name[RW]

@return [String] The name of the operation.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01-preview/generated/azure_mgmt_peering/models/operation.rb, line 31
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,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        display: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'display',
          type: {
            name: 'Composite',
            class_name: 'OperationDisplayInfo'
          }
        },
        is_data_action: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'isDataAction',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end