com.myjeeva.digitalocean.pojo
Class Response
java.lang.Object
com.myjeeva.digitalocean.pojo.Response
public class Response
- extends Object
Represents generic response return object of DigitalOcean API request
- Author:
- Jeevanandam M. (jeeva@myjeeva.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Response
public Response()
getStatus
public String getStatus()
- Returns:
- the status
setStatus
public void setStatus(String status)
- Parameters:
status
- the status to set
getEventId
public Long getEventId()
- Returns:
- the eventId
setEventId
public void setEventId(Long eventId)
- Parameters:
eventId
- the eventId to set
getErrorMessage
public String getErrorMessage()
- Returns:
- the errorMessage
setErrorMessage
public void setErrorMessage(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