@Immutable @Loggable(value=1) public final class MkOrganization extends Object implements Organization
Organization.Smart| Constructor and Description |
|---|
MkOrganization(MkStorage stg,
String login)
Public ctor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMember(User user)
Add the given user to this organization.
|
int |
compareTo(Organization obj) |
Github |
github()
Github we're in.
|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
String |
login()
Get this organization's login.
|
void |
patch(javax.json.JsonObject json)
Patch using this JSON object.
|
PublicMembers |
publicMembers()
Get this organization's public members.
|
public Github github()
Organizationgithub in interface Organizationpublic String login()
Organizationlogin in interface Organizationpublic javax.json.JsonObject json()
JsonReadablejson in interface JsonReadablepublic int compareTo(Organization obj)
compareTo in interface Comparable<Organization>public void patch(javax.json.JsonObject json)
throws IOException
JsonPatchablepatch in interface JsonPatchablejson - JSON objectIOException - If there is any I/O problempublic PublicMembers publicMembers()
OrganizationpublicMembers in interface Organizationpublic void addMember(User user)
user - User to add to the organizationCopyright © 2012–2018 jcabi.com. All rights reserved.