Class: Azure::ApiManagement::Mgmt::V2016_07_07::Models::AccessInformationContract

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-07-07/generated/azure_mgmt_api_management/models/access_information_contract.rb

Overview

Tenant access information contract of the API Management service.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#enabledBoolean

service.

Returns:

  • (Boolean)

    Tenant access information of the API Management



26
27
28
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/access_information_contract.rb', line 26

def enabled
  @enabled
end

#idString

Returns Identifier.

Returns:

  • (String)

    Identifier.



16
17
18
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/access_information_contract.rb', line 16

def id
  @id
end

#primary_keyString

Returns Primary access key.

Returns:

  • (String)

    Primary access key.



19
20
21
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/access_information_contract.rb', line 19

def primary_key
  @primary_key
end

#secondary_keyString

Returns Secondary access key.

Returns:

  • (String)

    Secondary access key.



22
23
24
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/access_information_contract.rb', line 22

def secondary_key
  @secondary_key
end

Class Method Details

.mapperObject

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



33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/access_information_contract.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AccessInformationContract',
    type: {
      name: 'Composite',
      class_name: 'AccessInformationContract',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        primary_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'primaryKey',
          type: {
            name: 'String'
          }
        },
        secondary_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'secondaryKey',
          type: {
            name: 'String'
          }
        },
        enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enabled',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end