Class: Azure::Web::Mgmt::V2016_06_01::Models::ConfirmConsentCodeDefinition

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#codeString

Returns Code that was returned during consent flow.

Returns:

  • (String)

    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_idString

Returns AAD object ID. This is userId.

Returns:

  • (String)

    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_idString

Returns Tenant Id.

Returns:

  • (String)

    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

.mapperObject

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