Class: Azure::ARM::Authorization::Models::ClassicAdministratorProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_authorization/models/classic_administrator_properties.rb

Overview

Classic Administrator properties.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#email_addressString

Returns The email address of the administrator.

Returns:

  • (String)

    The email address of the administrator.



16
17
18
# File 'lib/generated/azure_mgmt_authorization/models/classic_administrator_properties.rb', line 16

def email_address
  @email_address
end

#roleString

Returns The role of the administrator.

Returns:

  • (String)

    The role of the administrator.



19
20
21
# File 'lib/generated/azure_mgmt_authorization/models/classic_administrator_properties.rb', line 19

def role
  @role
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# File 'lib/generated/azure_mgmt_authorization/models/classic_administrator_properties.rb', line 26

def self.mapper()
  {
    required: false,
    serialized_name: 'ClassicAdministratorProperties',
    type: {
      name: 'Composite',
      class_name: 'ClassicAdministratorProperties',
      model_properties: {
        email_address: {
          required: false,
          serialized_name: 'emailAddress',
          type: {
            name: 'String'
          }
        },
        role: {
          required: false,
          serialized_name: 'role',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end