Class: Dnsimple::Struct::WhoisPrivacyRenewal

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

#created_atString

Returns When the WHOIS Privacy was created in DNSimple.

Returns:

  • (String)

    When the WHOIS Privacy was created in DNSimple.



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

def created_at
  @created_at
end

#domain_idInteger

Returns The associated domain ID.

Returns:

  • (Integer)

    The associated domain ID.



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

def domain_id
  @domain_id
end

#enabledBoolean

Returns Whether the WHOIS Privacy is enabled for the domain.

Returns:

  • (Boolean)

    Whether the WHOIS Privacy is enabled for the domain.



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

def enabled
  @enabled
end

#expires_onString

Returns The date the WHOIS Privacy will expire on.

Returns:

  • (String)

    The date the WHOIS Privacy will expire on.



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

def expires_on
  @expires_on
end

#stateString

Returns The WHOIS Privacy order state.

Returns:

  • (String)

    The WHOIS Privacy order state.



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

def state
  @state
end

#updated_atString

Returns When the WHOIS Privacy was last updated in DNSimple.

Returns:

  • (String)

    When the WHOIS Privacy was last updated in DNSimple.



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

def updated_at
  @updated_at
end

#whois_privacy_idInteger

Returns The associated WHOIS Privacy ID.

Returns:

  • (Integer)

    The associated WHOIS Privacy ID.



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

def whois_privacy_id
  @whois_privacy_id
end