Package org.kohsuke.github
Class GHExternalGroup
java.lang.Object
org.kohsuke.github.GHExternalGroup
- All Implemented Interfaces:
Refreshable
An external group available in a GitHub organization.
- Author:
- Miguel Esteban GutiƩrrez
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA reference of an external member linked to an external groupstatic classA reference of a team linked to an external group -
Method Summary
Modifier and TypeMethodDescriptionlonggetId()Get the external group id.Get the external members linked to this group.getName()Get the external group name.Gets organization.getRoot()Deprecated.getTeams()Get the teams linked to this group.Get the external group last update date.voidrefresh()Refresh.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kohsuke.github.Refreshable
refresh
-
Method Details
-
getOrganization
Gets organization.- Returns:
- the organization
- Throws:
IOException- the io exception
-
getId
public long getId()Get the external group id.- Returns:
- the id
-
getName
Get the external group name.- Returns:
- the name
-
getUpdatedAt
Get the external group last update date.- Returns:
- the date
-
getTeams
Get the teams linked to this group.- Returns:
- the teams
-
getMembers
Get the external members linked to this group.- Returns:
- the external members
-
refresh
Refresh.- Specified by:
refreshin interfaceRefreshable- Throws:
IOException- Signals that an I/O exception has occurred.
-
getRoot
Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.Get the rootGitHubinstance for this object.- Returns:
- the root
GitHubinstance
-
GitHubinstance, use a local copy instead of pulling it out of objects.