Class QueryRequestModel
java.lang.Object
net.avalara.avatax.rest.client.models.QueryRequestModel
public class QueryRequestModel
extends java.lang.Object
Represents a complex query request to parse using query filter guidelines from Microsoft REST standards
-
Constructor Summary
Constructors Constructor Description QueryRequestModel() -
Method Summary
Modifier and Type Method Description java.lang.StringgetFilter()Getter for filter A list of conditions to filter objects.java.lang.StringgetInclude()Getter for include A list of included commands for this fetch operation.java.lang.IntegergetMaxResults()Getter for maxResults For pagination: This is the maximum number of results to return.java.lang.StringgetSortBy()Getter for sortBy Sorts the resulting objects in a specific manner.java.lang.IntegergetStartIndex()Getter for startIndex For pagination: This is the index of the first result.voidsetFilter(java.lang.String value)Setter for filter A list of conditions to filter objects.voidsetInclude(java.lang.String value)Setter for include A list of included commands for this fetch operation.voidsetMaxResults(java.lang.Integer value)Setter for maxResults For pagination: This is the maximum number of results to return.voidsetSortBy(java.lang.String value)Setter for sortBy Sorts the resulting objects in a specific manner.voidsetStartIndex(java.lang.Integer value)Setter for startIndex For pagination: This is the index of the first result.java.lang.StringtoString()Returns a JSON string representation of QueryRequestModel
-
Constructor Details
-
QueryRequestModel
public QueryRequestModel()
-
-
Method Details
-
getFilter
public java.lang.String getFilter()Getter for filter A list of conditions to filter objects. -
setFilter
public void setFilter(java.lang.String value)Setter for filter A list of conditions to filter objects. -
getInclude
public java.lang.String getInclude()Getter for include A list of included commands for this fetch operation. -
setInclude
public void setInclude(java.lang.String value)Setter for include A list of included commands for this fetch operation. -
getMaxResults
public java.lang.Integer getMaxResults()Getter for maxResults For pagination: This is the maximum number of results to return. -
setMaxResults
public void setMaxResults(java.lang.Integer value)Setter for maxResults For pagination: This is the maximum number of results to return. -
getStartIndex
public java.lang.Integer getStartIndex()Getter for startIndex For pagination: This is the index of the first result. -
setStartIndex
public void setStartIndex(java.lang.Integer value)Setter for startIndex For pagination: This is the index of the first result. -
getSortBy
public java.lang.String getSortBy()Getter for sortBy Sorts the resulting objects in a specific manner. -
setSortBy
public void setSortBy(java.lang.String value)Setter for sortBy Sorts the resulting objects in a specific manner. -
toString
public java.lang.String toString()Returns a JSON string representation of QueryRequestModel- Overrides:
toStringin classjava.lang.Object
-