Class GHBranchProtection.Restrictions

  • Enclosing class:
    GHBranchProtection

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

      • Restrictions

        public Restrictions()
    • Method Detail

      • 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