class Azure::BotService::Mgmt::V2017_12_01_preview::Models::OperationDisplayInfo

The operation supported by Bot Service Management.

Attributes

description[RW]

@return [String] The description of the operation.

operation[RW]

@return [String] The action that users can perform, based on their permission level.

provider[RW]

@return [String] Service provider: Microsoft Bot Service.

resource[RW]

@return [String] Resource on which the operation is performed.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/operation_display_info.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OperationDisplayInfo',
    type: {
      name: 'Composite',
      class_name: 'OperationDisplayInfo',
      model_properties: {
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        operation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'operation',
          type: {
            name: 'String'
          }
        },
        provider: {
          client_side_validation: true,
          required: false,
          serialized_name: 'provider',
          type: {
            name: 'String'
          }
        },
        resource: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resource',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end