Class TotalUsageInfo

java.lang.Object
com.gentics.contentnode.rest.model.response.TotalUsageInfo

public class TotalUsageInfo extends Object
  • Constructor Details

    • TotalUsageInfo

      public TotalUsageInfo()
  • Method Details

    • getTotal

      public int getTotal()
      Get the total number of all elements which reference one or more specified source elements.
      Returns:
      total number of elements
    • setTotal

      public TotalUsageInfo setTotal(int total)
      Set the total number of all elements which use one or more source elements.
      Parameters:
      total - total number of elements
      Returns:
      fluent API
    • getPages

      public Integer getPages()
      Get the total number of pages.
      Returns:
    • setPages

      public TotalUsageInfo setPages(Integer pages)
      Set the total number of pages.
      Parameters:
      pages -
      Returns:
      fluent API
    • getFolders

      public Integer getFolders()
      Get the total number of folder.
      Returns:
    • setFolders

      public TotalUsageInfo setFolders(Integer folders)
      Set the total number of folder.
      Parameters:
      folders -
      Returns:
      fluent API
    • getTemplates

      public Integer getTemplates()
      Get the total number of template.
      Returns:
    • setTemplates

      public TotalUsageInfo setTemplates(Integer templates)
      Set the total number of templates.
      Parameters:
      templates -
      Returns:
      fluent API
    • getFiles

      public Integer getFiles()
      Get the total number of files.
      Returns:
    • setFiles

      public TotalUsageInfo setFiles(Integer files)
      Set the total number of files.
      Parameters:
      files -
      Returns:
      fluent API
    • getImages

      public Integer getImages()
      Get the total number of images.
      Returns:
    • setImages

      public TotalUsageInfo setImages(Integer images)
      Set the total number of images.
      Parameters:
      images -
      Returns:
      fluent API
    • toString

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

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object