Package Avalara.SDK.model.EInvoicing.V1
Class SignatureValueSignature
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.SignatureValueSignature
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class SignatureValueSignature extends Object
SignatureValueSignature
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSignatureValueSignature.AlgorithmEnumThe algorithm used to create the signature.static classSignatureValueSignature.CustomTypeAdapterFactorystatic classSignatureValueSignature.TypeEnumGets or Sets type
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ALGORITHMstatic StringSERIALIZED_NAME_TYPEstatic StringSERIALIZED_NAME_VALUE
-
Constructor Summary
Constructors Constructor Description SignatureValueSignature()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SignatureValueSignaturealgorithm(SignatureValueSignature.AlgorithmEnum algorithm)booleanequals(Object o)static SignatureValueSignaturefromJson(String jsonString)Create an instance of SignatureValueSignature given an JSON stringSignatureValueSignature.AlgorithmEnumgetAlgorithm()The algorithm used to create the signature.SignatureValueSignature.TypeEnumgetType()Get typeStringgetValue()Signature of the message.inthashCode()voidsetAlgorithm(SignatureValueSignature.AlgorithmEnum algorithm)voidsetType(SignatureValueSignature.TypeEnum type)voidsetValue(String value)StringtoJson()Convert an instance of SignatureValueSignature to an JSON stringStringtoString()SignatureValueSignaturetype(SignatureValueSignature.TypeEnum type)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundSignatureValueSignaturevalue(String value)
-
-
-
Field Detail
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ALGORITHM
public static final String SERIALIZED_NAME_ALGORITHM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public SignatureValueSignature type(SignatureValueSignature.TypeEnum type)
-
getType
@Nonnull public SignatureValueSignature.TypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(SignatureValueSignature.TypeEnum type)
-
algorithm
public SignatureValueSignature algorithm(SignatureValueSignature.AlgorithmEnum algorithm)
-
getAlgorithm
@Nonnull public SignatureValueSignature.AlgorithmEnum getAlgorithm()
The algorithm used to create the signature.- Returns:
- algorithm
-
setAlgorithm
public void setAlgorithm(SignatureValueSignature.AlgorithmEnum algorithm)
-
value
public SignatureValueSignature value(String value)
-
setValue
public void setValue(String value)
-
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 SignatureValueSignature
-
fromJson
public static SignatureValueSignature fromJson(String jsonString) throws IOException
Create an instance of SignatureValueSignature given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SignatureValueSignature
- Throws:
IOException- if the JSON string is invalid with respect to SignatureValueSignature
-
toJson
public String toJson()
Convert an instance of SignatureValueSignature to an JSON string- Returns:
- JSON string
-
-