@Immutable @Loggable(value=1) public static final class PublicKey.Smart extends Object implements PublicKey
PublicKey.Smart| Modifier and Type | Method and Description | 
|---|---|
javax.json.JsonObject | 
json()
Describe it in a JSON object. 
 | 
String | 
key()
Get its key value. 
 | 
void | 
key(String value)
Change its value. 
 | 
int | 
number()
ID Number of this public key. 
 | 
void | 
patch(javax.json.JsonObject json)
Patch using this JSON object. 
 | 
String | 
title()
Get its title. 
 | 
void | 
title(String text)
Change its title. 
 | 
URL | 
url()
Get its URL. 
 | 
User | 
user()
User we're in. 
 | 
public Smart(PublicKey pkey)
pkey - Public keypublic String key() throws IOException
IOException - If there is any I/O problempublic void key(String value) throws IOException
value - Title of public keyIOException - If there is any I/O problempublic URL url() throws IOException
IOException - If there is any I/O problempublic String title() throws IOException
IOException - If there is any I/O problempublic void title(String text) throws IOException
text - Title of public keyIOException - If there is any I/O problempublic javax.json.JsonObject json()
                           throws IOException
JsonReadablejson in interface JsonReadableIOException - If there is any I/O problempublic void patch(javax.json.JsonObject json)
           throws IOException
JsonPatchablepatch in interface JsonPatchablejson - JSON objectIOException - If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.