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