public class

GroupBean

extends GroupJsonBean
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.rest.json.beans.GroupJsonBean
     ↳ com.atlassian.jira.rest.v2.issue.GroupBean

Class Overview

A representation of Group for the GroupResource (contains additional expand users parameter)

Summary

Fields
public static final GroupBean DOC_EXAMPLE_WITH_USERS
[Expand]
Inherited Fields
From class com.atlassian.jira.issue.fields.rest.json.beans.GroupJsonBean
Public Constructors
GroupBean()
GroupBean(String name, URI self, PagedListWrapper<UserJsonBeanApplicationUser> users)
Creates a new GroupBean for the group with the given name, self URI and users list.
Public Methods
PagedListWrapper<UserJsonBeanApplicationUser> getUsers()
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.fields.rest.json.beans.GroupJsonBean
From class java.lang.Object

Fields

public static final GroupBean DOC_EXAMPLE_WITH_USERS

Public Constructors

public GroupBean ()

public GroupBean (String name, URI self, PagedListWrapper<UserJsonBeanApplicationUser> users)

Creates a new GroupBean for the group with the given name, self URI and users list.

Parameters
name a String containing the group name
self an REST Resource URI for that group
users a list of active users that're in this group. This is optional parameter and there can be null passed (to avoid recursion when getting an user with associated groups).

Public Methods