Klasse DeleteProjectRoleOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.DeleteProjectRoleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteProjectRoleOperationSpec
extends Object
DeleteProjectRoleSpec
Specification for the DeleteProjectRole operation.
Delete project role
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
DeleteProjectRoleOperationSpec
(Long id, Long swap) Constructs a validated instance ofDeleteProjectRoleOperationSpec
.Constructs a validated instance ofDeleteProjectRoleOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()
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
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
DeleteProjectRoleOperationSpec
Constructs a validated instance ofDeleteProjectRoleOperationSpec
.- Parameter:
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.
- Parameter:
id
- The ID of the project role to delete. Use [Get all project roles](#api-rest-api-2-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()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
id
The ID of the project role to delete. Use [Get all project roles](#api-rest-api-2-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-2-role-get) to get a list of project role IDs.- Gibt zurück:
this
.
-
swap
The ID of the project role that will replace the one being deleted.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-