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

#contentObject

Returns the value of attribute content.



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

def content
  @content
end

#created_atObject

Returns the value of attribute created_at.



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

def created_at
  @created_at
end

#dns_template_idObject Also known as: template_id

Returns the value of attribute dns_template_id.



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

def dns_template_id
  @dns_template_id
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#priorityObject Also known as: prio

Returns the value of attribute priority.



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

def priority
  @priority
end

#ttlObject

Returns the value of attribute ttl.



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

def ttl
  @ttl
end

#typeObject Also known as: record_type

Returns the value of attribute type.



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

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



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

def updated_at
  @updated_at
end