Class DocumentSubmissionError


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class DocumentSubmissionError
    extends Object
    Returns an HTTP status code and message for an 'exception'
    • Constructor Detail

      • DocumentSubmissionError

        public DocumentSubmissionError()
    • Method Detail

      • getStatusCode

        @Nullable
        public String getStatusCode()
        The three-digit HTTP status code for the exception
        Returns:
        statusCode
      • setStatusCode

        public void setStatusCode​(String statusCode)
      • getMessage

        @Nullable
        public String getMessage()
        A message explaining the exception
        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 DocumentSubmissionError
      • fromJson

        public static DocumentSubmissionError fromJson​(String jsonString)
                                                throws IOException
        Create an instance of DocumentSubmissionError given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of DocumentSubmissionError
        Throws:
        IOException - if the JSON string is invalid with respect to DocumentSubmissionError
      • toJson

        public String toJson()
        Convert an instance of DocumentSubmissionError to an JSON string
        Returns:
        JSON string