Class ProjectRole
java.lang.Object
io.github.primelib.jira4j.restv3.model.ProjectRole
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class ProjectRole
extends Object
ProjectRole
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected 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. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
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
. -
Method Summary
Modifier and TypeMethodDescription_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.
-
Field Details
-
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.
-
-
Constructor Details
-
ProjectRole
Constructs a validated instance ofProjectRole
.- Parameters:
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.- Parameters:
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
- scopeself
- The URL the project role details.translatedName
- The translated name of the project role.
-
ProjectRole
protected ProjectRole()
-
-
Method Details
-
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.- Returns:
this
.
-
admin
Whether this role is the admin role for the project.- Returns:
this
.
-
currentUserRole
Whether the calling user is part of this role.- Returns:
this
.
-
_default
Whether this role is the default role for the project- Returns:
this
.
-
description
The description of the project role.- Returns:
this
.
-
id
The ID of the project role.- Returns:
this
.
-
name
The name of the project role.- Returns:
this
.
-
roleConfigurable
Whether the roles are configurable for this project.- Returns:
this
.
-
scope
- Returns:
this
.
-
self
The URL the project role details.- Returns:
this
.
-
translatedName
The translated name of the project role.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-