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 Details

    • id

      protected String id
    • type

      protected String type
      Set this to "attachment"
    • status

      protected String status
    • title

      protected String title
    • container

      protected Map<String,Object> 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)
    • metadata

      protected Metadata9A43E8 metadata
    • extensions

      protected Object extensions
    • version

      protected Version version
  • Constructor Details

    • AttachmentPropertiesUpdateBody

      public AttachmentPropertiesUpdateBody(Consumer<AttachmentPropertiesUpdateBody> spec)
      Constructs a validated instance of AttachmentPropertiesUpdateBody.
      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 of AttachmentPropertiesUpdateBody.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using AttachmentPropertiesUpdateBody(Consumer) instead.

      Parameters:
      id - id
      type - Set this to "attachment"
      status - status
      title - title
      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)
      metadata - metadata
      extensions - extensions
      version - version
  • Method Details

    • id

      public String id()
      Fluent getter for id.
      Returns:
      id
    • id

      Fluent setter for id.
      Parameters:
      id - id
      Returns:
      this
    • getId

      public String getId()
      Gets the value of id.
      Returns:
      id
    • setId

      public void setId(String id)
      Sets the value of id.
      Parameters:
      id - id
    • type

      public String type()
      Fluent getter for type.

      Set this to "attachment"

      Returns:
      type
    • type

      Fluent setter for type.

      Set this to "attachment"

      Parameters:
      type - type
      Returns:
      this
    • getType

      public String getType()
      Gets the value of type.

      Set this to "attachment"

      Returns:
      type
    • setType

      public void setType(String type)
      Sets the value of type.

      Set this to "attachment"

      Parameters:
      type - type
    • status

      public String status()
      Fluent getter for status.
      Returns:
      status
    • status

      public AttachmentPropertiesUpdateBody status(String status)
      Fluent setter for status.
      Parameters:
      status - status
      Returns:
      this
    • getStatus

      public String getStatus()
      Gets the value of status.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
      Sets the value of status.
      Parameters:
      status - status
    • title

      public String title()
      Fluent getter for title.
      Returns:
      title
    • title

      public AttachmentPropertiesUpdateBody title(String title)
      Fluent setter for title.
      Parameters:
      title - title
      Returns:
      this
    • getTitle

      public String getTitle()
      Gets the value of title.
      Returns:
      title
    • setTitle

      public void setTitle(String title)
      Sets the value of title.
      Parameters:
      title - title
    • container

      public Map<String,Object> container()
      Fluent getter 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)

      Returns:
      container
    • container

      public AttachmentPropertiesUpdateBody container(Map<String,Object> 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

      public Map<String,Object> getContainer()
      Gets the value of 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)

      Returns:
      container
    • setContainer

      public void setContainer(Map<String,Object> container)
      Sets the value of 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
    • metadata

      public Metadata9A43E8 metadata()
      Fluent getter for metadata.
      Returns:
      metadata
    • metadata

      public AttachmentPropertiesUpdateBody metadata(Metadata9A43E8 metadata)
      Fluent setter for metadata.
      Parameters:
      metadata - metadata
      Returns:
      this
    • getMetadata

      public Metadata9A43E8 getMetadata()
      Gets the value of metadata.
      Returns:
      metadata
    • setMetadata

      public void setMetadata(Metadata9A43E8 metadata)
      Sets the value of metadata.
      Parameters:
      metadata - metadata
    • extensions

      public Object extensions()
      Fluent getter for extensions.
      Returns:
      extensions
    • extensions

      public AttachmentPropertiesUpdateBody extensions(Object extensions)
      Fluent setter for extensions.
      Parameters:
      extensions - extensions
      Returns:
      this
    • getExtensions

      public Object getExtensions()
      Gets the value of extensions.
      Returns:
      extensions
    • setExtensions

      public void setExtensions(Object extensions)
      Sets the value of extensions.
      Parameters:
      extensions - extensions
    • version

      public Version version()
      Fluent getter for version.
      Returns:
      version
    • version

      public AttachmentPropertiesUpdateBody version(Version version)
      Fluent setter for version.
      Parameters:
      version - version
      Returns:
      this
    • getVersion

      public Version getVersion()
      Gets the value of version.
      Returns:
      version
    • setVersion

      public void setVersion(Version version)
      Sets the value of version.
      Parameters:
      version - version
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object