36 lines
885 B
Java
36 lines
885 B
Java
package com.tsc.bitbucketbot.dto.bitbucket;
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
|
import com.tsc.bitbucketbot.utils.LocalDateFromEpochDeserializer;
|
|
import lombok.Data;
|
|
|
|
import java.time.LocalDate;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* TODO: Добавить описание класса.
|
|
*
|
|
* @author upagge [30.01.2020]
|
|
*/
|
|
@Data
|
|
public class PullRequestJson {
|
|
|
|
private Long id;
|
|
private Integer version;
|
|
private PullRequestState state;
|
|
|
|
@JsonDeserialize(using = LocalDateFromEpochDeserializer.class)
|
|
private LocalDate createdDate;
|
|
|
|
@JsonDeserialize(using = LocalDateFromEpochDeserializer.class)
|
|
private LocalDate updatedDate;
|
|
|
|
private String title;
|
|
private String description;
|
|
private LinkJson links;
|
|
private UserDecisionJson author;
|
|
private List<UserDecisionJson> reviewers;
|
|
private FromRefJson fromRef;
|
|
|
|
}
|