Class GetSharePermissionOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetSharePermissionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetSharePermissionOperationSpec
extends Object
GetSharePermissionSpec
Specification for the GetSharePermission operation.
Get share permission
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetSharePermissionOperationSpec(Long id, Long permissionId) Constructs a validated instance ofGetSharePermissionOperationSpec.Constructs a validated instance ofGetSharePermissionOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@NotNull Longid()The ID of the filter.The ID of the filter.@NotNull LongThe ID of the share permission.permissionId(@NotNull Long permissionId) The ID of the share permission.toString()voidvalidate()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
-
GetSharePermissionOperationSpec
Constructs a validated instance ofGetSharePermissionOperationSpec.- Parameters:
spec- the specification to process
-
GetSharePermissionOperationSpec
Constructs a validated instance ofGetSharePermissionOperationSpec.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.
-
GetSharePermissionOperationSpec
protected GetSharePermissionOperationSpec()
-
-
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 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
-