Class: Azure::ARM::Web::Models::DomainPurchaseConsent
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::DomainPurchaseConsent
- 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
-
#agreed_at ⇒ DateTime
Timestamp when the agreements were accepted.
-
#agreed_by ⇒ String
Client IP address.
-
#agreement_keys ⇒ Array<String>
list can be retrieved using ListLegalAgreements API under
TopLevelDomain
resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DomainPurchaseConsent class as Ruby Hash.
Instance Attribute Details
#agreed_at ⇒ DateTime
Returns 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_by ⇒ String
Returns 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_keys ⇒ Array<String>
list can be retrieved using ListLegalAgreements API under TopLevelDomain
resource.
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
.mapper ⇒ Object
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 |