Skip to content

Commit

Permalink
Added description field to GHTeam class.
Browse files Browse the repository at this point in the history
Fixes issue hub4j#460.
  • Loading branch information
martinvanzijl committed Nov 12, 2018
1 parent fad203a commit f136f68
Showing 1 changed file with 5 additions and 1 deletion.
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

0 comments on commit f136f68

Please sign in to comment.