Class: Azure::Subscriptions::Mgmt::V2015_11_01::Models::TenantIdDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-11-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb

Overview

Tenant Id information

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#idString

Returns Gets or sets Id.

Returns:

  • (String)

    Gets or sets Id



16
17
18
# File 'lib/2015-11-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb', line 16

def id
  @id
end

#tenant_idString

Returns Gets or sets tenantId.

Returns:

  • (String)

    Gets or sets tenantId



19
20
21
# File 'lib/2015-11-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb', line 19

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

Mapper for TenantIdDescription 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/2015-11-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb', line 26

def self.mapper()
  {
    required: false,
    serialized_name: 'TenantIdDescription',
    type: {
      name: 'Composite',
      class_name: 'TenantIdDescription',
      model_properties: {
        id: {
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          required: false,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end