class Azure::Web::Mgmt::V2015_04_01::Models::DomainPurchaseConsent

Domain purchase consent object, representing acceptance of applicable legal agreements.

Attributes

agreed_at[RW]

@return [DateTime] Timestamp when the agreements were accepted.

agreed_by[RW]

@return [String] Client IP address.

agreement_keys[RW]

@return [Array<String>] List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under TopLevelDomain resource.

Public Class Methods

mapper() click to toggle source

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

# File lib/2015-04-01/generated/azure_mgmt_web/models/domain_purchase_consent.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DomainPurchaseConsent',
    type: {
      name: 'Composite',
      class_name: 'DomainPurchaseConsent',
      model_properties: {
        agreement_keys: {
          client_side_validation: true,
          required: false,
          serialized_name: 'agreementKeys',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        agreed_by: {
          client_side_validation: true,
          required: false,
          serialized_name: 'agreedBy',
          type: {
            name: 'String'
          }
        },
        agreed_at: {
          client_side_validation: true,
          required: false,
          serialized_name: 'agreedAt',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end