Class: Azure::ApiManagement::Mgmt::V2016_07_07::Models::AccessInformationContract
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2016_07_07::Models::AccessInformationContract
- 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
-
#enabled ⇒ Boolean
service.
-
#id ⇒ String
Identifier.
-
#primary_key ⇒ String
Primary access key.
-
#secondary_key ⇒ String
Secondary access key.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AccessInformationContract class as Ruby Hash.
Instance Attribute Details
#enabled ⇒ Boolean
service.
26 27 28 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/access_information_contract.rb', line 26 def enabled @enabled end |
#id ⇒ String
Returns 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_key ⇒ String
Returns 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_key ⇒ String
Returns 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
.mapper ⇒ Object
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 |