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 class
A reference of an external member linked to an external groupstatic class
A reference of a team linked to an external group -
Method Summary
Modifier and TypeMethodDescriptionlong
getId()
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.void
refresh()
Refresh.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
refresh
in interfaceRefreshable
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
getRoot
Deprecated.For access to theGitHub
instance, use a local copy instead of pulling it out of objects.Get the rootGitHub
instance for this object.- Returns:
- the root
GitHub
instance
-
GitHub
instance, use a local copy instead of pulling it out of objects.