
org.gitlab4j.api.webhook.EventChanges Maven / Gradle / Ivy
package org.gitlab4j.api.webhook;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.gitlab4j.api.models.Assignee;
import org.gitlab4j.api.utils.JacksonJson;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
public abstract class EventChanges {
private ChangeContainer authorId;
private ChangeContainer createdAt;
private ChangeContainer updatedAt;
private ChangeContainer updatedById;
private ChangeContainer title;
private ChangeContainer description;
private ChangeContainer state;
private ChangeContainer milestoneId;
private ChangeContainer> labels;
private ChangeContainer> assignees;
private ChangeContainer totalTimeSpent;
private Map> otherProperties = new LinkedHashMap<>();
public ChangeContainer getAuthorId() {
return authorId;
}
public void setAuthorId(ChangeContainer authorId) {
this.authorId = authorId;
}
public ChangeContainer getCreatedAt() {
return createdAt;
}
public void setCreatedAt(ChangeContainer createdAt) {
this.createdAt = createdAt;
}
public ChangeContainer getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(ChangeContainer updatedAt) {
this.updatedAt = updatedAt;
}
public ChangeContainer getUpdatedById() {
return updatedById;
}
public void setUpdatedById(ChangeContainer updatedById) {
this.updatedById = updatedById;
}
public ChangeContainer getTitle() {
return title;
}
public void setTitle(ChangeContainer title) {
this.title = title;
}
public ChangeContainer getDescription() {
return description;
}
public void setDescription(ChangeContainer description) {
this.description = description;
}
public ChangeContainer getState() {
return state;
}
public void setState(ChangeContainer state) {
this.state = state;
}
public ChangeContainer getMilestoneId() {
return milestoneId;
}
public void setMilestoneId(ChangeContainer milestoneId) {
this.milestoneId = milestoneId;
}
public ChangeContainer> getLabels() {
return labels;
}
public void setLabels(ChangeContainer> labels) {
this.labels = labels;
}
public ChangeContainer> getAssignees() {
return assignees;
}
public void setAssignees(ChangeContainer> assignees) {
this.assignees = assignees;
}
public ChangeContainer getTotalTimeSpent() {
return totalTimeSpent;
}
public void setTotalTimeSpent(ChangeContainer totalTimeSpent) {
this.totalTimeSpent = totalTimeSpent;
}
@SuppressWarnings("unchecked")
public ChangeContainer get(String property) {
if (otherProperties.containsKey(property)) {
try {
final ChangeContainer
© 2015 - 2025 Weber Informatics LLC | Privacy Policy