class Azure::Security::Mgmt::V2015_06_01_preview::Models::Operation

Possible operation in the REST API of Microsoft.Security

Attributes

display[RW]

@return [OperationDisplay]

name[RW]

@return [String] Name of the operation

origin[RW]

@return [String] Where the operation is originated

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-06-01-preview/generated/azure_mgmt_security/models/operation.rb, line 29
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'
          }
        },
        origin: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'origin',
          type: {
            name: 'String'
          }
        },
        display: {
          client_side_validation: true,
          required: false,
          serialized_name: 'display',
          type: {
            name: 'Composite',
            class_name: 'OperationDisplay'
          }
        }
      }
    }
  }
end