Class DeletePermissionSchemeOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.DeletePermissionSchemeOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeletePermissionSchemeOperationSpec
extends Object
DeletePermissionSchemeSpec
Specification for the DeletePermissionScheme operation.
Delete permission scheme
-
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
DeletePermissionSchemeOperationSpec
(Long schemeId) Constructs a validated instance ofDeletePermissionSchemeOperationSpec
.Constructs a validated instance ofDeletePermissionSchemeOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull Long
schemeId()
The ID of the permission scheme being deleted.The ID of the permission scheme 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
-
DeletePermissionSchemeOperationSpec
@Internal public DeletePermissionSchemeOperationSpec(Consumer<DeletePermissionSchemeOperationSpec> spec) Constructs a validated instance ofDeletePermissionSchemeOperationSpec
.- Parameters:
spec
- the specification to process
-
DeletePermissionSchemeOperationSpec
Constructs a validated instance ofDeletePermissionSchemeOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
schemeId
- The ID of the permission scheme being deleted.
-
DeletePermissionSchemeOperationSpec
protected DeletePermissionSchemeOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static DeletePermissionSchemeOperationSpec.DeletePermissionSchemeOperationSpecBuilder builder() -
schemeId
The ID of the permission scheme being deleted. -
schemeId
The ID of the permission scheme being deleted.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-