Interface PublicMembers

  • All Known Implementing Classes:
    MkPublicMembers, RtPublicMembers

    @Immutable
    public interface PublicMembers
    Public members of a GitHub organization.
    Since:
    0.24
    Version:
    $Id: 7e576333e08bda0e3d19e2071aecfec4b9d6419d $
    Author:
    Chris Rebert (github@chrisrebert.com)
    See Also:
    Organization Members API
    • Method Detail

      • org

        Organization org()
        Organization of which these are public members.
        Returns:
        Organization
      • contains

        boolean contains​(User user)
                  throws IOException
        Check whether the user is a public member of this organization.
        Parameters:
        user - User to check public organization membership of
        Returns:
        Is the user a public member of this organization?
        Throws:
        IOException - If an I/O problem occurs
        See Also:
        Check public membership