Klasse UserPermission
java.lang.Object
io.github.primelib.jira4j.restv3.model.UserPermission
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UserPermission
extends Object
UserPermission
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic enum
The type of the permission.static class
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected Boolean
Indicate whether the permission key is deprecated.protected String
The description of the permission.protected Boolean
Whether the permission is available to the user in the queried context.protected String
The ID of the permission.protected String
The key of the permission.protected String
The name of the permission.protected UserPermission.TypeEnum
The type of the permission. -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
UserPermission
(Boolean deprecatedKey, String description, Boolean havePermission, String id, String key, String name, UserPermission.TypeEnum type) Constructs a validated instance ofUserPermission
.UserPermission
(Consumer<UserPermission> spec) Constructs a validated instance ofUserPermission
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()
protected boolean
Indicate whether the permission key is deprecated.deprecatedKey
(Boolean deprecatedKey) Indicate whether the permission key is deprecated.The description of the permission.description
(String description) The description of the permission.boolean
int
hashCode()
Whether the permission is available to the user in the queried context.havePermission
(Boolean havePermission) Whether the permission is available to the user in the queried context.id()
The ID of the permission.The ID of the permission.key()
The key of the permission.The key of the permission.name()
The name of the permission.The name of the permission.toString()
type()
The type of the permission.type
(UserPermission.TypeEnum type) The type of the permission.
-
Felddetails
-
deprecatedKey
Indicate whether the permission key is deprecated. Note that deprecated keys cannot be used in thepermissions parameter of Get my permissions. Deprecated keys are not returned by Get all permissions.
-
description
The description of the permission. -
havePermission
Whether the permission is available to the user in the queried context. -
id
The ID of the permission. Eitherid
orkey
must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions. -
key
The key of the permission. Eitherid
orkey
must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions. -
name
The name of the permission. -
type
The type of the permission.
-
-
Konstruktordetails
-
UserPermission
Constructs a validated instance ofUserPermission
.- Parameter:
spec
- the specification to process
-
UserPermission
@Internal public UserPermission(Boolean deprecatedKey, String description, Boolean havePermission, String id, String key, String name, UserPermission.TypeEnum type) Constructs a validated instance ofUserPermission
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
UserPermission(Consumer)
instead.- Parameter:
deprecatedKey
- Indicate whether the permission key is deprecated. Note that deprecated keys cannot be used in thepermissions parameter of Get my permissions. Deprecated keys are not returned by Get all permissions.
description
- The description of the permission.havePermission
- Whether the permission is available to the user in the queried context.id
- The ID of the permission. Eitherid
orkey
must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions.key
- The key of the permission. Eitherid
orkey
must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions.name
- The name of the permission.type
- The type of the permission.
-
UserPermission
protected UserPermission()
-
-
Methodendetails
-
builder
-
deprecatedKey
Indicate whether the permission key is deprecated. Note that deprecated keys cannot be used in thepermissions parameter of Get my permissions. Deprecated keys are not returned by Get all permissions.
-
description
The description of the permission. -
havePermission
Whether the permission is available to the user in the queried context. -
id
The ID of the permission. Eitherid
orkey
must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions. -
key
The key of the permission. Eitherid
orkey
must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions. -
name
The name of the permission. -
type
The type of the permission. -
deprecatedKey
Indicate whether the permission key is deprecated. Note that deprecated keys cannot be used in thepermissions parameter of Get my permissions. Deprecated keys are not returned by Get all permissions.
- Gibt zurück:
this
.
-
description
The description of the permission.- Gibt zurück:
this
.
-
havePermission
Whether the permission is available to the user in the queried context.- Gibt zurück:
this
.
-
id
The ID of the permission. Eitherid
orkey
must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions.- Gibt zurück:
this
.
-
key
The key of the permission. Eitherid
orkey
must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions.- Gibt zurück:
this
.
-
name
The name of the permission.- Gibt zurück:
this
.
-
type
The type of the permission.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-