Package com.jcabi.github
Class RtPublicMembers
java.lang.Object
com.jcabi.github.RtPublicMembers
- All Implemented Interfaces:
PublicMembers
Public members of a GitHub organization.
- Since:
- 0.24
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRtPublicMembers(com.jcabi.http.Request req, Organization organ) Public ctor. -
Method Summary
Modifier and TypeMethodDescriptionvoidConceal a user's membership from public view.booleanCheck whether the user is a public member of this organization.iterate()Get all users who are public members of this organization.org()Organization of which these are public members.voidMake a user's membership publicly visible.
-
Constructor Details
-
RtPublicMembers
Public ctor.- Parameters:
req- Requestorgan- Organization
-
-
Method Details
-
org
Description copied from interface:PublicMembersOrganization of which these are public members.- Specified by:
orgin interfacePublicMembers- Returns:
- Organization
-
conceal
Description copied from interface:PublicMembersConceal a user's membership from public view.- Specified by:
concealin interfacePublicMembers- Parameters:
user- User whose membership to conceal- Throws:
IOException- If an I/O problem occurs- See Also:
-
publicize
Description copied from interface:PublicMembersMake a user's membership publicly visible.- Specified by:
publicizein interfacePublicMembers- Parameters:
user- User whose membership to publicize- Throws:
IOException- If an I/O problem occurs- See Also:
-
iterate
Description copied from interface:PublicMembersGet all users who are public members of this organization.- Specified by:
iteratein interfacePublicMembers- Returns:
- Members
- See Also:
-
contains
Description copied from interface:PublicMembersCheck whether the user is a public member of this organization.- Specified by:
containsin interfacePublicMembers- 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:
-