Package Avalara.SDK.model.A1099.V2
Class Update1099Form200Response
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.AbstractOpenApiSchema
-
- Avalara.SDK.model.A1099.V2.Update1099Form200Response
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class Update1099Form200Response extends AbstractOpenApiSchema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdate1099Form200Response.CustomTypeAdapterFactory
-
Constructor Summary
Constructors Constructor Description Update1099Form200Response()Update1099Form200Response(Object o)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Update1099Form200ResponsefromJson(String jsonString)Create an instance of Update1099Form200Response given an JSON stringObjectgetActualInstance()Get the actual instance, which can be the following: Form1042SResponse, Form1099DivResponse, Form1099MiscResponse, Form1099NecResponse, FormResponseBaseForm1042SResponsegetForm1042SResponse()Get the actual instance of `Form1042SResponse`.Form1099DivResponsegetForm1099DivResponse()Get the actual instance of `Form1099DivResponse`.Form1099MiscResponsegetForm1099MiscResponse()Get the actual instance of `Form1099MiscResponse`.Form1099NecResponsegetForm1099NecResponse()Get the actual instance of `Form1099NecResponse`.FormResponseBasegetFormResponseBase()Get the actual instance of `FormResponseBase`.Map<String,Class<?>>getSchemas()Get the list of oneOf/anyOf composed schemas allowed to be stored in this objectvoidsetActualInstance(Object instance)Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: Form1042SResponse, Form1099DivResponse, Form1099MiscResponse, Form1099NecResponse, FormResponseBase It could be an instance of the 'oneOf' schemas.StringtoJson()Convert an instance of Update1099Form200Response to an JSON stringstatic voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found-
Methods inherited from class Avalara.SDK.model.A1099.V2.AbstractOpenApiSchema
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toString
-
-
-
-
Constructor Detail
-
Update1099Form200Response
public Update1099Form200Response()
-
Update1099Form200Response
public Update1099Form200Response(Object o)
-
-
Method Detail
-
getSchemas
public Map<String,Class<?>> getSchemas()
Description copied from class:AbstractOpenApiSchemaGet the list of oneOf/anyOf composed schemas allowed to be stored in this object- Specified by:
getSchemasin classAbstractOpenApiSchema- Returns:
- an instance of the actual schema/object
-
setActualInstance
public void setActualInstance(Object instance)
Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: Form1042SResponse, Form1099DivResponse, Form1099MiscResponse, Form1099NecResponse, FormResponseBase It could be an instance of the 'oneOf' schemas.- Overrides:
setActualInstancein classAbstractOpenApiSchema- Parameters:
instance- the actual instance of the schema/object
-
getActualInstance
public Object getActualInstance()
Get the actual instance, which can be the following: Form1042SResponse, Form1099DivResponse, Form1099MiscResponse, Form1099NecResponse, FormResponseBase- Overrides:
getActualInstancein classAbstractOpenApiSchema- Returns:
- The actual instance (Form1042SResponse, Form1099DivResponse, Form1099MiscResponse, Form1099NecResponse, FormResponseBase)
-
getFormResponseBase
public FormResponseBase getFormResponseBase() throws ClassCastException
Get the actual instance of `FormResponseBase`. If the actual instance is not `FormResponseBase`, the ClassCastException will be thrown.- Returns:
- The actual instance of `FormResponseBase`
- Throws:
ClassCastException- if the instance is not `FormResponseBase`
-
getForm1042SResponse
public Form1042SResponse getForm1042SResponse() throws ClassCastException
Get the actual instance of `Form1042SResponse`. If the actual instance is not `Form1042SResponse`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1042SResponse`
- Throws:
ClassCastException- if the instance is not `Form1042SResponse`
-
getForm1099DivResponse
public Form1099DivResponse getForm1099DivResponse() throws ClassCastException
Get the actual instance of `Form1099DivResponse`. If the actual instance is not `Form1099DivResponse`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099DivResponse`
- Throws:
ClassCastException- if the instance is not `Form1099DivResponse`
-
getForm1099MiscResponse
public Form1099MiscResponse getForm1099MiscResponse() throws ClassCastException
Get the actual instance of `Form1099MiscResponse`. If the actual instance is not `Form1099MiscResponse`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099MiscResponse`
- Throws:
ClassCastException- if the instance is not `Form1099MiscResponse`
-
getForm1099NecResponse
public Form1099NecResponse getForm1099NecResponse() throws ClassCastException
Get the actual instance of `Form1099NecResponse`. If the actual instance is not `Form1099NecResponse`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099NecResponse`
- Throws:
ClassCastException- if the instance is not `Form1099NecResponse`
-
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 Update1099Form200Response
-
fromJson
public static Update1099Form200Response fromJson(String jsonString) throws IOException
Create an instance of Update1099Form200Response given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Update1099Form200Response
- Throws:
IOException- if the JSON string is invalid with respect to Update1099Form200Response
-
toJson
public String toJson()
Convert an instance of Update1099Form200Response to an JSON string- Returns:
- JSON string
-
-