Class Model401Response


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

      • Model401Response

        public Model401Response()
    • Method Detail

      • getTitle

        @Nullable
        public String getTitle()
        Error title
        Returns:
        title
      • setTitle

        public void setTitle​(String title)
      • getStatus

        @Nullable
        public String getStatus()
        Error status code
        Returns:
        status
      • setStatus

        public void setStatus​(String status)
      • getErrorCode

        @Nullable
        public String getErrorCode()
        Error code
        Returns:
        errorCode
      • setErrorCode

        public void setErrorCode​(String errorCode)
      • getMessage

        @Nullable
        public String getMessage()
        Error message
        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 Model401Response
      • fromJson

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

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