Package com.datarobot.model
Class Status
- java.lang.Object
-
- com.datarobot.model.ReturnsLocation
-
- com.datarobot.model.Status
-
- All Implemented Interfaces:
ILocationResponse,java.io.Serializable
public class Status extends ReturnsLocation implements java.io.Serializable, ILocationResponse
A reference to theStatusobject 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()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)internaljava.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()internaljava.lang.StringgetCode()Get the current status codeorg.joda.time.DateTimegetCreatedOn()Get the DateTime of when the status was createdjava.lang.StringgetDescription()Get a description describing details of the current statusjava.lang.StringgetId()Get the ID of thisStatusobjectjava.net.URIgetLocation()internaljava.lang.StringgetMessage()Get the message for the current statusjava.lang.StringgetObjectId()internaljava.net.URIgetResult()Get the location of the result of thisStatusobjectjava.lang.StringgetStatus()Get the current status of the processintgetStatusCode()Get the status code of thisStatusobjectjava.lang.StringgetStatusId()The ID of this status object.java.lang.StringgetStatusType()Get the status type of the current statusinthashCode()internalvoidsetAdditionalProperty(java.lang.String name, java.lang.Object value)internalvoidsetMessage(java.lang.String message)internalvoidsetObjectId(java.lang.String objectId)internalvoidsetResult(java.lang.String result)internalvoidsetStatus(java.lang.String status)internalvoidsetStatusCode(int statusCode)internalvoidsetStatusId()internalvoidsetStatusId(java.lang.String statusId)internaljava.lang.StringtoString()-
Methods inherited from class com.datarobot.model.ReturnsLocation
AssignLocation
-
-
-
-
Method Detail
-
getStatusCode
public int getStatusCode()
Get the status code of thisStatusobject- Specified by:
getStatusCodein interfaceILocationResponse- Returns:
- the status code
-
getId
public java.lang.String getId()
Get the ID of thisStatusobject- Returns:
- the status ID
-
getResult
public java.net.URI getResult()
Get the location of the result of thisStatusobject- Returns:
- the URI of the result
-
getStatusId
public java.lang.String getStatusId()
The ID of this status object.- Specified by:
getStatusIdin interfaceILocationResponse- 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
-
getLocation
public java.net.URI getLocation()
internal- Specified by:
getLocationin interfaceILocationResponse- Overrides:
getLocationin classReturnsLocation
-
setStatusId
public void setStatusId()
internal- Specified by:
setStatusIdin interfaceILocationResponse
-
setResult
public void setResult(java.lang.String result)
internal
-
getObjectId
public java.lang.String getObjectId()
internal- Specified by:
getObjectIdin interfaceILocationResponse
-
setObjectId
public void setObjectId(java.lang.String objectId)
internal- Specified by:
setObjectIdin interfaceILocationResponse
-
setStatus
public void setStatus(java.lang.String status)
internal
-
setMessage
public void setMessage(java.lang.String message)
internal
-
setStatusCode
public void setStatusCode(int statusCode)
internal- Specified by:
setStatusCodein interfaceILocationResponse
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
internal- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-