Skip to content

Commit

Permalink
adding assigneeType to projectbean
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Schulze committed Sep 11, 2016
1 parent 3d57aa3 commit aab7a6b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/de/micromata/jira/rest/core/domain/ProjectBean.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package de.micromata.jira.rest.core.domain;

import com.google.gson.annotations.Expose;
import de.micromata.jira.rest.core.domain.system.AssigneeTypeEnum;

import java.util.List;

Expand All @@ -16,6 +17,8 @@ public class ProjectBean extends BaseBean {
private List<VersionBean> versions;
@Expose
private List<IssuetypeBean> issueTypes;
@Expose
private AssigneeTypeEnum assigneeType;

public AvatarUrlsBean getAvatarUrls() {
return avatarUrls;
Expand Down Expand Up @@ -56,4 +59,12 @@ public List<IssuetypeBean> getIssueTypes() {
public void setIssueTypes(List<IssuetypeBean> issueTypes) {
this.issueTypes = issueTypes;
}

public AssigneeTypeEnum getAssigneeType() {
return assigneeType;
}

public void setAssigneeType(AssigneeTypeEnum assigneeType) {
this.assigneeType = assigneeType;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package de.micromata.jira.rest.core.domain.system;

/**
* Created by cschulc on 11.09.2016.
*/
public enum AssigneeTypeEnum {
UNASSIGNED, PROJECT_LEAD
}

0 comments on commit aab7a6b

Please sign in to comment.