Package Avalara.SDK.model.EInvoicing.V1
Class EventPayload
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.EventPayload
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class EventPayload extends Object
EventPayload
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventPayload.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_MESSAGEstatic StringSERIALIZED_NAME_SIGNATURE
-
Constructor Summary
Constructors Constructor Description EventPayload()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static EventPayloadfromJson(String jsonString)Create an instance of EventPayload given an JSON stringObjectgetMessage()Event-specific informationSignatureValueSignaturegetSignature()Get signatureinthashCode()EventPayloadmessage(Object message)voidsetMessage(Object message)voidsetSignature(SignatureValueSignature signature)EventPayloadsignature(SignatureValueSignature signature)StringtoJson()Convert an instance of EventPayload 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_SIGNATURE
public static final String SERIALIZED_NAME_SIGNATURE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
signature
public EventPayload signature(SignatureValueSignature signature)
-
getSignature
@Nonnull public SignatureValueSignature getSignature()
Get signature- Returns:
- signature
-
setSignature
public void setSignature(SignatureValueSignature signature)
-
message
public EventPayload message(Object message)
-
setMessage
public void setMessage(Object 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 EventPayload
-
fromJson
public static EventPayload fromJson(String jsonString) throws IOException
Create an instance of EventPayload given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EventPayload
- Throws:
IOException- if the JSON string is invalid with respect to EventPayload
-
toJson
public String toJson()
Convert an instance of EventPayload to an JSON string- Returns:
- JSON string
-
-