Package Avalara.SDK.model.A1099.V2
Class IncludedBase
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.IncludedBase
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class IncludedBase extends Object
IncludedBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIncludedBase.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description IncludedBase()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static IncludedBasefromJson(String jsonString)Create an instance of IncludedBase given an JSON stringStringgetId()Get idStringgetType()Get typeinthashCode()IncludedBaseid(String id)voidsetId(String id)voidsetType(String type)StringtoJson()Convert an instance of IncludedBase to an JSON stringStringtoString()IncludedBasetype(String type)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public IncludedBase id(String id)
-
setId
public void setId(String id)
-
type
public IncludedBase type(String type)
-
setType
public void setType(String type)
-
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 IncludedBase
-
fromJson
public static IncludedBase fromJson(String jsonString) throws IOException
Create an instance of IncludedBase given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IncludedBase
- Throws:
IOException- if the JSON string is invalid with respect to IncludedBase
-
toJson
public String toJson()
Convert an instance of IncludedBase to an JSON string- Returns:
- JSON string
-
-