Class: Dnsimple::Struct::Collaborator

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

#accepted_atString, NilClass

Returns When the collaborator has accepted the invitation.

Returns:

  • (String, NilClass)

    When the collaborator has accepted the invitation.



31
32
33
# File 'lib/dnsimple/struct/collaborator.rb', line 31

def accepted_at
  @accepted_at
end

#created_atString

Returns When the collaborator was created in DNSimple.

Returns:

  • (String)

    When the collaborator was created in DNSimple.



25
26
27
# File 'lib/dnsimple/struct/collaborator.rb', line 25

def created_at
  @created_at
end

#domain_idInteger

Returns The associated domain ID.

Returns:

  • (Integer)

    The associated domain ID.



10
11
12
# File 'lib/dnsimple/struct/collaborator.rb', line 10

def domain_id
  @domain_id
end

#domain_nameString

Returns The associated domain name.

Returns:

  • (String)

    The associated domain name.



13
14
15
# File 'lib/dnsimple/struct/collaborator.rb', line 13

def domain_name
  @domain_name
end

#idInteger

Returns The collaborator ID in DNSimple.

Returns:

  • (Integer)

    The collaborator ID in DNSimple.



7
8
9
# File 'lib/dnsimple/struct/collaborator.rb', line 7

def id
  @id
end

#invitationTrueClass, FalseClass

Returns Invitation.

Returns:

  • (TrueClass, FalseClass)

    Invitation



22
23
24
# File 'lib/dnsimple/struct/collaborator.rb', line 22

def invitation
  @invitation
end

#updated_atString

Returns When the collaborator was last updated in DNSimple.

Returns:

  • (String)

    When the collaborator was last updated in DNSimple.



28
29
30
# File 'lib/dnsimple/struct/collaborator.rb', line 28

def updated_at
  @updated_at
end

#user_emailString

Returns The user email.

Returns:

  • (String)

    The user email.



19
20
21
# File 'lib/dnsimple/struct/collaborator.rb', line 19

def user_email
  @user_email
end

#user_idInteger, NilClass

Returns The user ID, if the collaborator accepted the invitation.

Returns:

  • (Integer, NilClass)

    The user ID, if the collaborator accepted the invitation.



16
17
18
# File 'lib/dnsimple/struct/collaborator.rb', line 16

def user_id
  @user_id
end