- All Known Implementing Classes:
@Immutable public interface PublicKey extends JsonReadable, JsonPatchableGithub public key.
JsonReadable, that's how you can get its full details in JSON format. For example, to get its title, you get the entire JSON and then gets its element:
String title = key.json().getString("title");
However, it's better to use a supplementary "smart" decorator, which automates most of these operations:
String title = new PublicKey.Smart(comment).title();
- $Id: e5698ddb8a30e7f7c0d637cca1961b45685f2a6f $
- Carlos Miranda (firstname.lastname@example.org)
- See Also:
- Public Keys API
Nested Class Summary
Nested Classes Modifier and Type Interface Description
PublicKey.SmartSmart PublicKey with extra features.
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
number()ID Number of this public key.
user()User we're in.
User user()User we're in.
int number()ID Number of this public key.
- Public key ID number