@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()
Organization
github
in interface Organization
public String login()
Organization
login
in interface Organization
public javax.json.JsonObject json()
JsonReadable
json
in interface JsonReadable
public int compareTo(Organization obj)
compareTo
in interface Comparable<Organization>
public void patch(javax.json.JsonObject json) throws IOException
JsonPatchable
patch
in interface JsonPatchable
json
- JSON objectIOException
- If there is any I/O problempublic PublicMembers publicMembers()
Organization
publicMembers
in interface Organization
public void addMember(User user)
user
- User to add to the organizationCopyright © 2012–2018 jcabi.com. All rights reserved.