Package Avalara.SDK.model.A1099.V2
Class Form1099RList
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.Form1099RList
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class Form1099RList extends Object
Form1099RList
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classForm1099RList.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 Form1099RList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Form1099RListaddFormsItem(Form1099RListItem formsItem)booleanequals(Object o)Form1099RListforms(List<Form1099RListItem> forms)Form1099RListformType(String formType)static Form1099RListfromJson(String jsonString)Create an instance of Form1099RList given an JSON stringList<Form1099RListItem>getForms()Get formsStringgetFormType()Get formTypeinthashCode()voidsetForms(List<Form1099RListItem> forms)voidsetFormType(String formType)StringtoJson()Convert an instance of Form1099RList 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 Form1099RList forms(List<Form1099RListItem> forms)
-
addFormsItem
public Form1099RList addFormsItem(Form1099RListItem formsItem)
-
getForms
@Nullable public List<Form1099RListItem> getForms()
Get forms- Returns:
- forms
-
setForms
public void setForms(List<Form1099RListItem> forms)
-
formType
public Form1099RList 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 Form1099RList
-
fromJson
public static Form1099RList fromJson(String jsonString) throws IOException
Create an instance of Form1099RList given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Form1099RList
- Throws:
IOException- if the JSON string is invalid with respect to Form1099RList
-
toJson
public String toJson()
Convert an instance of Form1099RList to an JSON string- Returns:
- JSON string
-
-