Klasse ProjectRole
java.lang.Object
io.github.primelib.jira4j.restv2.model.ProjectRole
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class ProjectRole
extends Object
ProjectRole
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected Boolean
Whether this role is the default role for the projectThe list of users who act in this role.protected Boolean
Whether this role is the admin role for the project.protected Boolean
Whether the calling user is part of this role.protected String
The description of the project role.protected Long
The ID of the project role.protected String
The name of the project role.protected Boolean
Whether the roles are configurable for this project.protected ProjectRoleScope
protected URI
The URL the project role details.protected String
The translated name of the project role. -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
ProjectRole
(Consumer<ProjectRole> spec) Constructs a validated instance ofProjectRole
.ProjectRole
(List<RoleActor> actors, Boolean admin, Boolean currentUserRole, Boolean _default, String description, Long id, String name, Boolean roleConfigurable, ProjectRoleScope scope, URI self, String translatedName) Constructs a validated instance ofProjectRole
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung_default()
Whether this role is the default role for the projectWhether this role is the default role for the projectactors()
The list of users who act in this role.The list of users who act in this role.admin()
Whether this role is the admin role for the project.Whether this role is the admin role for the project.builder()
protected boolean
Whether the calling user is part of this role.currentUserRole
(Boolean currentUserRole) Whether the calling user is part of this role.The description of the project role.description
(String description) The description of the project role.boolean
int
hashCode()
id()
The ID of the project role.The ID of the project role.name()
The name of the project role.The name of the project role.Whether the roles are configurable for this project.roleConfigurable
(Boolean roleConfigurable) Whether the roles are configurable for this project.scope()
scope
(ProjectRoleScope scope) self()
The URL the project role details.The URL the project role details.toString()
The translated name of the project role.translatedName
(String translatedName) The translated name of the project role.
-
Felddetails
-
actors
The list of users who act in this role. -
admin
Whether this role is the admin role for the project. -
currentUserRole
Whether the calling user is part of this role. -
_default
Whether this role is the default role for the project -
description
The description of the project role. -
id
The ID of the project role. -
name
The name of the project role. -
roleConfigurable
Whether the roles are configurable for this project. -
scope
-
self
The URL the project role details. -
translatedName
The translated name of the project role.
-
-
Konstruktordetails
-
ProjectRole
Constructs a validated instance ofProjectRole
.- Parameter:
spec
- the specification to process
-
ProjectRole
@Internal public ProjectRole(List<RoleActor> actors, Boolean admin, Boolean currentUserRole, Boolean _default, String description, Long id, String name, Boolean roleConfigurable, ProjectRoleScope scope, URI self, String translatedName) Constructs a validated instance ofProjectRole
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ProjectRole(Consumer)
instead.- Parameter:
actors
- The list of users who act in this role.admin
- Whether this role is the admin role for the project.currentUserRole
- Whether the calling user is part of this role._default
- Whether this role is the default role for the projectdescription
- The description of the project role.id
- The ID of the project role.name
- The name of the project role.roleConfigurable
- Whether the roles are configurable for this project.scope
- var.nameself
- The URL the project role details.translatedName
- The translated name of the project role.
-
ProjectRole
protected ProjectRole()
-
-
Methodendetails
-
builder
-
actors
The list of users who act in this role. -
admin
Whether this role is the admin role for the project. -
currentUserRole
Whether the calling user is part of this role. -
_default
Whether this role is the default role for the project -
description
The description of the project role. -
id
The ID of the project role. -
name
The name of the project role. -
roleConfigurable
Whether the roles are configurable for this project. -
scope
-
self
The URL the project role details. -
translatedName
The translated name of the project role. -
actors
The list of users who act in this role.- Gibt zurück:
this
.
-
admin
Whether this role is the admin role for the project.- Gibt zurück:
this
.
-
currentUserRole
Whether the calling user is part of this role.- Gibt zurück:
this
.
-
_default
Whether this role is the default role for the project- Gibt zurück:
this
.
-
description
The description of the project role.- Gibt zurück:
this
.
-
id
The ID of the project role.- Gibt zurück:
this
.
-
name
The name of the project role.- Gibt zurück:
this
.
-
roleConfigurable
Whether the roles are configurable for this project.- Gibt zurück:
this
.
-
scope
- Gibt zurück:
this
.
-
self
The URL the project role details.- Gibt zurück:
this
.
-
translatedName
The translated name of the project role.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-