Package Avalara.SDK.model.EInvoicing.V1
Class UpdateTradingPartner200Response
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.UpdateTradingPartner200Response
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class UpdateTradingPartner200Response extends Object
UpdateTradingPartner200Response
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateTradingPartner200Response.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_MESSAGEstatic StringSERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description UpdateTradingPartner200Response()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static UpdateTradingPartner200ResponsefromJson(String jsonString)Create an instance of UpdateTradingPartner200Response given an JSON stringStringgetId()Avalara unique ID of the participant in the directory.StringgetMessage()A human-readable message providing additional context or feedback about the outcome of the operation.StringgetStatus()The status of the create operation.inthashCode()UpdateTradingPartner200Responseid(String id)UpdateTradingPartner200Responsemessage(String message)voidsetId(String id)voidsetMessage(String message)voidsetStatus(String status)UpdateTradingPartner200Responsestatus(String status)StringtoJson()Convert an instance of UpdateTradingPartner200Response 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_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public UpdateTradingPartner200Response id(String id)
-
getId
@Nullable public String getId()
Avalara unique ID of the participant in the directory.- Returns:
- id
-
setId
public void setId(String id)
-
status
public UpdateTradingPartner200Response status(String status)
-
setStatus
public void setStatus(String status)
-
message
public UpdateTradingPartner200Response message(String message)
-
getMessage
@Nullable public String getMessage()
A human-readable message providing additional context or feedback about the outcome of the operation.- Returns:
- 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 UpdateTradingPartner200Response
-
fromJson
public static UpdateTradingPartner200Response fromJson(String jsonString) throws IOException
Create an instance of UpdateTradingPartner200Response given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateTradingPartner200Response
- Throws:
IOException- if the JSON string is invalid with respect to UpdateTradingPartner200Response
-
toJson
public String toJson()
Convert an instance of UpdateTradingPartner200Response to an JSON string- Returns:
- JSON string
-
-