Package Avalara.SDK.model.A1099.V2
Class Form1099DivList
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.Form1099DivList
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class Form1099DivList extends Object
Form1099DivList
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classForm1099DivList.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_FORM_TYPEstatic StringSERIALIZED_NAME_FORMS
-
Constructor Summary
Constructors Constructor Description Form1099DivList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Form1099DivListaddFormsItem(Form1099DivListItem formsItem)booleanequals(Object o)Form1099DivListforms(List<Form1099DivListItem> forms)Form1099DivListformType(String formType)static Form1099DivListfromJson(String jsonString)Create an instance of Form1099DivList given an JSON stringList<Form1099DivListItem>getForms()Get formsStringgetFormType()Get formTypeinthashCode()voidsetForms(List<Form1099DivListItem> forms)voidsetFormType(String formType)StringtoJson()Convert an instance of Form1099DivList 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_FORMS
public static final String SERIALIZED_NAME_FORMS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FORM_TYPE
public static final String SERIALIZED_NAME_FORM_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
forms
public Form1099DivList forms(List<Form1099DivListItem> forms)
-
addFormsItem
public Form1099DivList addFormsItem(Form1099DivListItem formsItem)
-
getForms
@Nullable public List<Form1099DivListItem> getForms()
Get forms- Returns:
- forms
-
setForms
public void setForms(List<Form1099DivListItem> forms)
-
formType
public Form1099DivList formType(String formType)
-
setFormType
public void setFormType(String formType)
-
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 Form1099DivList
-
fromJson
public static Form1099DivList fromJson(String jsonString) throws IOException
Create an instance of Form1099DivList given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Form1099DivList
- Throws:
IOException- if the JSON string is invalid with respect to Form1099DivList
-
toJson
public String toJson()
Convert an instance of Form1099DivList to an JSON string- Returns:
- JSON string
-
-