Class ProjectRoleDetails
java.lang.Object
io.github.primelib.jira4j.restv2.model.ProjectRoleDetails
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class ProjectRoleDetails
extends Object
ProjectRoleDetails
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Boolean
Whether this role is the default role for the project.protected Boolean
Whether this role is the admin role for the project.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
ProjectRoleDetails
(Boolean admin, Boolean _default, String description, Long id, String name, Boolean roleConfigurable, ProjectRoleScope scope, URI self, String translatedName) Constructs a validated instance ofProjectRoleDetails
.Constructs a validated instance ofProjectRoleDetails
. -
Method Summary
Modifier and TypeMethodDescription_default()
Whether this role is the default role for the project.Whether this role is the default role for the project.admin()
Whether this role is the admin role for the project.Whether this role is the admin role for the project.builder()
protected boolean
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
-
admin
Whether this role is the admin role for the project. -
_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
-
ProjectRoleDetails
Constructs a validated instance ofProjectRoleDetails
.- Parameters:
spec
- the specification to process
-
ProjectRoleDetails
@Internal public ProjectRoleDetails(Boolean admin, Boolean _default, String description, Long id, String name, Boolean roleConfigurable, ProjectRoleScope scope, URI self, String translatedName) Constructs a validated instance ofProjectRoleDetails
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ProjectRoleDetails(Consumer)
instead.- Parameters:
admin
- Whether this role is the admin role for the project._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
- scopeself
- The URL the project role details.translatedName
- The translated name of the project role.
-
ProjectRoleDetails
protected ProjectRoleDetails()
-
-
Method Details
-
builder
-
admin
Whether this role is the admin role for the project. -
_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. -
admin
Whether this role is the admin role for the project.- 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
-