Package com.myjeeva.digitalocean.pojo
Class Region
java.lang.Object
com.myjeeva.digitalocean.pojo.RateLimitBase
com.myjeeva.digitalocean.pojo.Base
com.myjeeva.digitalocean.pojo.Region
- All Implemented Interfaces:
Serializable
Represents Region (aka Data Center) attributes of DigitalOcean. Revised as per v2 API data
structure.
- Author:
- Jeevanandam M. (jeeva@myjeeva.com)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()getSizes()getSlug()booleanvoidsetAvailable(boolean available) voidsetFeatures(List<String> features) voidvoidvoidtoString()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
-
Region
public Region() -
Region
-
-
Method Details
-
toString
-
getSlug
- Returns:
- the slug
-
setSlug
- Parameters:
slug- the slug to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getSizes
- Returns:
- the sizes
-
setSizes
- Parameters:
sizes- the sizes to set
-
isAvailable
public boolean isAvailable()- Returns:
- the available
-
setAvailable
public void setAvailable(boolean available) - Parameters:
available- the available to set
-
getFeatures
- Returns:
- the features
-
setFeatures
- Parameters:
features- the features to set
-