com.myjeeva.digitalocean.pojo
Class Response
java.lang.Object
com.myjeeva.digitalocean.pojo.Response
public class Response
- extends java.lang.Object
Represents generic response return object of DigitalOcean API request
- Author:
- Jeevanandam M. ([email protected])
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Response
public Response()
getStatus
public java.lang.String getStatus()
- Returns:
- the status
setStatus
public void setStatus(java.lang.String status)
- Parameters:
status
- the status to set
getEventId
public java.lang.Long getEventId()
- Returns:
- the eventId
setEventId
public void setEventId(java.lang.Long eventId)
- Parameters:
eventId
- the eventId to set
getErrorMessage
public java.lang.String getErrorMessage()
- Returns:
- the errorMessage
setErrorMessage
public void setErrorMessage(java.lang.String errorMessage)
- Parameters:
errorMessage
- the errorMessage to set
getEvent
public Event getEvent()
- Returns:
- the event
setEvent
public void setEvent(Event event)
- Parameters:
event
- the event to set