Class: Dnsimple::Struct::DomainRegistration

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

#auto_renewBool

Returns True if the domain auto-renew was requested.

Returns:

  • (Bool)

    True if the domain auto-renew was requested.



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

def auto_renew
  @auto_renew
end

#created_atString

Returns When the domain renewal was created in DNSimple.

Returns:

  • (String)

    When the domain renewal was created in DNSimple.



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

def created_at
  @created_at
end

#domain_idInteger

Returns The associated domain ID.

Returns:

  • (Integer)

    The associated domain ID.



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

def domain_id
  @domain_id
end

#idInteger

Returns The domain registration ID in DNSimple.

Returns:

  • (Integer)

    The domain registration ID in DNSimple.



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

def id
  @id
end

#periodInteger

Returns The number of years the domain was registered for.

Returns:

  • (Integer)

    The number of years the domain was registered for.



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

def period
  @period
end

#premium_priceString

Returns The premium price requested for the registration.

Returns:

  • (String)

    The premium price requested for the registration.



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

def premium_price
  @premium_price
end

#registrant_idInteger

Returns The associated registrant (contact) ID.

Returns:

  • (Integer)

    The associated registrant (contact) ID.



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

def registrant_id
  @registrant_id
end

#stateString

Returns The state of the renewal.

Returns:

  • (String)

    The state of the renewal.



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

def state
  @state
end

#updated_atString

Returns When the domain renewal was last updated in DNSimple.

Returns:

  • (String)

    When the domain renewal was last updated in DNSimple.



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

def updated_at
  @updated_at
end

#whois_privacyBool

Returns True if the domain WHOIS privacy was requested.

Returns:

  • (Bool)

    True if the domain WHOIS privacy was requested.



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

def whois_privacy
  @whois_privacy
end