Class RemoveAttachmentOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.RemoveAttachmentOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class RemoveAttachmentOperationSpec
extends Object
RemoveAttachmentSpec
Specification for the RemoveAttachment operation.
Delete attachment
-
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
Constructs a validated instance ofRemoveAttachmentOperationSpec
.Constructs a validated instance ofRemoveAttachmentOperationSpec
. -
Method Summary
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
RemoveAttachmentOperationSpec
Constructs a validated instance ofRemoveAttachmentOperationSpec
.- Parameters:
spec
- the specification to process
-
RemoveAttachmentOperationSpec
Constructs a validated instance ofRemoveAttachmentOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the attachment.
-
RemoveAttachmentOperationSpec
protected RemoveAttachmentOperationSpec()
-
-
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 attachment. -
id
The ID of the attachment.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-