Class GetProjectRoleOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetProjectRoleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetProjectRoleOperationSpec
extends Object
GetProjectRoleSpec
Specification for the GetProjectRole operation.
Get project role for project
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GetProjectRoleOperationSpec
(String projectIdOrKey, Long id, Boolean excludeInactiveUsers) Constructs a validated instance ofGetProjectRoleOperationSpec
.Constructs a validated instance ofGetProjectRoleOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable Boolean
Exclude inactive users.excludeInactiveUsers
(@Nullable Boolean excludeInactiveUsers) Exclude inactive users.int
hashCode()
@NotNull Long
id()
The ID of the project role.The ID of the project role.@NotNull String
The project ID or project key (case sensitive).projectIdOrKey
(@NotNull String projectIdOrKey) The project ID or project key (case sensitive).toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetProjectRoleOperationSpec
Constructs a validated instance ofGetProjectRoleOperationSpec
.- Parameters:
spec
- the specification to process
-
GetProjectRoleOperationSpec
@Internal public GetProjectRoleOperationSpec(String projectIdOrKey, Long id, Boolean excludeInactiveUsers) Constructs a validated instance ofGetProjectRoleOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
projectIdOrKey
- The project ID or project key (case sensitive).id
- The ID of the project role. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs.excludeInactiveUsers
- Exclude inactive users.
-
GetProjectRoleOperationSpec
protected GetProjectRoleOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
projectIdOrKey
The project ID or project key (case sensitive). -
id
The ID of the project role. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs. -
excludeInactiveUsers
Exclude inactive users. -
projectIdOrKey
The project ID or project key (case sensitive).- Returns:
this
.
-
id
The ID of the project role. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs.- Returns:
this
.
-
excludeInactiveUsers
public GetProjectRoleOperationSpec excludeInactiveUsers(@Nullable @Nullable Boolean excludeInactiveUsers) Exclude inactive users.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-