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