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