Package com.myjeeva.digitalocean.pojo
Class Domain
java.lang.Object
com.myjeeva.digitalocean.pojo.RateLimitBase
com.myjeeva.digitalocean.pojo.Base
com.myjeeva.digitalocean.pojo.Domain
- All Implemented Interfaces:
Serializable
Represents Domain (TLD) attributes of DigitalOcean DNS. Revised as per v2 API data structure.
- Author:
- Jeevanandam M. (jeeva@myjeeva.com)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidsetIpAddress(String ipAddress) voidvoidsetTimeToLive(Integer timeToLive) voidsetZoneFile(String zoneFile) 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
-
Domain
public Domain() -
Domain
-
-
Method Details
-
toString
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getTimeToLive
- Returns:
- the timeToLive
-
setTimeToLive
- Parameters:
timeToLive- the timeToLive to set
-
getZoneFile
- Returns:
- the zoneFile
-
setZoneFile
- Parameters:
zoneFile- the zoneFile to set
-
getIpAddress
- Returns:
- the ipAddress
-
setIpAddress
- Parameters:
ipAddress- the ipAddress to set
-