Class: Dnsimple::Struct::WhoisPrivacy

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



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

def created_at
  @created_at
end

#domain_idInteger

Returns The associated domain ID.

Returns:

  • (Integer)

    The associated domain ID.



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

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.



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

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.



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

def expires_on
  @expires_on
end

#updated_atString

Returns When the whois privacy was last updated in DNSimple.

Returns:

  • (String)

    When the whois privacy was last updated in DNSimple.



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

def updated_at
  @updated_at
end