Package Avalara.SDK.model.EInvoicing.V1
Class CreateTradingPartner201Response
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.CreateTradingPartner201Response
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class CreateTradingPartner201Response extends Object
CreateTradingPartner201Response
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateTradingPartner201Response.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 CreateTradingPartner201Response()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static CreateTradingPartner201ResponsefromJson(String jsonString)Create an instance of CreateTradingPartner201Response 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()CreateTradingPartner201Responseid(String id)CreateTradingPartner201Responsemessage(String message)voidsetId(String id)voidsetMessage(String message)voidsetStatus(String status)CreateTradingPartner201Responsestatus(String status)StringtoJson()Convert an instance of CreateTradingPartner201Response 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 CreateTradingPartner201Response 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 CreateTradingPartner201Response status(String status)
-
setStatus
public void setStatus(String status)
-
message
public CreateTradingPartner201Response 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 CreateTradingPartner201Response
-
fromJson
public static CreateTradingPartner201Response fromJson(String jsonString) throws IOException
Create an instance of CreateTradingPartner201Response given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateTradingPartner201Response
- Throws:
IOException- if the JSON string is invalid with respect to CreateTradingPartner201Response
-
toJson
public String toJson()
Convert an instance of CreateTradingPartner201Response to an JSON string- Returns:
- JSON string
-
-