Package Avalara.SDK.model.A1099.V2
Class PaginatedQueryResultModel
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.PaginatedQueryResultModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class PaginatedQueryResultModel extends Object
Generic paginated model to wrap query response data
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaginatedQueryResultModel.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AT_NEXT_LINKstatic StringSERIALIZED_NAME_AT_RECORDSET_COUNTstatic StringSERIALIZED_NAME_VALUE
-
Constructor Summary
Constructors Constructor Description PaginatedQueryResultModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaginatedQueryResultModeladdValueItem(Object valueItem)PaginatedQueryResultModelatNextLink(String atNextLink)PaginatedQueryResultModelatRecordsetCount(Integer atRecordsetCount)booleanequals(Object o)static PaginatedQueryResultModelfromJson(String jsonString)Create an instance of PaginatedQueryResultModel given an JSON stringStringgetAtNextLink()Get atNextLinkIntegergetAtRecordsetCount()Get atRecordsetCountList<Object>getValue()Get valueinthashCode()voidsetAtNextLink(String atNextLink)voidsetAtRecordsetCount(Integer atRecordsetCount)voidsetValue(List<Object> value)StringtoJson()Convert an instance of PaginatedQueryResultModel to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundPaginatedQueryResultModelvalue(List<Object> value)
-
-
-
Field Detail
-
SERIALIZED_NAME_AT_RECORDSET_COUNT
public static final String SERIALIZED_NAME_AT_RECORDSET_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AT_NEXT_LINK
public static final String SERIALIZED_NAME_AT_NEXT_LINK
- See Also:
- Constant Field Values
-
-
Method Detail
-
atRecordsetCount
public PaginatedQueryResultModel atRecordsetCount(Integer atRecordsetCount)
-
getAtRecordsetCount
@Nullable public Integer getAtRecordsetCount()
Get atRecordsetCount- Returns:
- atRecordsetCount
-
setAtRecordsetCount
public void setAtRecordsetCount(Integer atRecordsetCount)
-
value
public PaginatedQueryResultModel value(List<Object> value)
-
addValueItem
public PaginatedQueryResultModel addValueItem(Object valueItem)
-
atNextLink
public PaginatedQueryResultModel atNextLink(String atNextLink)
-
setAtNextLink
public void setAtNextLink(String atNextLink)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to PaginatedQueryResultModel
-
fromJson
public static PaginatedQueryResultModel fromJson(String jsonString) throws IOException
Create an instance of PaginatedQueryResultModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaginatedQueryResultModel
- Throws:
IOException- if the JSON string is invalid with respect to PaginatedQueryResultModel
-
toJson
public String toJson()
Convert an instance of PaginatedQueryResultModel to an JSON string- Returns:
- JSON string
-
-