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.



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

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.



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

def created_at
  @created_at
end

#idInteger

Returns The template record ID in DNSimple.

Returns:

  • (Integer)

    The template record ID in DNSimple.



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

def id
  @id
end

#nameString

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

Returns:

  • (String)

    The template record name (without the domain name).



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

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.



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

def priority
  @priority
end

#template_idInteger

Returns The template ID in DNSimple.

Returns:

  • (Integer)

    The template ID in DNSimple.



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

def template_id
  @template_id
end

#ttlInteger

Returns The template record TTL value.

Returns:

  • (Integer)

    The template record TTL value.



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

def ttl
  @ttl
end

#typeString

Returns The type of template record, in uppercase.

Returns:

  • (String)

    The type of template record, in uppercase.



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

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.



32
33
34
# File 'lib/dnsimple/struct/template_record.rb', line 32

def updated_at
  @updated_at
end