Package Avalara.SDK.model.A1099.V2
Class Form1099ListResponseValueInner
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.AbstractOpenApiSchema
-
- Avalara.SDK.model.A1099.V2.Form1099ListResponseValueInner
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class Form1099ListResponseValueInner extends AbstractOpenApiSchema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classForm1099ListResponseValueInner.CustomTypeAdapterFactory
-
Constructor Summary
Constructors Constructor Description Form1099ListResponseValueInner()Form1099ListResponseValueInner(Object o)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Form1099ListResponseValueInnerfromJson(String jsonString)Create an instance of Form1099ListResponseValueInner given an JSON stringObjectgetActualInstance()Get the actual instance, which can be the following: Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099IntListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponseForm1042SListItemResponsegetForm1042SListItemResponse()Get the actual instance of `Form1042SListItemResponse`.Form1095BListItemResponsegetForm1095BListItemResponse()Get the actual instance of `Form1095BListItemResponse`.Form1099BaseResponsegetForm1099BaseResponse()Get the actual instance of `Form1099BaseResponse`.Form1099DivListItemResponsegetForm1099DivListItemResponse()Get the actual instance of `Form1099DivListItemResponse`.Form1099IntListItemResponsegetForm1099IntListItemResponse()Get the actual instance of `Form1099IntListItemResponse`.Form1099KListItemResponsegetForm1099KListItemResponse()Get the actual instance of `Form1099KListItemResponse`.Form1099MiscListItemResponsegetForm1099MiscListItemResponse()Get the actual instance of `Form1099MiscListItemResponse`.Form1099NecListItemResponsegetForm1099NecListItemResponse()Get the actual instance of `Form1099NecListItemResponse`.Form1099RListItemResponsegetForm1099RListItemResponse()Get the actual instance of `Form1099RListItemResponse`.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: Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099IntListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse It could be an instance of the 'oneOf' schemas.StringtoJson()Convert an instance of Form1099ListResponseValueInner 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
-
Form1099ListResponseValueInner
public Form1099ListResponseValueInner()
-
Form1099ListResponseValueInner
public Form1099ListResponseValueInner(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: Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099IntListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse 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: Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099IntListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse- Overrides:
getActualInstancein classAbstractOpenApiSchema- Returns:
- The actual instance (Form1042SListItemResponse, Form1095BListItemResponse, Form1099BaseResponse, Form1099DivListItemResponse, Form1099IntListItemResponse, Form1099KListItemResponse, Form1099MiscListItemResponse, Form1099NecListItemResponse, Form1099RListItemResponse)
-
getForm1099BaseResponse
public Form1099BaseResponse getForm1099BaseResponse() throws ClassCastException
Get the actual instance of `Form1099BaseResponse`. If the actual instance is not `Form1099BaseResponse`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099BaseResponse`
- Throws:
ClassCastException- if the instance is not `Form1099BaseResponse`
-
getForm1042SListItemResponse
public Form1042SListItemResponse getForm1042SListItemResponse() throws ClassCastException
Get the actual instance of `Form1042SListItemResponse`. If the actual instance is not `Form1042SListItemResponse`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1042SListItemResponse`
- Throws:
ClassCastException- if the instance is not `Form1042SListItemResponse`
-
getForm1095BListItemResponse
public Form1095BListItemResponse getForm1095BListItemResponse() throws ClassCastException
Get the actual instance of `Form1095BListItemResponse`. If the actual instance is not `Form1095BListItemResponse`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1095BListItemResponse`
- Throws:
ClassCastException- if the instance is not `Form1095BListItemResponse`
-
getForm1099DivListItemResponse
public Form1099DivListItemResponse getForm1099DivListItemResponse() throws ClassCastException
Get the actual instance of `Form1099DivListItemResponse`. If the actual instance is not `Form1099DivListItemResponse`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099DivListItemResponse`
- Throws:
ClassCastException- if the instance is not `Form1099DivListItemResponse`
-
getForm1099IntListItemResponse
public Form1099IntListItemResponse getForm1099IntListItemResponse() throws ClassCastException
Get the actual instance of `Form1099IntListItemResponse`. If the actual instance is not `Form1099IntListItemResponse`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099IntListItemResponse`
- Throws:
ClassCastException- if the instance is not `Form1099IntListItemResponse`
-
getForm1099KListItemResponse
public Form1099KListItemResponse getForm1099KListItemResponse() throws ClassCastException
Get the actual instance of `Form1099KListItemResponse`. If the actual instance is not `Form1099KListItemResponse`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099KListItemResponse`
- Throws:
ClassCastException- if the instance is not `Form1099KListItemResponse`
-
getForm1099MiscListItemResponse
public Form1099MiscListItemResponse getForm1099MiscListItemResponse() throws ClassCastException
Get the actual instance of `Form1099MiscListItemResponse`. If the actual instance is not `Form1099MiscListItemResponse`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099MiscListItemResponse`
- Throws:
ClassCastException- if the instance is not `Form1099MiscListItemResponse`
-
getForm1099NecListItemResponse
public Form1099NecListItemResponse getForm1099NecListItemResponse() throws ClassCastException
Get the actual instance of `Form1099NecListItemResponse`. If the actual instance is not `Form1099NecListItemResponse`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099NecListItemResponse`
- Throws:
ClassCastException- if the instance is not `Form1099NecListItemResponse`
-
getForm1099RListItemResponse
public Form1099RListItemResponse getForm1099RListItemResponse() throws ClassCastException
Get the actual instance of `Form1099RListItemResponse`. If the actual instance is not `Form1099RListItemResponse`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099RListItemResponse`
- Throws:
ClassCastException- if the instance is not `Form1099RListItemResponse`
-
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 Form1099ListResponseValueInner
-
fromJson
public static Form1099ListResponseValueInner fromJson(String jsonString) throws IOException
Create an instance of Form1099ListResponseValueInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Form1099ListResponseValueInner
- Throws:
IOException- if the JSON string is invalid with respect to Form1099ListResponseValueInner
-
toJson
public String toJson()
Convert an instance of Form1099ListResponseValueInner to an JSON string- Returns:
- JSON string
-
-