@Generated(value="")
public class QueryResponse
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Integer |
itemsPerPage |
protected java.lang.Object |
Resources |
protected java.lang.Integer |
startIndex |
protected java.lang.Integer |
totalResults |
java.lang.String |
xClassName |
| Constructor and Description |
|---|
QueryResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
java.lang.Integer |
getItemsPerPage() |
@Valid java.lang.Object |
getResources() |
java.lang.Integer |
getStartIndex() |
java.lang.Integer |
getTotalResults() |
int |
hashCode() |
void |
setItemsPerPage(java.lang.Integer itemsPerPage) |
void |
setItemsPerPage(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> itemsPerPageUnsafeSupplier) |
void |
setResources(java.lang.Object Resources) |
void |
setResources(com.liferay.petra.function.UnsafeSupplier<java.lang.Object,java.lang.Exception> ResourcesUnsafeSupplier) |
void |
setStartIndex(java.lang.Integer startIndex) |
void |
setStartIndex(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> startIndexUnsafeSupplier) |
void |
setTotalResults(java.lang.Integer totalResults) |
void |
setTotalResults(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> totalResultsUnsafeSupplier) |
static QueryResponse |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
static QueryResponse |
unsafeToDTO(java.lang.String json) |
protected java.lang.Object Resources
protected java.lang.Integer itemsPerPage
protected java.lang.Integer startIndex
protected java.lang.Integer totalResults
public java.lang.String xClassName
public static QueryResponse toDTO(java.lang.String json)
public static QueryResponse unsafeToDTO(java.lang.String json)
@Valid public @Valid java.lang.Object getResources()
public void setResources(java.lang.Object Resources)
public void setResources(com.liferay.petra.function.UnsafeSupplier<java.lang.Object,java.lang.Exception> ResourcesUnsafeSupplier)
public java.lang.Integer getItemsPerPage()
public void setItemsPerPage(java.lang.Integer itemsPerPage)
public void setItemsPerPage(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> itemsPerPageUnsafeSupplier)
public java.lang.Integer getStartIndex()
public void setStartIndex(java.lang.Integer startIndex)
public void setStartIndex(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> startIndexUnsafeSupplier)
public java.lang.Integer getTotalResults()
public void setTotalResults(java.lang.Integer totalResults)
public void setTotalResults(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> totalResultsUnsafeSupplier)
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object