Package com.myjeeva.digitalocean.pojo
Class Action
java.lang.Object
com.myjeeva.digitalocean.pojo.RateLimitBase
com.myjeeva.digitalocean.pojo.Base
com.myjeeva.digitalocean.pojo.Action
- All Implemented Interfaces:
Serializable
Represents Action attributes
- Since:
- v2.0
- Author:
- Jeevanandam M. (jeeva@myjeeva.com)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getType()voidsetCompletedAt(Date completedAt) voidvoidvoidsetRegionSlug(String regionSlug) voidsetResourceId(Long resourceId) voidsetResourceType(ResourceType resourceType) voidsetStartedAt(Date startedAt) voidsetStatus(ActionStatus status) voidsetType(ActionType type) toString()Methods inherited from class com.myjeeva.digitalocean.pojo.Base
getLinks, getMeta, setLinks, setMetaMethods inherited from class com.myjeeva.digitalocean.pojo.RateLimitBase
getRateLimit, setRateLimit
-
Constructor Details
-
Action
public Action()
-
-
Method Details
-
toString
-
getId
- Returns:
- the id
-
setId
- Parameters:
id- the id to set
-
getResourceId
- Returns:
- the resourceId
-
setResourceId
- Parameters:
resourceId- the resourceId to set
-
getStatus
- Returns:
- the status
-
setStatus
- Parameters:
status- the status to set
-
getType
- Returns:
- the type
-
setType
- Parameters:
type- the type to set
-
getResourceType
- Returns:
- the resourceType
-
setResourceType
- Parameters:
resourceType- the resourceType to set
-
getStartedAt
- Returns:
- the startedAt
-
setStartedAt
- Parameters:
startedAt- the startedAt to set
-
getCompletedAt
- Returns:
- the completedAt
-
setCompletedAt
- Parameters:
completedAt- the completedAt to set
-
getRegion
- Returns:
- the region
-
setRegion
- Parameters:
region- the region to set
-
getRegionSlug
- Returns:
- the regionSlug
-
setRegionSlug
- Parameters:
regionSlug- the regionSlug to set
-