Class Status

  • All Implemented Interfaces:
    ILocationResponse, java.io.Serializable

    public class Status
    extends ReturnsLocation
    implements java.io.Serializable, ILocationResponse
    A reference to the Status object for a task on the DataRobot server. Client code that uses the DataRobot AI API package generally should not construct these objects directly, they should be instantiated by AI API Client methods. This object may be out of sync with the DataRobot sever, for example, if multiple processes or users have permission to modify or delete it on the server.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Status()  
    • Constructor Detail

      • Status

        public Status()
    • Method Detail

      • getId

        public java.lang.String getId()
        Get the ID of this Status object
        Returns:
        the status ID
      • getResult

        public java.net.URI getResult()
        Get the location of the result of this Status object
        Returns:
        the URI of the result
      • getStatusId

        public java.lang.String getStatusId()
        The ID of this status object.
        Specified by:
        getStatusId in interface ILocationResponse
        Returns:
        An ID used to refer to this status object.
      • getStatus

        public java.lang.String getStatus()
        Get the current status of the process
        Returns:
        The current status indicating what step a process is currently in
      • getCode

        public java.lang.String getCode()
        Get the current status code
        Returns:
        the status code
      • getDescription

        public java.lang.String getDescription()
        Get a description describing details of the current status
        Returns:
        a description of the current status
      • getCreatedOn

        public org.joda.time.DateTime getCreatedOn()
        Get the DateTime of when the status was created
        Returns:
        DateTime of when the status was created
      • getMessage

        public java.lang.String getMessage()
        Get the message for the current status
        Returns:
        the message for the current status
      • getStatusType

        public java.lang.String getStatusType()
        Get the status type of the current status
        Returns:
        the status type
      • setResult

        public void setResult​(java.lang.String result)
        internal
      • setStatus

        public void setStatus​(java.lang.String status)
        internal
      • setMessage

        public void setMessage​(java.lang.String message)
        internal
      • setStatusId

        public void setStatusId​(java.lang.String statusId)
        internal
      • setAdditionalProperty

        public void setAdditionalProperty​(java.lang.String name,
                                          java.lang.Object value)
        internal
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
        internal
      • hashCode

        public int hashCode()
        internal
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        internal
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object