Class: Dnsimple::Struct::Contact

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/contact.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

#account_idFixnum

Returns The associated account ID.

Returns:

  • (Fixnum)

    The associated account ID.



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

def 
  @account_id
end

#address1String

Returns The contact street address.

Returns:

  • (String)

    The contact street address.



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

def address1
  @address1
end

#address2String

Returns Apartment or suite number.

Returns:

  • (String)

    Apartment or suite number.



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

def address2
  @address2
end

#cityString

Returns The city name.

Returns:

  • (String)

    The city name.



33
34
35
# File 'lib/dnsimple/struct/contact.rb', line 33

def city
  @city
end

#countryString

Returns The contact country (as a 2-character country code).

Returns:

  • (String)

    The contact country (as a 2-character country code).



42
43
44
# File 'lib/dnsimple/struct/contact.rb', line 42

def country
  @country
end

#created_atString

Returns When the contact was created in DNSimple.

Returns:

  • (String)

    When the contact was created in DNSimple.



54
55
56
# File 'lib/dnsimple/struct/contact.rb', line 54

def created_at
  @created_at
end

#emailString Also known as: email_address

Returns The contact email address.

Returns:

  • (String)

    The contact email address.



51
52
53
# File 'lib/dnsimple/struct/contact.rb', line 51

def email
  @email
end

#faxString

Returns The contact fax number (may be omitted).

Returns:

  • (String)

    The contact fax number (may be omitted).



48
49
50
# File 'lib/dnsimple/struct/contact.rb', line 48

def fax
  @fax
end

#first_nameString

Returns The contact first name.

Returns:

  • (String)

    The contact first name.



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

def first_name
  @first_name
end

#idFixnum

Returns The contact ID in DNSimple.

Returns:

  • (Fixnum)

    The contact ID in DNSimple.



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

def id
  @id
end

#job_titleString

Returns The contact’s job title.

Returns:

  • (String)

    The contact’s job title.



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

def job_title
  @job_title
end

#labelString

Returns The label to represent the contact.

Returns:

  • (String)

    The label to represent the contact.



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

def label
  @label
end

#last_nameString

Returns The contact last name.

Returns:

  • (String)

    The contact last name.



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

def last_name
  @last_name
end

#organization_nameString

Returns The name of the organization in which the contact works.

Returns:

  • (String)

    The name of the organization in which the contact works.



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

def organization_name
  @organization_name
end

#phoneString

Returns The contact phone number.

Returns:

  • (String)

    The contact phone number.



45
46
47
# File 'lib/dnsimple/struct/contact.rb', line 45

def phone
  @phone
end

#postal_codeString

Returns The contact postal code.

Returns:

  • (String)

    The contact postal code.



39
40
41
# File 'lib/dnsimple/struct/contact.rb', line 39

def postal_code
  @postal_code
end

#state_provinceString

Returns The state or province name.

Returns:

  • (String)

    The state or province name.



36
37
38
# File 'lib/dnsimple/struct/contact.rb', line 36

def state_province
  @state_province
end

#updated_atString

Returns When the contact was last updated in DNSimple.

Returns:

  • (String)

    When the contact was last updated in DNSimple.



57
58
59
# File 'lib/dnsimple/struct/contact.rb', line 57

def updated_at
  @updated_at
end