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.



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

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.



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

def created_at
  @created_at
end

#domain_idInteger

Returns The associated domain ID.

Returns:

  • (Integer)

    The associated domain ID.



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

def domain_id
  @domain_id
end

#domain_nameString

Returns The associated domain name.

Returns:

  • (String)

    The associated domain name.



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

def domain_name
  @domain_name
end

#idInteger

Returns The collaborator ID in DNSimple.

Returns:

  • (Integer)

    The collaborator ID in DNSimple.



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

def id
  @id
end

#invitationTrueClass, FalseClass

Returns Invitation.

Returns:

  • (TrueClass, FalseClass)

    Invitation



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

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.



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

def updated_at
  @updated_at
end

#user_emailString

Returns The user email.

Returns:

  • (String)

    The user email.



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

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.



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

def user_id
  @user_id
end