Package Avalara.SDK.model.A1099.V2
Class AuthorizedApiRequestV2DataModel
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.AuthorizedApiRequestV2DataModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class AuthorizedApiRequestV2DataModel extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthorizedApiRequestV2DataModel.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EXPIRES_ATstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_PATH
-
Constructor Summary
Constructors Constructor Description AuthorizedApiRequestV2DataModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)AuthorizedApiRequestV2DataModelexpiresAt(String expiresAt)static AuthorizedApiRequestV2DataModelfromJson(String jsonString)Create an instance of AuthorizedApiRequestV2DataModel given an JSON stringStringgetExpiresAt()StringgetId()StringgetPath()inthashCode()AuthorizedApiRequestV2DataModelid(String id)AuthorizedApiRequestV2DataModelpath(String path)voidsetExpiresAt(String expiresAt)voidsetId(String id)voidsetPath(String path)StringtoJson()Convert an instance of AuthorizedApiRequestV2DataModel to an JSON stringStringtoString()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_PATH
public static final String SERIALIZED_NAME_PATH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXPIRES_AT
public static final String SERIALIZED_NAME_EXPIRES_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public AuthorizedApiRequestV2DataModel id(String id)
-
setId
public void setId(String id)
-
path
public AuthorizedApiRequestV2DataModel path(String path)
-
setPath
public void setPath(String path)
-
expiresAt
public AuthorizedApiRequestV2DataModel expiresAt(String expiresAt)
-
setExpiresAt
public void setExpiresAt(String expiresAt)
-
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 AuthorizedApiRequestV2DataModel
-
fromJson
public static AuthorizedApiRequestV2DataModel fromJson(String jsonString) throws IOException
Create an instance of AuthorizedApiRequestV2DataModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AuthorizedApiRequestV2DataModel
- Throws:
IOException- if the JSON string is invalid with respect to AuthorizedApiRequestV2DataModel
-
toJson
public String toJson()
Convert an instance of AuthorizedApiRequestV2DataModel to an JSON string- Returns:
- JSON string
-
-