Class: Azure::ARM::Web::Models::DomainPurchaseConsent
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::DomainPurchaseConsent
- Includes:
- 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.
25 26 27 |
# File 'lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb', line 25 def agreed_at @agreed_at end |
#agreed_by ⇒ String
Returns Client IP address.
22 23 24 |
# File 'lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb', line 22 def agreed_by @agreed_by end |
#agreement_keys ⇒ Array<String>
list can be retrieved using ListLegalAgreements Api under TopLevelDomain resource
19 20 21 |
# File 'lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb', line 19 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.
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 66 67 68 69 70 71 |
# File 'lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb', line 32 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 |