Class AddProjectRoleActorsToRoleOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.AddProjectRoleActorsToRoleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AddProjectRoleActorsToRoleOperationSpec
extends Object
AddProjectRoleActorsToRoleSpec
Specification for the AddProjectRoleActorsToRole operation.
Add default 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
AddProjectRoleActorsToRoleOperationSpec
(Long id, ActorInputBean actorInputBean) Constructs a validated instance ofAddProjectRoleActorsToRoleOperationSpec
.Constructs a validated instance ofAddProjectRoleActorsToRoleOperationSpec
. -
Method Summary
Modifier and TypeMethodDescription@NotNull ActorInputBean
actorInputBean
(@NotNull ActorInputBean actorInputBean) builder()
protected boolean
boolean
int
hashCode()
@NotNull Long
id()
The ID of the project role.The ID of the project role.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
-
AddProjectRoleActorsToRoleOperationSpec
@Internal public AddProjectRoleActorsToRoleOperationSpec(Consumer<AddProjectRoleActorsToRoleOperationSpec> spec) Constructs a validated instance ofAddProjectRoleActorsToRoleOperationSpec
.- Parameters:
spec
- the specification to process
-
AddProjectRoleActorsToRoleOperationSpec
Constructs a validated instance ofAddProjectRoleActorsToRoleOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
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.actorInputBean
-
-
AddProjectRoleActorsToRoleOperationSpec
protected AddProjectRoleActorsToRoleOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static AddProjectRoleActorsToRoleOperationSpec.AddProjectRoleActorsToRoleOperationSpecBuilder builder() -
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. -
actorInputBean
-
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
.
-
actorInputBean
public AddProjectRoleActorsToRoleOperationSpec actorInputBean(@NotNull @NotNull ActorInputBean actorInputBean) - Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-