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
- See Also:
- Suppressed Checkstyle violations:
- MultipleStringLiterals (500 lines)
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classSmart Organization with extra features. -
Method Summary
Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.jcabi.github.JsonPatchable
patchMethods inherited from interface com.jcabi.github.JsonReadable
json
-
Method Details
-
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
-