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_idInteger

Returns The associated account ID.

Returns:

  • (Integer)

    The associated account ID.


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

def 
  @account_id
end

#address1String

Returns The contact street address.

Returns:

  • (String)

    The contact street address.


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

def address1
  @address1
end

#address2String

Returns Apartment or suite number.

Returns:

  • (String)

    Apartment or suite number.


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

def address2
  @address2
end

#cityString

Returns The city name.

Returns:

  • (String)

    The city name.


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

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).


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

def country
  @country
end

#created_atString

Returns When the contact was created in DNSimple.

Returns:

  • (String)

    When the contact was created in DNSimple.


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

def created_at
  @created_at
end

#emailString

Returns The contact email address.

Returns:

  • (String)

    The contact email address.


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

def email
  @email
end

#faxString

Returns The contact fax number (may be omitted).

Returns:

  • (String)

    The contact fax number (may be omitted).


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

def fax
  @fax
end

#first_nameString

Returns The contact first name.

Returns:

  • (String)

    The contact first name.


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

def first_name
  @first_name
end

#idInteger

Returns The contact ID in DNSimple.

Returns:

  • (Integer)

    The contact ID in DNSimple.


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

def id
  @id
end

#job_titleString

Returns The contact's job title.

Returns:

  • (String)

    The contact's job title.


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

def job_title
  @job_title
end

#labelString

Returns The label to represent the contact.

Returns:

  • (String)

    The label to represent the contact.


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

def label
  @label
end

#last_nameString

Returns The contact last name.

Returns:

  • (String)

    The contact last name.


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

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.


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

def organization_name
  @organization_name
end

#phoneString

Returns The contact phone number.

Returns:

  • (String)

    The contact phone number.


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

def phone
  @phone
end

#postal_codeString

Returns The contact postal code.

Returns:

  • (String)

    The contact postal code.


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

def postal_code
  @postal_code
end

#state_provinceString

Returns The state or province name.

Returns:

  • (String)

    The state or province name.


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

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.


59
60
61
# File 'lib/dnsimple/struct/contact.rb', line 59

def updated_at
  @updated_at
end