Package com.jcabi.github
Interface DeployKey
- 
- All Superinterfaces:
 JsonPatchable,JsonReadable
- All Known Implementing Classes:
 DeployKey.Smart
@Immutable public interface DeployKey extends JsonReadable, JsonPatchable
Github deploy key.- Since:
 - 0.8
 - Version:
 - $Id: 27050286bb062dc5c68f9ee37f3a2cf685ac7720 $
 - Author:
 - Andres Candal (andres.candal@rollasolution.com)
 - See Also:
 - Deploy Keys API
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDeployKey.SmartSmart DeployKey with extra features. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intnumber()Get id of a deploy key.voidremove()Delete a deploy key.- 
Methods inherited from interface com.jcabi.github.JsonPatchable
patch 
- 
Methods inherited from interface com.jcabi.github.JsonReadable
json 
 - 
 
 - 
 
- 
- 
Method Detail
- 
number
int number()
Get id of a deploy key.- Returns:
 - Id
 
 
- 
remove
void remove() throws IOExceptionDelete a deploy key.- Throws:
 IOException- If there is any I/O problem- See Also:
 - Remove a deploy key
 
 
 - 
 
 -