Package Avalara.SDK.model.A1099.V2
Class Form1099ListRequest
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.Form1099ListRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class Form1099ListRequest extends Object
Form1099ListRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classForm1099ListRequest.CustomTypeAdapterFactorystatic classForm1099ListRequest.TypeEnumGets or Sets type
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_FORMSstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description Form1099ListRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Form1099ListRequestaddFormsItem(Get1099Form200Response formsItem)booleanequals(Object o)Form1099ListRequestforms(List<Get1099Form200Response> forms)static Form1099ListRequestfromJson(String jsonString)Create an instance of Form1099ListRequest given an JSON stringList<Get1099Form200Response>getForms()Get formsForm1099ListRequest.TypeEnumgetType()Get typeinthashCode()voidsetForms(List<Get1099Form200Response> forms)voidsetType(Form1099ListRequest.TypeEnum type)StringtoJson()Convert an instance of Form1099ListRequest to an JSON stringStringtoString()Form1099ListRequesttype(Form1099ListRequest.TypeEnum type)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FORMS
public static final String SERIALIZED_NAME_FORMS
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public Form1099ListRequest type(Form1099ListRequest.TypeEnum type)
-
getType
@Nullable public Form1099ListRequest.TypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(Form1099ListRequest.TypeEnum type)
-
forms
public Form1099ListRequest forms(List<Get1099Form200Response> forms)
-
addFormsItem
public Form1099ListRequest addFormsItem(Get1099Form200Response formsItem)
-
getForms
@Nullable public List<Get1099Form200Response> getForms()
Get forms- Returns:
- forms
-
setForms
public void setForms(List<Get1099Form200Response> forms)
-
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 Form1099ListRequest
-
fromJson
public static Form1099ListRequest fromJson(String jsonString) throws IOException
Create an instance of Form1099ListRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Form1099ListRequest
- Throws:
IOException- if the JSON string is invalid with respect to Form1099ListRequest
-
toJson
public String toJson()
Convert an instance of Form1099ListRequest to an JSON string- Returns:
- JSON string
-
-