Class: Azure::ARM::Web::Models::DomainPurchaseConsent

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#agreed_atDateTime

Returns Timestamp when the agreements were accepted.

Returns:

  • (DateTime)

    Timestamp when the agreements were accepted.



26
27
28
# File 'lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb', line 26

def agreed_at
  @agreed_at
end

#agreed_byString

Returns Client IP address.

Returns:

  • (String)

    Client IP address.



23
24
25
# File 'lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb', line 23

def agreed_by
  @agreed_by
end

#agreement_keysArray<String>

list can be retrieved using ListLegalAgreements API under TopLevelDomain resource.

Returns:

  • (Array<String>)

    List of applicable legal agreement keys. This



20
21
22
# File 'lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb', line 20

def agreement_keys
  @agreement_keys
end

Class Method Details

.mapperObject

Mapper for DomainPurchaseConsent 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
# File 'lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb', line 33

def self.mapper()
  {
    required: false,
    serialized_name: 'DomainPurchaseConsent',
    type: {
      name: 'Composite',
      class_name: 'DomainPurchaseConsent',
      model_properties: {
        agreement_keys: {
          required: false,
          serialized_name: 'agreementKeys',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        agreed_by: {
          required: false,
          serialized_name: 'agreedBy',
          type: {
            name: 'String'
          }
        },
        agreed_at: {
          required: false,
          serialized_name: 'agreedAt',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end