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 Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Smart Organization with extra features.
  • Method Summary

    Modifier and Type
    Method
    Description
    GitHub we're in.
    Get this organization's login.
    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 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