Class: Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomainAgreementOption

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb

Overview

Options for retrieving the list of top level domain legal agreements.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#for_transferBoolean

will include agreements for domain transfer as well; otherwise, false.

Returns:

  • (Boolean)

    If true, then the list of agreements



23
24
25
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb', line 23

def for_transfer
  @for_transfer
end

#include_privacyBoolean

will include agreements for domain privacy as well; otherwise, false.

Returns:

  • (Boolean)

    If true, then the list of agreements



18
19
20
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb', line 18

def include_privacy
  @include_privacy
end

Class Method Details

.mapperObject

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



30
31
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
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TopLevelDomainAgreementOption',
    type: {
      name: 'Composite',
      class_name: 'TopLevelDomainAgreementOption',
      model_properties: {
        include_privacy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'includePrivacy',
          type: {
            name: 'Boolean'
          }
        },
        for_transfer: {
          client_side_validation: true,
          required: false,
          serialized_name: 'forTransfer',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end