Class CreateTradingPartner201Response


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class CreateTradingPartner201Response
    extends Object
    CreateTradingPartner201Response
    • Constructor Detail

      • CreateTradingPartner201Response

        public CreateTradingPartner201Response()
    • Method Detail

      • getId

        @Nullable
        public String getId()
        Avalara unique ID of the participant in the directory.
        Returns:
        id
      • setId

        public void setId​(String id)
      • getStatus

        @Nullable
        public String getStatus()
        The status of the create operation.
        Returns:
        status
      • setStatus

        public void setStatus​(String status)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates 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