Package Avalara.SDK.model.A1099.V2
Class Get1099Form200Response
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.AbstractOpenApiSchema
-
- Avalara.SDK.model.A1099.V2.Get1099Form200Response
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class Get1099Form200Response extends AbstractOpenApiSchema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGet1099Form200Response.CustomTypeAdapterFactory
-
Constructor Summary
Constructors Constructor Description Get1099Form200Response()Get1099Form200Response(Object o)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Get1099Form200ResponsefromJson(String jsonString)Create an instance of Get1099Form200Response given an JSON stringObjectgetActualInstance()Get the actual instance, which can be the following: Form1042S, Form1095B, Form1095C, Form1099Div, Form1099Int, Form1099K, Form1099Misc, Form1099Nec, Form1099RForm1042SgetForm1042S()Get the actual instance of `Form1042S`.Form1095BgetForm1095B()Get the actual instance of `Form1095B`.Form1095CgetForm1095C()Get the actual instance of `Form1095C`.Form1099DivgetForm1099Div()Get the actual instance of `Form1099Div`.Form1099IntgetForm1099Int()Get the actual instance of `Form1099Int`.Form1099KgetForm1099K()Get the actual instance of `Form1099K`.Form1099MiscgetForm1099Misc()Get the actual instance of `Form1099Misc`.Form1099NecgetForm1099Nec()Get the actual instance of `Form1099Nec`.Form1099RgetForm1099R()Get the actual instance of `Form1099R`.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: Form1042S, Form1095B, Form1095C, Form1099Div, Form1099Int, Form1099K, Form1099Misc, Form1099Nec, Form1099R It could be an instance of the 'oneOf' schemas.StringtoJson()Convert an instance of Get1099Form200Response 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
-
Get1099Form200Response
public Get1099Form200Response()
-
Get1099Form200Response
public Get1099Form200Response(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: Form1042S, Form1095B, Form1095C, Form1099Div, Form1099Int, Form1099K, Form1099Misc, Form1099Nec, Form1099R 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: Form1042S, Form1095B, Form1095C, Form1099Div, Form1099Int, Form1099K, Form1099Misc, Form1099Nec, Form1099R- Overrides:
getActualInstancein classAbstractOpenApiSchema- Returns:
- The actual instance (Form1042S, Form1095B, Form1095C, Form1099Div, Form1099Int, Form1099K, Form1099Misc, Form1099Nec, Form1099R)
-
getForm1042S
public Form1042S getForm1042S() throws ClassCastException
Get the actual instance of `Form1042S`. If the actual instance is not `Form1042S`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1042S`
- Throws:
ClassCastException- if the instance is not `Form1042S`
-
getForm1095B
public Form1095B getForm1095B() throws ClassCastException
Get the actual instance of `Form1095B`. If the actual instance is not `Form1095B`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1095B`
- Throws:
ClassCastException- if the instance is not `Form1095B`
-
getForm1095C
public Form1095C getForm1095C() throws ClassCastException
Get the actual instance of `Form1095C`. If the actual instance is not `Form1095C`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1095C`
- Throws:
ClassCastException- if the instance is not `Form1095C`
-
getForm1099Div
public Form1099Div getForm1099Div() throws ClassCastException
Get the actual instance of `Form1099Div`. If the actual instance is not `Form1099Div`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099Div`
- Throws:
ClassCastException- if the instance is not `Form1099Div`
-
getForm1099Int
public Form1099Int getForm1099Int() throws ClassCastException
Get the actual instance of `Form1099Int`. If the actual instance is not `Form1099Int`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099Int`
- Throws:
ClassCastException- if the instance is not `Form1099Int`
-
getForm1099K
public Form1099K getForm1099K() throws ClassCastException
Get the actual instance of `Form1099K`. If the actual instance is not `Form1099K`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099K`
- Throws:
ClassCastException- if the instance is not `Form1099K`
-
getForm1099Misc
public Form1099Misc getForm1099Misc() throws ClassCastException
Get the actual instance of `Form1099Misc`. If the actual instance is not `Form1099Misc`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099Misc`
- Throws:
ClassCastException- if the instance is not `Form1099Misc`
-
getForm1099Nec
public Form1099Nec getForm1099Nec() throws ClassCastException
Get the actual instance of `Form1099Nec`. If the actual instance is not `Form1099Nec`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099Nec`
- Throws:
ClassCastException- if the instance is not `Form1099Nec`
-
getForm1099R
public Form1099R getForm1099R() throws ClassCastException
Get the actual instance of `Form1099R`. If the actual instance is not `Form1099R`, the ClassCastException will be thrown.- Returns:
- The actual instance of `Form1099R`
- Throws:
ClassCastException- if the instance is not `Form1099R`
-
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 Get1099Form200Response
-
fromJson
public static Get1099Form200Response fromJson(String jsonString) throws IOException
Create an instance of Get1099Form200Response given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Get1099Form200Response
- Throws:
IOException- if the JSON string is invalid with respect to Get1099Form200Response
-
toJson
public String toJson()
Convert an instance of Get1099Form200Response to an JSON string- Returns:
- JSON string
-
-