Class Attachment
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Attachment
Attachment
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.Attachment(Boolean value, Map<String, Object> additionalLinks) Constructs a validated instance ofAttachment.Attachment(Consumer<Attachment> spec) Constructs a validated instance ofAttachment. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for additionalLinks.additionalLinks(Map<String, Object> additionalLinks) Fluent setter for additionalLinks.booleanGets the value of additionalLinks.getValue()Gets the value of value.inthashCode()voidsetAdditionalLinks(Map<String, Object> additionalLinks) Sets the value of additionalLinks.voidSets the value of value.toString()value()Fluent getter for value.Fluent setter for value.
-
Field Details
-
value
-
additionalLinks
-
-
Constructor Details
-
Attachment
Constructs a validated instance ofAttachment.- Parameters:
spec- the specification to process
-
Attachment
@Internal protected Attachment()Protected no-args constructor for use by serialization frameworks. -
Attachment
Constructs a validated instance ofAttachment.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Attachment(Consumer)instead.- Parameters:
value- valueadditionalLinks- additionalLinks
-
-
Method Details
-
value
-
value
Fluent setter for value.- Parameters:
value- value- Returns:
- this
-
getValue
-
setValue
-
additionalLinks
-
additionalLinks
Fluent setter for additionalLinks.- Parameters:
additionalLinks- additionalLinks- Returns:
- this
-
getAdditionalLinks
-
setAdditionalLinks
-
equals
-
hashCode
-
toString
-