Class DeleteProjectOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.DeleteProjectOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteProjectOperationSpec
extends Object
DeleteProjectSpec
Specification for the DeleteProject operation.
Delete 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
DeleteProjectOperationSpec
(String projectIdOrKey, Boolean enableUndo) Constructs a validated instance ofDeleteProjectOperationSpec
.Constructs a validated instance ofDeleteProjectOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@Nullable Boolean
Whether this project is placed in the Jira recycle bin where it will be available for restoration.enableUndo
(@Nullable Boolean enableUndo) Whether this project is placed in the Jira recycle bin where it will be available for restoration.boolean
int
hashCode()
@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
-
DeleteProjectOperationSpec
Constructs a validated instance ofDeleteProjectOperationSpec
.- Parameters:
spec
- the specification to process
-
DeleteProjectOperationSpec
Constructs a validated instance ofDeleteProjectOperationSpec
.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).enableUndo
- Whether this project is placed in the Jira recycle bin where it will be available for restoration.
-
DeleteProjectOperationSpec
protected DeleteProjectOperationSpec()
-
-
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). -
enableUndo
Whether this project is placed in the Jira recycle bin where it will be available for restoration. -
projectIdOrKey
The project ID or project key (case sensitive).- Returns:
this
.
-
enableUndo
Whether this project is placed in the Jira recycle bin where it will be available for restoration.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-