Class AttachmentUpdate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Containerb524B8The new content to attach the attachment to.protected StringThe ID of the attachment to be updated.protected Metadataprotected StringThe updated name of the attachment.protected StringSet this to `attachment`.protected Version83F448The attachment version. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.AttachmentUpdate(Version83F448 version, String id, String type, String title, Metadata metadata, Containerb524B8 container) Constructs a validated instance ofAttachmentUpdate.Constructs a validated instance ofAttachmentUpdate. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for container.container(Containerb524B8 container) Fluent setter for container.booleanGets the value of container.getId()Gets the value of id.Gets the value of metadata.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.Fluent setter for metadata.voidsetContainer(Containerb524B8 container) Sets the value of container.voidSets the value of id.voidsetMetadata(Metadata metadata) Sets the value of metadata.voidSets the value of title.voidSets the value of type.voidsetVersion(Version83F448 version) Sets the value of version.title()Fluent getter for title.Fluent setter for title.toString()type()Fluent getter for type.Fluent setter for type.version()Fluent getter for version.version(Version83F448 version) Fluent setter for version.
-
Field Details
-
version
The attachment version. Set this to the current version number of the attachment. Note, the version number only needs to be incremented when updating the actual attachment, not its properties. -
id
The ID of the attachment to be updated. -
type
Set this to `attachment`. -
title
The updated name of the attachment. -
metadata
-
container
The new content to attach the attachment to.
-
-
Constructor Details
-
AttachmentUpdate
Constructs a validated instance ofAttachmentUpdate.- Parameters:
spec- the specification to process
-
AttachmentUpdate
@Internal protected AttachmentUpdate()Protected no-args constructor for use by serialization frameworks. -
AttachmentUpdate
@Internal public AttachmentUpdate(Version83F448 version, String id, String type, String title, Metadata metadata, Containerb524B8 container) Constructs a validated instance ofAttachmentUpdate.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
AttachmentUpdate(Consumer)instead.- Parameters:
version- The attachment version. Set this to the current version number of the attachment. Note, the version number only needs to be incremented when updating the actual attachment, not its properties.id- The ID of the attachment to be updated.type- Set this to `attachment`.title- The updated name of the attachment.metadata- metadatacontainer- The new content to attach the attachment to.
-
-
Method Details
-
version
Fluent getter for version.The attachment version. Set this to the current version number of the attachment. Note, the version number only needs to be incremented when updating the actual attachment, not its properties.
- Returns:
- version
-
version
Fluent setter for version.The attachment version. Set this to the current version number of the attachment. Note, the version number only needs to be incremented when updating the actual attachment, not its properties.
- Parameters:
version- version- Returns:
- this
-
getVersion
Gets the value of version.The attachment version. Set this to the current version number of the attachment. Note, the version number only needs to be incremented when updating the actual attachment, not its properties.
- Returns:
- version
-
setVersion
Sets the value of version.The attachment version. Set this to the current version number of the attachment. Note, the version number only needs to be incremented when updating the actual attachment, not its properties.
- Parameters:
version- version
-
id
-
id
Fluent setter for id.The ID of the attachment to be updated.
- Parameters:
id- id- Returns:
- this
-
getId
-
setId
Sets the value of id.The ID of the attachment to be updated.
- Parameters:
id- id
-
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
-
title
-
title
Fluent setter for title.The updated name of the attachment.
- Parameters:
title- title- Returns:
- this
-
getTitle
Gets the value of title.The updated name of the attachment.
- Returns:
- title
-
setTitle
Sets the value of title.The updated name of the attachment.
- Parameters:
title- title
-
metadata
-
metadata
Fluent setter for metadata.- Parameters:
metadata- metadata- Returns:
- this
-
getMetadata
-
setMetadata
Sets the value of metadata.- Parameters:
metadata- metadata
-
container
Fluent getter for container.The new content to attach the attachment to.
- Returns:
- container
-
container
Fluent setter for container.The new content to attach the attachment to.
- Parameters:
container- container- Returns:
- this
-
getContainer
Gets the value of container.The new content to attach the attachment to.
- Returns:
- container
-
setContainer
Sets the value of container.The new content to attach the attachment to.
- Parameters:
container- container
-
equals
-
hashCode
-
toString
-