Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added description field to GHTeam class. #478

Merged
6 changes: 5 additions & 1 deletion src/main/java/org/kohsuke/github/GHTeam.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* @author Kohsuke Kawaguchi
*/
public class GHTeam {
private String name,permission,slug;
private String name,permission,slug,description;
private int id;
private GHOrganization organization; // populated by GET /user/teams where Teams+Orgs are returned together

Expand Down Expand Up @@ -59,6 +59,10 @@ public String getSlug() {
return slug;
}

public String getDescription() {
return description;
}

public int getId() {
return id;
}
Expand Down