Class GHBranchProtection.Restrictions

java.lang.Object
org.kohsuke.github.GHBranchProtection.Restrictions
Enclosing class:
GHBranchProtection

public static class GHBranchProtection.Restrictions extends Object
The type Restrictions.
  • Constructor Details

    • Restrictions

      public Restrictions()
      Create default Restrictions instance
  • Method Details

    • getTeams

      public Collection<GHTeam> getTeams()
      Gets teams.
      Returns:
      the teams
    • getTeamsUrl

      public String getTeamsUrl()
      Gets teams url.
      Returns:
      the teams url
    • getUrl

      public String getUrl()
      Gets url.
      Returns:
      the url
    • getUsers

      public Collection<GHUser> getUsers()
      Gets users.
      Returns:
      the users
    • getUsersUrl

      public String getUsersUrl()
      Gets users url.
      Returns:
      the users url