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