Class: Azure::Web::Mgmt::V2016_06_01::Models::ConfirmConsentCodeDefinition
- Inherits:
-
Object
- Object
- Azure::Web::Mgmt::V2016_06_01::Models::ConfirmConsentCodeDefinition
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-06-01/generated/azure_mgmt_web/models/confirm_consent_code_definition.rb
Overview
Confirm consent code request
Instance Attribute Summary collapse
-
#code ⇒ String
Code that was returned during consent flow.
-
#object_id ⇒ String
AAD object ID.
-
#tenant_id ⇒ String
Tenant Id.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConfirmConsentCodeDefinition class as Ruby Hash.
Instance Attribute Details
#code ⇒ String
Returns Code that was returned during consent flow.
22 23 24 |
# File 'lib/2016-06-01/generated/azure_mgmt_web/models/confirm_consent_code_definition.rb', line 22 def code @code end |
#object_id ⇒ String
Returns AAD object ID. This is userId.
19 20 21 |
# File 'lib/2016-06-01/generated/azure_mgmt_web/models/confirm_consent_code_definition.rb', line 19 def object_id @object_id end |
#tenant_id ⇒ String
Returns Tenant Id.
16 17 18 |
# File 'lib/2016-06-01/generated/azure_mgmt_web/models/confirm_consent_code_definition.rb', line 16 def tenant_id @tenant_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ConfirmConsentCodeDefinition class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 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 |
# File 'lib/2016-06-01/generated/azure_mgmt_web/models/confirm_consent_code_definition.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ConfirmConsentCodeDefinition', type: { name: 'Composite', class_name: 'ConfirmConsentCodeDefinition', model_properties: { tenant_id: { client_side_validation: true, required: false, serialized_name: 'tenantId', type: { name: 'String' } }, object_id: { client_side_validation: true, required: false, serialized_name: 'objectId', type: { name: 'String' } }, code: { client_side_validation: true, required: false, serialized_name: 'code', type: { name: 'String' } } } } } end |