Package Avalara.SDK.model.EInvoicing.V1
Class Pagination
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.Pagination
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class Pagination extends Object
Pagination
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPagination.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AT_NEXT_LINKstatic StringSERIALIZED_NAME_RECORDSET_COUNT
-
Constructor Summary
Constructors Constructor Description Pagination()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaginationatNextLink(String atNextLink)booleanequals(Object o)static PaginationfromJson(String jsonString)Create an instance of Pagination given an JSON stringStringgetAtNextLink()The URL to the next page of results.IntegergetRecordsetCount()The total count of records in the dataset.inthashCode()PaginationrecordsetCount(Integer recordsetCount)voidsetAtNextLink(String atNextLink)voidsetRecordsetCount(Integer recordsetCount)StringtoJson()Convert an instance of Pagination to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_RECORDSET_COUNT
public static final String SERIALIZED_NAME_RECORDSET_COUNT
- 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
-
recordsetCount
public Pagination recordsetCount(Integer recordsetCount)
-
getRecordsetCount
@Nullable public Integer getRecordsetCount()
The total count of records in the dataset.- Returns:
- recordsetCount
-
setRecordsetCount
public void setRecordsetCount(Integer recordsetCount)
-
atNextLink
public Pagination atNextLink(String atNextLink)
-
getAtNextLink
@Nullable public String getAtNextLink()
The URL to the next page of results.- Returns:
- 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 Pagination
-
fromJson
public static Pagination fromJson(String jsonString) throws IOException
Create an instance of Pagination given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Pagination
- Throws:
IOException- if the JSON string is invalid with respect to Pagination
-
toJson
public String toJson()
Convert an instance of Pagination to an JSON string- Returns:
- JSON string
-
-