Class: BrickFTP::Types::GroupMembership

Inherits:
Struct
  • Object
show all
Includes:
IgnoreUndefinedAttributes
Defined in:
lib/brick_ftp/types/group_membership.rb

Overview

membership object

ATTRIBUTE TYPE DESCRIPTION
id integer Globally unique identifier for the membership.
group_id integer ID of the group the membership is associated with.
user_id integer ID of the user the membership is associated with.
admin boolean Indicates whether the user is an administrator of the group.

See Also:

Instance Attribute Summary collapse

Method Summary

Methods included from IgnoreUndefinedAttributes

#initialize

Instance Attribute Details

#adminObject

Returns the value of attribute admin

Returns:

  • (Object)

    the current value of admin



18
19
20
# File 'lib/brick_ftp/types/group_membership.rb', line 18

def admin
  @admin
end

#group_idObject

Returns the value of attribute group_id

Returns:

  • (Object)

    the current value of group_id



18
19
20
# File 'lib/brick_ftp/types/group_membership.rb', line 18

def group_id
  @group_id
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



18
19
20
# File 'lib/brick_ftp/types/group_membership.rb', line 18

def id
  @id
end

#user_idObject

Returns the value of attribute user_id

Returns:

  • (Object)

    the current value of user_id



18
19
20
# File 'lib/brick_ftp/types/group_membership.rb', line 18

def user_id
  @user_id
end