Package com.myjeeva.digitalocean.pojo
Class Key
java.lang.Object
com.myjeeva.digitalocean.pojo.RateLimitBase
com.myjeeva.digitalocean.pojo.Base
com.myjeeva.digitalocean.pojo.Key
- All Implemented Interfaces:
Serializable
Represents SSH Key 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 TypeMethodDescriptiongetId()getName()voidsetFingerprint(String fingerprint) voidvoidvoidsetPublicKey(String publicKey) 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
-
Key
public Key() -
Key
-
Key
-
Key
-
-
Method Details
-
toString
-
getId
- Returns:
- the id
-
setId
- Parameters:
id- the id to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getFingerprint
- Returns:
- the fingerprint
-
setFingerprint
- Parameters:
fingerprint- the fingerprint to set
-
getPublicKey
- Returns:
- the publicKey
-
setPublicKey
- Parameters:
publicKey- the publicKey to set
-