Class: Dnsimple::Struct::TemplateRecord

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/template_record.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dnsimple::Struct::Base

Instance Attribute Details

#contentString

Returns The plain-text template record content.

Returns:

  • (String)

    The plain-text template record content.



18
19
20
# File 'lib/dnsimple/struct/template_record.rb', line 18

def content
  @content
end

#created_atString

Returns When the template record was created in DNSimple.

Returns:

  • (String)

    When the template record was created in DNSimple.



27
28
29
# File 'lib/dnsimple/struct/template_record.rb', line 27

def created_at
  @created_at
end

#idInteger

Returns The template record ID in DNSimple.

Returns:

  • (Integer)

    The template record ID in DNSimple.



6
7
8
# File 'lib/dnsimple/struct/template_record.rb', line 6

def id
  @id
end

#nameString

Returns The template record name (without the domain name).

Returns:

  • (String)

    The template record name (without the domain name).



15
16
17
# File 'lib/dnsimple/struct/template_record.rb', line 15

def name
  @name
end

#priorityInteger

Returns The priority value, if the type of template record accepts a priority.

Returns:

  • (Integer)

    The priority value, if the type of template record accepts a priority.



24
25
26
# File 'lib/dnsimple/struct/template_record.rb', line 24

def priority
  @priority
end

#template_idInteger

Returns The template ID in DNSimple.

Returns:

  • (Integer)

    The template ID in DNSimple.



9
10
11
# File 'lib/dnsimple/struct/template_record.rb', line 9

def template_id
  @template_id
end

#ttlInteger

Returns The template record TTL value.

Returns:

  • (Integer)

    The template record TTL value.



21
22
23
# File 'lib/dnsimple/struct/template_record.rb', line 21

def ttl
  @ttl
end

#typeString

Returns The type of template record, in uppercase.

Returns:

  • (String)

    The type of template record, in uppercase.



12
13
14
# File 'lib/dnsimple/struct/template_record.rb', line 12

def type
  @type
end

#updated_atString

Returns When the template record was last updated in DNSimple.

Returns:

  • (String)

    When the template record was last updated in DNSimple.



30
31
32
# File 'lib/dnsimple/struct/template_record.rb', line 30

def updated_at
  @updated_at
end