Package gitlab3 :: Class GitLab :: Class Group
[hide private]
[frames] | no frames]

Class Group

A project group. See http://github.com/gitlabhq/gitlabhq/blob/master/doc/api/groups.md

Nested Classes [hide private]
  Member
A group member.
Instance Methods [hide private]
 
delete()
Delete this Group
 
transfer_project(project_id)
Transfer a project to this group namespace.
 
members(limit=None, page=None, per_page=None)
Return a list of Group members.
 
find_member(find_all=False, cached=None, **kwargs)
Find the first matching Member whose properties match all of the key, value pairs given in the arguments.
 
add_member(user_id, access_level)
Add a new member to this Group
 
delete_member(member)
Equivalent to member.delete()
Method Details [hide private]

members(limit=None, page=None, per_page=None)

 

Return a list of Group members.

limit can be given to specify the maximum list size.

page and per_page can be used for pagination.

limit should not be specified with either page or per_page. If it is, limit takes precedence.

find_member(find_all=False, cached=None, **kwargs)

 

Find the first matching Member whose properties match all of the key, value pairs given in the arguments.

If find_all is true, a list of all matching members will be returned. If a cached list is not given, the list to search will be queried from the server each time this is called.

Searching is done via an unoptimized, inefficient o(n) search.

All arguments must be named.

add_member(user_id, access_level)

 

Add a new member to this Group

On success, the newly created object is returned.