Package Avalara.SDK.model.A1099.V2
Class PaginatedQueryResultModelForm1099Base
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.PaginatedQueryResultModelForm1099Base
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class PaginatedQueryResultModelForm1099Base extends Object
Generic paginated model to wrap query response data
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaginatedQueryResultModelForm1099Base.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 PaginatedQueryResultModelForm1099Base()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaginatedQueryResultModelForm1099BaseaddValueItem(Get1099Form200Response valueItem)PaginatedQueryResultModelForm1099BaseatNextLink(String atNextLink)PaginatedQueryResultModelForm1099BaseatRecordsetCount(Integer atRecordsetCount)booleanequals(Object o)static PaginatedQueryResultModelForm1099BasefromJson(String jsonString)Create an instance of PaginatedQueryResultModelForm1099Base given an JSON stringStringgetAtNextLink()Get atNextLinkIntegergetAtRecordsetCount()Get atRecordsetCountList<Get1099Form200Response>getValue()Get valueinthashCode()voidsetAtNextLink(String atNextLink)voidsetAtRecordsetCount(Integer atRecordsetCount)voidsetValue(List<Get1099Form200Response> value)StringtoJson()Convert an instance of PaginatedQueryResultModelForm1099Base to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundPaginatedQueryResultModelForm1099Basevalue(List<Get1099Form200Response> 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 PaginatedQueryResultModelForm1099Base atRecordsetCount(Integer atRecordsetCount)
-
getAtRecordsetCount
@Nullable public Integer getAtRecordsetCount()
Get atRecordsetCount- Returns:
- atRecordsetCount
-
setAtRecordsetCount
public void setAtRecordsetCount(Integer atRecordsetCount)
-
value
public PaginatedQueryResultModelForm1099Base value(List<Get1099Form200Response> value)
-
addValueItem
public PaginatedQueryResultModelForm1099Base addValueItem(Get1099Form200Response valueItem)
-
getValue
@Nullable public List<Get1099Form200Response> getValue()
Get value- Returns:
- value
-
setValue
public void setValue(List<Get1099Form200Response> value)
-
atNextLink
public PaginatedQueryResultModelForm1099Base 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 PaginatedQueryResultModelForm1099Base
-
fromJson
public static PaginatedQueryResultModelForm1099Base fromJson(String jsonString) throws IOException
Create an instance of PaginatedQueryResultModelForm1099Base given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaginatedQueryResultModelForm1099Base
- Throws:
IOException- if the JSON string is invalid with respect to PaginatedQueryResultModelForm1099Base
-
toJson
public String toJson()
Convert an instance of PaginatedQueryResultModelForm1099Base to an JSON string- Returns:
- JSON string
-
-