Class ContentTemplateArray

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

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

  • Constructor Details

    • ContentTemplateArray

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

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

      @Internal public ContentTemplateArray(List<ContentTemplate> results, Integer start, Integer limit, Integer size, Map<String,Object> additionalLinks)
      Constructs a validated instance of ContentTemplateArray.

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

      Parameters:
      results - results
      start - start
      limit - limit
      size - size
      additionalLinks - additionalLinks
  • Method Details

    • results

      public List<ContentTemplate> results()
      Fluent getter for results.
      Returns:
      results
    • results

      public ContentTemplateArray results(List<ContentTemplate> results)
      Fluent setter for results.
      Parameters:
      results - results
      Returns:
      this
    • getResults

      public List<ContentTemplate> getResults()
      Gets the value of results.
      Returns:
      results
    • setResults

      public void setResults(List<ContentTemplate> results)
      Sets the value of results.
      Parameters:
      results - results
    • start

      public Integer start()
      Fluent getter for start.
      Returns:
      start
    • start

      public ContentTemplateArray start(Integer start)
      Fluent setter for start.
      Parameters:
      start - start
      Returns:
      this
    • getStart

      public Integer getStart()
      Gets the value of start.
      Returns:
      start
    • setStart

      public void setStart(Integer start)
      Sets the value of start.
      Parameters:
      start - start
    • limit

      public Integer limit()
      Fluent getter for limit.
      Returns:
      limit
    • limit

      public ContentTemplateArray limit(Integer limit)
      Fluent setter for limit.
      Parameters:
      limit - limit
      Returns:
      this
    • getLimit

      public Integer getLimit()
      Gets the value of limit.
      Returns:
      limit
    • setLimit

      public void setLimit(Integer limit)
      Sets the value of limit.
      Parameters:
      limit - limit
    • size

      public Integer size()
      Fluent getter for size.
      Returns:
      size
    • size

      public ContentTemplateArray size(Integer size)
      Fluent setter for size.
      Parameters:
      size - size
      Returns:
      this
    • getSize

      public Integer getSize()
      Gets the value of size.
      Returns:
      size
    • setSize

      public void setSize(Integer size)
      Sets the value of size.
      Parameters:
      size - size
    • additionalLinks

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

      public ContentTemplateArray 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