Class: Azure::ARM::Dns::Models::TxtRecord

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_dns/models/txt_record.rb

Overview

A TXT record.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#valueArray<String>

Returns The text value of this TXT record.

Returns:

  • (Array<String>)

    The text value of this TXT record.



16
17
18
# File 'lib/generated/azure_mgmt_dns/models/txt_record.rb', line 16

def value
  @value
end

Class Method Details

.mapperObject

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



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/generated/azure_mgmt_dns/models/txt_record.rb', line 23

def self.mapper()
  {
    required: false,
    serialized_name: 'TxtRecord',
    type: {
      name: 'Composite',
      class_name: 'TxtRecord',
      model_properties: {
        value: {
          required: false,
          serialized_name: 'value',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end