Class DeleteProjectRoleOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.DeleteProjectRoleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteProjectRoleOperationSpec
extends Object
DeleteProjectRoleSpec
Specification for the DeleteProjectRole operation.
Delete 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
DeleteProjectRoleOperationSpec
(Long id, Long swap) Constructs a validated instance ofDeleteProjectRoleOperationSpec
.Constructs a validated instance ofDeleteProjectRoleOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull Long
id()
The ID of the project role to delete.The ID of the project role to delete.@Nullable Long
swap()
The ID of the project role that will replace the one being deleted.The ID of the project role that will replace the one being deleted.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
-
DeleteProjectRoleOperationSpec
Constructs a validated instance ofDeleteProjectRoleOperationSpec
.- Parameters:
spec
- the specification to process
-
DeleteProjectRoleOperationSpec
Constructs a validated instance ofDeleteProjectRoleOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the project role to delete. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs.swap
- The ID of the project role that will replace the one being deleted.
-
DeleteProjectRoleOperationSpec
protected DeleteProjectRoleOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
id
The ID of the project role to delete. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs. -
swap
The ID of the project role that will replace the one being deleted. -
id
The ID of the project role to delete. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs.- Returns:
this
.
-
swap
The ID of the project role that will replace the one being deleted.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-