File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
src/main/java/org/kohsuke/github Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -315,6 +315,17 @@ public PagedIterable<GHUser> listPublicMembers() throws IOException {
315315 return listMembers ("public_members" );
316316 }
317317
318+ /**
319+ * All the outside collaborators of this organization.
320+ *
321+ * @return the paged iterable
322+ * @throws IOException
323+ * the io exception
324+ */
325+ public PagedIterable <GHUser > listOutsideCollaborators () throws IOException {
326+ return listMembers ("outside_collaborators" );
327+ }
328+
318329 private PagedIterable <GHUser > listMembers (String suffix ) throws IOException {
319330 return listMembers (suffix , null , null );
320331 }
@@ -332,6 +343,19 @@ public PagedIterable<GHUser> listMembersWithFilter(String filter) throws IOExcep
332343 return listMembers ("members" , filter , null );
333344 }
334345
346+ /**
347+ * List outside collaborators with filter paged iterable.
348+ *
349+ * @param filter
350+ * the filter
351+ * @return the paged iterable
352+ * @throws IOException
353+ * the io exception
354+ */
355+ public PagedIterable <GHUser > listOutsideCollaboratorsWithFilter (String filter ) throws IOException {
356+ return listMembers ("outside_collaborators" , filter , null );
357+ }
358+
335359 /**
336360 * List members with specified role paged iterable.
337361 *
You can’t perform that action at this time.
0 commit comments