Class: Azure::ARM::Dns::Models::SoaRecord

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

Overview

An SOA record.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#emailString

Returns The email contact for this SOA record.

Returns:

  • (String)

    The email contact for this SOA record.



20
21
22
# File 'lib/generated/azure_mgmt_dns/models/soa_record.rb', line 20

def email
  @email
end

#expire_timeInteger

Returns The expire time for this SOA record.

Returns:

  • (Integer)

    The expire time for this SOA record.



32
33
34
# File 'lib/generated/azure_mgmt_dns/models/soa_record.rb', line 32

def expire_time
  @expire_time
end

#hostString

this SOA record.

Returns:

  • (String)

    The domain name of the authoritative name server for



17
18
19
# File 'lib/generated/azure_mgmt_dns/models/soa_record.rb', line 17

def host
  @host
end

#minimum_ttlInteger

this is used to determine the negative caching duration.

Returns:

  • (Integer)

    The minimum value for this SOA record. By convention



36
37
38
# File 'lib/generated/azure_mgmt_dns/models/soa_record.rb', line 36

def minimum_ttl
  @minimum_ttl
end

#refresh_timeInteger

Returns The refresh value for this SOA record.

Returns:

  • (Integer)

    The refresh value for this SOA record.



26
27
28
# File 'lib/generated/azure_mgmt_dns/models/soa_record.rb', line 26

def refresh_time
  @refresh_time
end

#retry_timeInteger

Returns The retry time for this SOA record.

Returns:

  • (Integer)

    The retry time for this SOA record.



29
30
31
# File 'lib/generated/azure_mgmt_dns/models/soa_record.rb', line 29

def retry_time
  @retry_time
end

#serial_numberInteger

Returns The serial number for this SOA record.

Returns:

  • (Integer)

    The serial number for this SOA record.



23
24
25
# File 'lib/generated/azure_mgmt_dns/models/soa_record.rb', line 23

def serial_number
  @serial_number
end

Class Method Details

.mapperObject

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



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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# File 'lib/generated/azure_mgmt_dns/models/soa_record.rb', line 43

def self.mapper()
  {
    required: false,
    serialized_name: 'SoaRecord',
    type: {
      name: 'Composite',
      class_name: 'SoaRecord',
      model_properties: {
        host: {
          required: false,
          serialized_name: 'host',
          type: {
            name: 'String'
          }
        },
        email: {
          required: false,
          serialized_name: 'email',
          type: {
            name: 'String'
          }
        },
        serial_number: {
          required: false,
          serialized_name: 'serialNumber',
          type: {
            name: 'Number'
          }
        },
        refresh_time: {
          required: false,
          serialized_name: 'refreshTime',
          type: {
            name: 'Number'
          }
        },
        retry_time: {
          required: false,
          serialized_name: 'retryTime',
          type: {
            name: 'Number'
          }
        },
        expire_time: {
          required: false,
          serialized_name: 'expireTime',
          type: {
            name: 'Number'
          }
        },
        minimum_ttl: {
          required: false,
          serialized_name: 'minimumTTL',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end