Package com.myjeeva.digitalocean.pojo
Class Network
java.lang.Object
com.myjeeva.digitalocean.pojo.RateLimitBase
com.myjeeva.digitalocean.pojo.Base
com.myjeeva.digitalocean.pojo.Network
- All Implemented Interfaces:
Serializable
Represents DigitalOcean Network attributes
- Since:
- v2.0
- Author:
- Jeevanandam M. (jeeva@myjeeva.com)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()voidsetGateway(String gateway) voidsetIpAddress(String ipAddress) voidsetNetmask(String netmask) voidtoString()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
-
Network
public Network()
-
-
Method Details
-
toString
-
getIpAddress
- Returns:
- the ipAddress
-
setIpAddress
- Parameters:
ipAddress- the ipAddress to set
-
getNetmask
- Returns:
- the netmask
-
setNetmask
- Parameters:
netmask- the netmask to set
-
getGateway
- Returns:
- the gateway
-
setGateway
- Parameters:
gateway- the gateway to set
-
getType
- Returns:
- the type
-
setType
- Parameters:
type- the type to set
-