class Azure::Web::Mgmt::V2016_06_01::Models::ConfirmConsentCodeDefinition

Confirm consent code request

Attributes

code[RW]

@return [String] Code that was returned during consent flow

object_id[RW]

@return [String] AAD object ID. This is userId

tenant_id[RW]

@return [String] Tenant Id

Public Class Methods

mapper() click to toggle source

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

# 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