forked from gitlab4j/gitlab4j-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
510 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
285 changes: 285 additions & 0 deletions
285
src/main/java/org/gitlab4j/api/webhook/EventWorkItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,285 @@ | ||
package org.gitlab4j.api.webhook; | ||
|
||
import java.util.Date; | ||
import java.util.List; | ||
|
||
import org.gitlab4j.api.utils.JacksonJson; | ||
|
||
public class EventWorkItem { | ||
|
||
private Long authorId; | ||
private Date closedAt; | ||
private Boolean confidential; | ||
private Date createdAt; | ||
private String description; | ||
private Date dueDate; | ||
private Long id; | ||
private Long iid; | ||
private Date lastEditedAt; | ||
private Long lastEditedById; | ||
private Long milestoneId; | ||
private Long projectId; | ||
private Long relativePosition; | ||
private Long stateId; | ||
private Integer timeEstimate; | ||
private String title; | ||
private Date updatedAt; | ||
private Long updatedById; | ||
private Integer weight; | ||
private String healthStatus; | ||
private String type; | ||
private String url; | ||
private Integer totalTimeSpent; | ||
private Integer timeChange; | ||
private List<Long> assigneeIds; | ||
private Long assigneeId; | ||
private List<EventLabel> labels; | ||
private String state; | ||
private String severity; | ||
private String action; | ||
|
||
public Long getAuthorId() { | ||
return authorId; | ||
} | ||
|
||
public void setAuthorId(Long authorId) { | ||
this.authorId = authorId; | ||
} | ||
|
||
public Date getClosedAt() { | ||
return closedAt; | ||
} | ||
|
||
public void setClosedAt(Date closedAt) { | ||
this.closedAt = closedAt; | ||
} | ||
|
||
public Boolean getConfidential() { | ||
return confidential; | ||
} | ||
|
||
public void setConfidential(Boolean confidential) { | ||
this.confidential = confidential; | ||
} | ||
|
||
public Date getCreatedAt() { | ||
return createdAt; | ||
} | ||
|
||
public void setCreatedAt(Date createdAt) { | ||
this.createdAt = createdAt; | ||
} | ||
|
||
public String getDescription() { | ||
return description; | ||
} | ||
|
||
public void setDescription(String description) { | ||
this.description = description; | ||
} | ||
|
||
public Date getDueDate() { | ||
return dueDate; | ||
} | ||
|
||
public void setDueDate(Date dueDate) { | ||
this.dueDate = dueDate; | ||
} | ||
|
||
public Long getId() { | ||
return id; | ||
} | ||
|
||
public void setId(Long id) { | ||
this.id = id; | ||
} | ||
|
||
public Long getIid() { | ||
return iid; | ||
} | ||
|
||
public void setIid(Long iid) { | ||
this.iid = iid; | ||
} | ||
|
||
public Date getLastEditedAt() { | ||
return lastEditedAt; | ||
} | ||
|
||
public void setLastEditedAt(Date lastEditedAt) { | ||
this.lastEditedAt = lastEditedAt; | ||
} | ||
|
||
public Long getLastEditedById() { | ||
return lastEditedById; | ||
} | ||
|
||
public void setLastEditedById(Long lastEditedById) { | ||
this.lastEditedById = lastEditedById; | ||
} | ||
|
||
public Long getMilestoneId() { | ||
return milestoneId; | ||
} | ||
|
||
public void setMilestoneId(Long milestoneId) { | ||
this.milestoneId = milestoneId; | ||
} | ||
|
||
public Long getProjectId() { | ||
return projectId; | ||
} | ||
|
||
public void setProjectId(Long projectId) { | ||
this.projectId = projectId; | ||
} | ||
|
||
public Long getRelativePosition() { | ||
return relativePosition; | ||
} | ||
|
||
public void setRelativePosition(Long relativePosition) { | ||
this.relativePosition = relativePosition; | ||
} | ||
|
||
public Long getStateId() { | ||
return stateId; | ||
} | ||
|
||
public void setStateId(Long stateId) { | ||
this.stateId = stateId; | ||
} | ||
|
||
public Integer getTimeEstimate() { | ||
return timeEstimate; | ||
} | ||
|
||
public void setTimeEstimate(Integer timeEstimate) { | ||
this.timeEstimate = timeEstimate; | ||
} | ||
|
||
public String getTitle() { | ||
return title; | ||
} | ||
|
||
public void setTitle(String title) { | ||
this.title = title; | ||
} | ||
|
||
public Date getUpdatedAt() { | ||
return updatedAt; | ||
} | ||
|
||
public void setUpdatedAt(Date updatedAt) { | ||
this.updatedAt = updatedAt; | ||
} | ||
|
||
public Long getUpdatedById() { | ||
return updatedById; | ||
} | ||
|
||
public void setUpdatedById(Long updatedById) { | ||
this.updatedById = updatedById; | ||
} | ||
|
||
public Integer getWeight() { | ||
return weight; | ||
} | ||
|
||
public void setWeight(Integer weight) { | ||
this.weight = weight; | ||
} | ||
|
||
public String getHealthStatus() { | ||
return healthStatus; | ||
} | ||
|
||
public void setHealthStatus(String healthStatus) { | ||
this.healthStatus = healthStatus; | ||
} | ||
|
||
public String getType() { | ||
return type; | ||
} | ||
|
||
public void setType(String type) { | ||
this.type = type; | ||
} | ||
|
||
public String getUrl() { | ||
return url; | ||
} | ||
|
||
public void setUrl(String url) { | ||
this.url = url; | ||
} | ||
|
||
public Integer getTotalTimeSpent() { | ||
return totalTimeSpent; | ||
} | ||
|
||
public void setTotalTimeSpent(Integer totalTimeSpent) { | ||
this.totalTimeSpent = totalTimeSpent; | ||
} | ||
|
||
public Integer getTimeChange() { | ||
return timeChange; | ||
} | ||
|
||
public void setTimeChange(Integer timeChange) { | ||
this.timeChange = timeChange; | ||
} | ||
|
||
public List<Long> getAssigneeIds() { | ||
return assigneeIds; | ||
} | ||
|
||
public void setAssigneeIds(List<Long> assigneeIds) { | ||
this.assigneeIds = assigneeIds; | ||
} | ||
|
||
public Long getAssigneeId() { | ||
return assigneeId; | ||
} | ||
|
||
public void setAssigneeId(Long assigneeId) { | ||
this.assigneeId = assigneeId; | ||
} | ||
|
||
public List<EventLabel> getLabels() { | ||
return labels; | ||
} | ||
|
||
public void setLabels(List<EventLabel> labels) { | ||
this.labels = labels; | ||
} | ||
|
||
public String getState() { | ||
return state; | ||
} | ||
|
||
public void setState(String state) { | ||
this.state = state; | ||
} | ||
|
||
public String getSeverity() { | ||
return severity; | ||
} | ||
|
||
public void setSeverity(String severity) { | ||
this.severity = severity; | ||
} | ||
|
||
public String getAction() { | ||
return action; | ||
} | ||
|
||
public void setAction(String action) { | ||
this.action = action; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return (JacksonJson.toJsonString(this)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/main/java/org/gitlab4j/api/webhook/WorkItemChanges.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package org.gitlab4j.api.webhook; | ||
|
||
import java.util.Date; | ||
|
||
public class WorkItemChanges extends EventChanges { | ||
private ChangeContainer<String> heathStatus; | ||
private ChangeContainer<Date> lastEditedAt; | ||
|
||
public ChangeContainer<String> getHeathStatus() { | ||
return heathStatus; | ||
} | ||
|
||
public void setHeathStatus(ChangeContainer<String> heathStatus) { | ||
this.heathStatus = heathStatus; | ||
} | ||
|
||
public ChangeContainer<Date> getLastEditedAt() { | ||
return lastEditedAt; | ||
} | ||
|
||
public void setLastEditedAt(ChangeContainer<Date> lastEditedAt) { | ||
this.lastEditedAt = lastEditedAt; | ||
} | ||
} |
Oops, something went wrong.