Class AddActorUsersOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.AddActorUsersOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AddActorUsersOperationSpec
extends Object
AddActorUsersSpec
Specification for the AddActorUsers operation.
Add actors to project role
-
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
AddActorUsersOperationSpec
(String projectIdOrKey, Long id, ActorsMap actorsMap) Constructs a validated instance ofAddActorUsersOperationSpec
.Constructs a validated instance ofAddActorUsersOperationSpec
. -
Method Summary
Modifier and TypeMethodDescription@NotNull ActorsMap
The groups or users to associate with the project role for this project.The groups or users to associate with the project role for this project.builder()
protected boolean
boolean
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
-
AddActorUsersOperationSpec
Constructs a validated instance ofAddActorUsersOperationSpec
.- Parameters:
spec
- the specification to process
-
AddActorUsersOperationSpec
Constructs a validated instance ofAddActorUsersOperationSpec
.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.actorsMap
- The groups or users to associate with the project role for this project. Provide the user account ID, group name, or group ID. As a group's name can change, use of group ID is recommended.
-
AddActorUsersOperationSpec
protected AddActorUsersOperationSpec()
-
-
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. -
actorsMap
The groups or users to associate with the project role for this project. Provide the user account ID, group name, or group ID. As a group's name can change, use of group ID is recommended. -
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
.
-
actorsMap
The groups or users to associate with the project role for this project. Provide the user account ID, group name, or group ID. As a group's name can change, use of group ID is recommended.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-