Class AddAttachmentOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.AddAttachmentOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AddAttachmentOperationSpec
extends Object
AddAttachmentSpec
Specification for the AddAttachment operation.
Add 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
AddAttachmentOperationSpec
(String issueIdOrKey) Constructs a validated instance ofAddAttachmentOperationSpec
.Constructs a validated instance ofAddAttachmentOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull String
The ID or key of the issue that attachments are added to.issueIdOrKey
(@NotNull String issueIdOrKey) The ID or key of the issue that attachments are added to.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
-
AddAttachmentOperationSpec
Constructs a validated instance ofAddAttachmentOperationSpec
.- Parameters:
spec
- the specification to process
-
AddAttachmentOperationSpec
Constructs a validated instance ofAddAttachmentOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueIdOrKey
- The ID or key of the issue that attachments are added to.
-
AddAttachmentOperationSpec
protected AddAttachmentOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
issueIdOrKey
The ID or key of the issue that attachments are added to. -
issueIdOrKey
The ID or key of the issue that attachments are added to.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-