class Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministrator

Classic Administrators

Attributes

email_address[RW]

@return [String] The email address of the administrator.

id[RW]

@return [String] The ID of the administrator.

name[RW]

@return [String] The name of the administrator.

role[RW]

@return [String] The role of the administrator.

type[RW]

@return [String] The type of the administrator.

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-06-01-preview/generated/azure_mgmt_authorization/models/classic_administrator.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ClassicAdministrator',
    type: {
      name: 'Composite',
      class_name: 'ClassicAdministrator',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        email_address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.emailAddress',
          type: {
            name: 'String'
          }
        },
        role: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.role',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end