Package com.jcabi.github
Interface Organization
-
- All Superinterfaces:
Comparable<Organization>
,JsonPatchable
,JsonReadable
- All Known Implementing Classes:
MkOrganization
,Organization.Smart
@Immutable public interface Organization extends Comparable<Organization>, JsonReadable, JsonPatchable
Github organization.Use a supplementary "smart" decorator to get other properties from an organization, for example:
Organization.Smart org = new Organization.Smart(origin); if (org.name() == null) { name = "new_name"; }
- Since:
- 0.7
- Version:
- $Id: 72b0289278b6a996353d635dd9493bdc2078e1c7 $
- Author:
- Paul Polishchuk (ppol@ua.fm)
- See Also:
- Organizations API
- Suppressed Checkstyle violations:
- MultipleStringLiterals (500 lines)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Organization.Smart
Smart Organization with extra features.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Github
github()
Github we're in.String
login()
Get this organization's login.PublicMembers
publicMembers()
Get this organization's public members.-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface com.jcabi.github.JsonPatchable
patch
-
Methods inherited from interface com.jcabi.github.JsonReadable
json
-
-
-
-
Method Detail
-
github
Github github()
Github we're in.- Returns:
- Github
-
login
String login()
Get this organization's login.- Returns:
- Login name
-
publicMembers
PublicMembers publicMembers()
Get this organization's public members.- Returns:
- Public members
-
-