Class GHExternalGroup

java.lang.Object
org.kohsuke.github.GHExternalGroup
All Implemented Interfaces:
Refreshable

public class GHExternalGroup extends Object implements Refreshable
An external group available in a GitHub organization.
Author:
Miguel Esteban GutiƩrrez
  • Method Details

    • getOrganization

      public GHOrganization getOrganization() throws IOException
      Gets organization.
      Returns:
      the organization
      Throws:
      IOException - the io exception
    • getId

      public long getId()
      Get the external group id.
      Returns:
      the id
    • getName

      public String getName()
      Get the external group name.
      Returns:
      the name
    • getUpdatedAt

      public Date getUpdatedAt()
      Get the external group last update date.
      Returns:
      the date
    • getTeams

      public List<GHExternalGroup.GHLinkedTeam> 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

      public void refresh() throws IOException
      Refresh.
      Specified by:
      refresh in interface Refreshable
      Throws:
      IOException - Signals that an I/O exception has occurred.