Package Avalara.SDK.model.EInvoicing.V1
Class SuccessResponse
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.SuccessResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class SuccessResponse extends Object
SuccessResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSuccessResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_MESSAGE
-
Constructor Summary
Constructors Constructor Description SuccessResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static SuccessResponsefromJson(String jsonString)Create an instance of SuccessResponse given an JSON stringStringgetId()Unique identifier for the new or updated entity.StringgetMessage()Success messageinthashCode()SuccessResponseid(String id)SuccessResponsemessage(String message)voidsetId(String id)voidsetMessage(String message)StringtoJson()Convert an instance of SuccessResponse 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_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public SuccessResponse id(String id)
-
setId
public void setId(String id)
-
message
public SuccessResponse message(String message)
-
setMessage
public void setMessage(String message)
-
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 SuccessResponse
-
fromJson
public static SuccessResponse fromJson(String jsonString) throws IOException
Create an instance of SuccessResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SuccessResponse
- Throws:
IOException- if the JSON string is invalid with respect to SuccessResponse
-
toJson
public String toJson()
Convert an instance of SuccessResponse to an JSON string- Returns:
- JSON string
-
-