Class TotalUsageInfo
- java.lang.Object
-
- com.gentics.contentnode.rest.model.response.TotalUsageInfo
-
public class TotalUsageInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description TotalUsageInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Integer
getFiles()
Get the total number of files.Integer
getFolders()
Get the total number of folder.Integer
getImages()
Get the total number of images.Integer
getPages()
Get the total number of pages.Integer
getTemplates()
Get the total number of template.int
getTotal()
Get the total number of all elements which reference one or more specified source elements.int
hashCode()
TotalUsageInfo
setFiles(Integer files)
Set the total number of files.TotalUsageInfo
setFolders(Integer folders)
Set the total number of folder.TotalUsageInfo
setImages(Integer images)
Set the total number of images.TotalUsageInfo
setPages(Integer pages)
Set the total number of pages.TotalUsageInfo
setTemplates(Integer templates)
Set the total number of templates.TotalUsageInfo
setTotal(int total)
Set the total number of all elements which use one or more source elements.String
toString()
-
-
-
Method Detail
-
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
-
-