public class

UserPermissionJsonBean

extends PermissionJsonBean
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.rest.json.beans.PermissionJsonBean
     ↳ com.atlassian.jira.rest.v2.permission.PermissionJsonBean
       ↳ com.atlassian.jira.rest.v2.permission.UserPermissionJsonBean

Class Overview

Represents one permission and whether the caller has it

Summary

Fields
public Boolean deprecatedKey
public boolean havePermission
[Expand]
Inherited Fields
From class com.atlassian.jira.rest.v2.permission.PermissionJsonBean
Public Constructors
UserPermissionJsonBean()
UserPermissionJsonBean(GlobalPermissionType globalPermissionType, boolean havePermission, JiraAuthenticationContext authenticationContext)
Construct a bean using a Global Permission - rather than the Permission enum
UserPermissionJsonBean(ProjectPermission permission, boolean havePermission, JiraAuthenticationContext authenticationContext)
Construct a bean using a Project Permission
UserPermissionJsonBean(Permissions.Permission permission, boolean havePermission, JiraAuthenticationContext authenticationContext)
UserPermissionJsonBean(ProjectPermissionKey permissionKey, String name, String description, boolean havePermission)
Public Methods
String toString()
[Expand]
Inherited Methods
From class com.atlassian.jira.rest.v2.permission.PermissionJsonBean
From class com.atlassian.jira.issue.fields.rest.json.beans.PermissionJsonBean
From class java.lang.Object

Fields

public Boolean deprecatedKey

public boolean havePermission

Public Constructors

public UserPermissionJsonBean ()

public UserPermissionJsonBean (GlobalPermissionType globalPermissionType, boolean havePermission, JiraAuthenticationContext authenticationContext)

Construct a bean using a Global Permission - rather than the Permission enum

public UserPermissionJsonBean (ProjectPermission permission, boolean havePermission, JiraAuthenticationContext authenticationContext)

Construct a bean using a Project Permission

public UserPermissionJsonBean (Permissions.Permission permission, boolean havePermission, JiraAuthenticationContext authenticationContext)

public UserPermissionJsonBean (ProjectPermissionKey permissionKey, String name, String description, boolean havePermission)

Public Methods

public String toString ()