Class LongTask

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

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

    • ari

      protected String ari
      the ARI for the long task, based on its ID
    • id

      protected String id
      a unique identifier for the long task
  • Constructor Details

    • LongTask

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

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

      @Internal public LongTask(String ari, String id, Map<String,Object> links)
      Constructs a validated instance of LongTask.

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

      Parameters:
      ari - the ARI for the long task, based on its ID
      id - a unique identifier for the long task
      links - links
  • Method Details

    • ari

      public String ari()
      Fluent getter for ari.

      the ARI for the long task, based on its ID

      Returns:
      ari
    • ari

      public LongTask ari(String ari)
      Fluent setter for ari.

      the ARI for the long task, based on its ID

      Parameters:
      ari - ari
      Returns:
      this
    • getAri

      public String getAri()
      Gets the value of ari.

      the ARI for the long task, based on its ID

      Returns:
      ari
    • setAri

      public void setAri(String ari)
      Sets the value of ari.

      the ARI for the long task, based on its ID

      Parameters:
      ari - ari
    • id

      public String id()
      Fluent getter for id.

      a unique identifier for the long task

      Returns:
      id
    • id

      public LongTask id(String id)
      Fluent setter for id.

      a unique identifier for the long task

      Parameters:
      id - id
      Returns:
      this
    • getId

      public String getId()
      Gets the value of id.

      a unique identifier for the long task

      Returns:
      id
    • setId

      public void setId(String id)
      Sets the value of id.

      a unique identifier for the long task

      Parameters:
      id - id
    • links

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

      public LongTask links(Map<String,Object> links)
      Fluent setter for links.
      Parameters:
      links - links
      Returns:
      this
    • getLinks

      public Map<String,Object> getLinks()
      Gets the value of links.
      Returns:
      links
    • setLinks

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