Class ExpandAttachmentForMachinesOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.ExpandAttachmentForMachinesOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class ExpandAttachmentForMachinesOperationSpec
extends Object
ExpandAttachmentForMachinesSpec
Specification for the ExpandAttachmentForMachines operation.
Get contents metadata for an expanded 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 ofExpandAttachmentForMachinesOperationSpec
.Constructs a validated instance ofExpandAttachmentForMachinesOperationSpec
. -
Method Summary
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
ExpandAttachmentForMachinesOperationSpec
@Internal public ExpandAttachmentForMachinesOperationSpec(Consumer<ExpandAttachmentForMachinesOperationSpec> spec) Constructs a validated instance ofExpandAttachmentForMachinesOperationSpec
.- Parameters:
spec
- the specification to process
-
ExpandAttachmentForMachinesOperationSpec
Constructs a validated instance ofExpandAttachmentForMachinesOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the attachment.
-
ExpandAttachmentForMachinesOperationSpec
protected ExpandAttachmentForMachinesOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static ExpandAttachmentForMachinesOperationSpec.ExpandAttachmentForMachinesOperationSpecBuilder builder() -
id
The ID of the attachment. -
id
The ID of the attachment.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-