Class AttachmentPropertiesUpdateBody
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.AttachmentPropertiesUpdateBody
@Generated("io.github.primelib.primecodegen")
public class AttachmentPropertiesUpdateBody
extends Object
AttachmentPropertiesUpdateBody
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.AttachmentPropertiesUpdateBody(String id, String type, String status, String title, Map<String, Object> container, Metadata9A43E8 metadata, Object extensions, Version version) Constructs a validated instance ofAttachmentPropertiesUpdateBody.Constructs a validated instance ofAttachmentPropertiesUpdateBody. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for container.Fluent setter for container.booleanFluent getter for extensions.extensions(Object extensions) Fluent setter for extensions.Gets the value of container.Gets the value of extensions.getId()Gets the value of id.Gets the value of metadata.Gets the value of status.getTitle()Gets the value of title.getType()Gets the value of type.Gets the value of version.inthashCode()id()Fluent getter for id.Fluent setter for id.metadata()Fluent getter for metadata.metadata(Metadata9A43E8 metadata) Fluent setter for metadata.voidsetContainer(Map<String, Object> container) Sets the value of container.voidsetExtensions(Object extensions) Sets the value of extensions.voidSets the value of id.voidsetMetadata(Metadata9A43E8 metadata) Sets the value of metadata.voidSets the value of status.voidSets the value of title.voidSets the value of type.voidsetVersion(Version version) Sets the value of version.status()Fluent getter for status.Fluent setter for status.title()Fluent getter for title.Fluent setter for title.toString()type()Fluent getter for type.Fluent setter for type.version()Fluent getter for version.Fluent setter for version.
-
Field Details
-
id
-
type
Set this to "attachment" -
status
-
title
-
container
-
metadata
-
extensions
-
version
-
-
Constructor Details
-
AttachmentPropertiesUpdateBody
Constructs a validated instance ofAttachmentPropertiesUpdateBody.- Parameters:
spec- the specification to process
-
AttachmentPropertiesUpdateBody
@Internal protected AttachmentPropertiesUpdateBody()Protected no-args constructor for use by serialization frameworks. -
AttachmentPropertiesUpdateBody
@Internal public AttachmentPropertiesUpdateBody(String id, String type, String status, String title, Map<String, Object> container, Metadata9A43E8 metadata, Object extensions, Version version) Constructs a validated instance ofAttachmentPropertiesUpdateBody.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
AttachmentPropertiesUpdateBody(Consumer)instead.- Parameters:
id- idtype- Set this to "attachment"status- statustitle- titlecontainer- Container for content. This can be either a space (containing a page or blogpost) or a page/blog post (containing an attachment or comment)metadata- metadataextensions- extensionsversion- version
-
-
Method Details
-
id
-
id
Fluent setter for id.- Parameters:
id- id- Returns:
- this
-
getId
-
setId
-
type
-
type
Fluent setter for type.Set this to "attachment"
- Parameters:
type- type- Returns:
- this
-
getType
-
setType
Sets the value of type.Set this to "attachment"
- Parameters:
type- type
-
status
-
status
Fluent setter for status.- Parameters:
status- status- Returns:
- this
-
getStatus
-
setStatus
-
title
-
title
Fluent setter for title.- Parameters:
title- title- Returns:
- this
-
getTitle
-
setTitle
-
container
-
container
Fluent setter for container.Container for content. This can be either a space (containing a page or blogpost) or a page/blog post (containing an attachment or comment)
- Parameters:
container- container- Returns:
- this
-
getContainer
-
setContainer
-
metadata
-
metadata
Fluent setter for metadata.- Parameters:
metadata- metadata- Returns:
- this
-
getMetadata
-
setMetadata
Sets the value of metadata.- Parameters:
metadata- metadata
-
extensions
-
extensions
Fluent setter for extensions.- Parameters:
extensions- extensions- Returns:
- this
-
getExtensions
-
setExtensions
Sets the value of extensions.- Parameters:
extensions- extensions
-
version
-
version
Fluent setter for version.- Parameters:
version- version- Returns:
- this
-
getVersion
-
setVersion
-
equals
-
hashCode
-
toString
-