Class AsyncContentBody

java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.AsyncContentBody

@Generated("io.github.primelib.primecodegen") public class AsyncContentBody extends Object
AsyncContentBody
  • Field Details

    • value

      protected String value
    • representation

      protected String representation
    • renderTaskId

      protected String renderTaskId
    • error

      protected String error
    • status

      protected String status
      Rerunning is reserved for when the job is working, but there is a previous run's value in the cache. You may choose to continue polling, or use the cached value.
    • embeddedContent

      protected List<Map<String,Object>> embeddedContent
    • webresource

      protected WebResourceDependencies webresource
    • mediaToken

      protected MediaToken mediaToken
    • additionalExpandable

      protected Expandable9Bc16D additionalExpandable
  • Constructor Details

    • AsyncContentBody

      public AsyncContentBody(Consumer<AsyncContentBody> spec)
      Constructs a validated instance of AsyncContentBody.
      Parameters:
      spec - the specification to process
    • AsyncContentBody

      @Internal protected AsyncContentBody()
      Protected no-args constructor for use by serialization frameworks.
    • AsyncContentBody

      @Internal public AsyncContentBody(String value, String representation, String renderTaskId, String error, String status, List<Map<String,Object>> embeddedContent, WebResourceDependencies webresource, MediaToken mediaToken, Expandable9Bc16D additionalExpandable, Map<String,Object> additionalLinks)
      Constructs a validated instance of AsyncContentBody.

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

      Parameters:
      value - value
      representation - representation
      renderTaskId - renderTaskId
      error - error
      status - Rerunning is reserved for when the job is working, but there is a previous run's value in the cache. You may choose to continue polling, or use the cached value.
      embeddedContent - embeddedContent
      webresource - webresource
      mediaToken - mediaToken
      additionalExpandable - additionalExpandable
      additionalLinks - additionalLinks
  • Method Details

    • value

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

      public AsyncContentBody value(String value)
      Fluent setter for value.
      Parameters:
      value - value
      Returns:
      this
    • getValue

      public String getValue()
      Gets the value of value.
      Returns:
      value
    • setValue

      public void setValue(String value)
      Sets the value of value.
      Parameters:
      value - value
    • representation

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

      public AsyncContentBody representation(String representation)
      Fluent setter for representation.
      Parameters:
      representation - representation
      Returns:
      this
    • getRepresentation

      public String getRepresentation()
      Gets the value of representation.
      Returns:
      representation
    • setRepresentation

      public void setRepresentation(String representation)
      Sets the value of representation.
      Parameters:
      representation - representation
    • renderTaskId

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

      public AsyncContentBody renderTaskId(String renderTaskId)
      Fluent setter for renderTaskId.
      Parameters:
      renderTaskId - renderTaskId
      Returns:
      this
    • getRenderTaskId

      public String getRenderTaskId()
      Gets the value of renderTaskId.
      Returns:
      renderTaskId
    • setRenderTaskId

      public void setRenderTaskId(String renderTaskId)
      Sets the value of renderTaskId.
      Parameters:
      renderTaskId - renderTaskId
    • error

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

      public AsyncContentBody error(String error)
      Fluent setter for error.
      Parameters:
      error - error
      Returns:
      this
    • getError

      public String getError()
      Gets the value of error.
      Returns:
      error
    • setError

      public void setError(String error)
      Sets the value of error.
      Parameters:
      error - error
    • status

      public String status()
      Fluent getter for status.

      Rerunning is reserved for when the job is working, but there is a previous run's value in the cache. You may choose to continue polling, or use the cached value.

      Returns:
      status
    • status

      public AsyncContentBody status(String status)
      Fluent setter for status.

      Rerunning is reserved for when the job is working, but there is a previous run's value in the cache. You may choose to continue polling, or use the cached value.

      Parameters:
      status - status
      Returns:
      this
    • getStatus

      public String getStatus()
      Gets the value of status.

      Rerunning is reserved for when the job is working, but there is a previous run's value in the cache. You may choose to continue polling, or use the cached value.

      Returns:
      status
    • setStatus

      public void setStatus(String status)
      Sets the value of status.

      Rerunning is reserved for when the job is working, but there is a previous run's value in the cache. You may choose to continue polling, or use the cached value.

      Parameters:
      status - status
    • embeddedContent

      public List<Map<String,Object>> embeddedContent()
      Fluent getter for embeddedContent.
      Returns:
      embeddedContent
    • embeddedContent

      public AsyncContentBody embeddedContent(List<Map<String,Object>> embeddedContent)
      Fluent setter for embeddedContent.
      Parameters:
      embeddedContent - embeddedContent
      Returns:
      this
    • getEmbeddedContent

      public List<Map<String,Object>> getEmbeddedContent()
      Gets the value of embeddedContent.
      Returns:
      embeddedContent
    • setEmbeddedContent

      public void setEmbeddedContent(List<Map<String,Object>> embeddedContent)
      Sets the value of embeddedContent.
      Parameters:
      embeddedContent - embeddedContent
    • webresource

      public WebResourceDependencies webresource()
      Fluent getter for webresource.
      Returns:
      webresource
    • webresource

      public AsyncContentBody webresource(WebResourceDependencies webresource)
      Fluent setter for webresource.
      Parameters:
      webresource - webresource
      Returns:
      this
    • getWebresource

      public WebResourceDependencies getWebresource()
      Gets the value of webresource.
      Returns:
      webresource
    • setWebresource

      public void setWebresource(WebResourceDependencies webresource)
      Sets the value of webresource.
      Parameters:
      webresource - webresource
    • mediaToken

      public MediaToken mediaToken()
      Fluent getter for mediaToken.
      Returns:
      mediaToken
    • mediaToken

      public AsyncContentBody mediaToken(MediaToken mediaToken)
      Fluent setter for mediaToken.
      Parameters:
      mediaToken - mediaToken
      Returns:
      this
    • getMediaToken

      public MediaToken getMediaToken()
      Gets the value of mediaToken.
      Returns:
      mediaToken
    • setMediaToken

      public void setMediaToken(MediaToken mediaToken)
      Sets the value of mediaToken.
      Parameters:
      mediaToken - mediaToken
    • additionalExpandable

      public Expandable9Bc16D additionalExpandable()
      Fluent getter for additionalExpandable.
      Returns:
      additionalExpandable
    • additionalExpandable

      public AsyncContentBody additionalExpandable(Expandable9Bc16D additionalExpandable)
      Fluent setter for additionalExpandable.
      Parameters:
      additionalExpandable - additionalExpandable
      Returns:
      this
    • getAdditionalExpandable

      public Expandable9Bc16D getAdditionalExpandable()
      Gets the value of additionalExpandable.
      Returns:
      additionalExpandable
    • setAdditionalExpandable

      public void setAdditionalExpandable(Expandable9Bc16D additionalExpandable)
      Sets the value of additionalExpandable.
      Parameters:
      additionalExpandable - additionalExpandable
    • additionalLinks

      public Map<String,Object> additionalLinks()
      Fluent getter for additionalLinks.
      Returns:
      additionalLinks
    • additionalLinks

      public AsyncContentBody additionalLinks(Map<String,Object> additionalLinks)
      Fluent setter for additionalLinks.
      Parameters:
      additionalLinks - additionalLinks
      Returns:
      this
    • getAdditionalLinks

      public Map<String,Object> getAdditionalLinks()
      Gets the value of additionalLinks.
      Returns:
      additionalLinks
    • setAdditionalLinks

      public void setAdditionalLinks(Map<String,Object> additionalLinks)
      Sets the value of additionalLinks.
      Parameters:
      additionalLinks - additionalLinks
    • 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