public class GroupUser extends Object implements ModelInterface
| Modifier and Type | Field and Description |
|---|---|
Boolean |
admin
Is this user an administrator of this group?
|
Long |
groupId
Group ID
|
String |
groupName
Group name
|
Long |
id
Group User ID.
|
Long |
userId
User ID
|
String |
usernames
Comma-delimited list of usernames who belong to this group (separated by commas).
|
| Constructor and Description |
|---|
GroupUser() |
GroupUser(HashMap<String,Object> parameters) |
GroupUser(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
static ListIterator<GroupUser> |
all() |
static ListIterator<GroupUser> |
all(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static GroupUser |
create(HashMap<String,Object> parameters)
Parameters:
group_id (required) - int64 - Group ID to add user to.
|
static GroupUser |
create(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
delete()
Parameters:
group_id (required) - int64 - Group ID from which to remove user.
|
static void |
delete(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
delete(Long id,
HashMap<String,Object> parameters)
Parameters:
group_id (required) - int64 - Group ID from which to remove user.
|
static void |
delete(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
destroy() |
void |
destroy(HashMap<String,Object> parameters) |
static void |
destroy(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ListIterator<GroupUser> |
list()
Parameters:
user_id - int64 - User ID.
|
static ListIterator<GroupUser> |
list(HashMap<String,Object> parameters) |
static ListIterator<GroupUser> |
list(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
save() |
GroupUser |
update()
Parameters:
group_id (required) - int64 - Group ID to add user to.
|
static GroupUser |
update(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static GroupUser |
update(Long id,
HashMap<String,Object> parameters)
Parameters:
group_id (required) - int64 - Group ID to add user to.
|
static GroupUser |
update(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOptionspublic String groupName
public Long groupId
public Long userId
public Boolean admin
public String usernames
public Long id
public GroupUser update() throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic void destroy(HashMap<String,Object> parameters) throws IOException
IOExceptionpublic void save()
throws IOException
IOExceptionpublic static ListIterator<GroupUser> list() throws RuntimeException
RuntimeExceptionpublic static ListIterator<GroupUser> list(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ListIterator<GroupUser> list(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ListIterator<GroupUser> all() throws RuntimeException
RuntimeExceptionpublic static ListIterator<GroupUser> all(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static GroupUser create(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static GroupUser create(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static GroupUser update(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static GroupUser update(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static GroupUser update(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static void delete(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void destroy()
throws RuntimeException
RuntimeExceptionpublic static void destroy(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionCopyright © 2024 com.github.files-com. All rights reserved.