package io.flow.github.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Long; import java.lang.String; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.5.3 * User agent: apibuilder app.apibuilder.io/flow/github/0.5.3/java_aws_lambda_pojo_client * * WARNING: not all features (notably unions) and data types work with the java generator yet. * Java POJO generator is designed to be used with AWS Lambdas. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact daniel.kirby@gilt.com * */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class PullRequest { @NotNull protected Long id; @NotNull protected String url; @NotNull protected Long number; @NotNull protected String htmlUrl; @NotNull protected PullRequestHead head; public PullRequest(Long id, String url, Long number, String htmlUrl, PullRequestHead head) { this.id = id; this.url = url; this.number = number; this.htmlUrl = htmlUrl; this.head = head; } public PullRequest() { } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public Long getNumber() { return number; } public void setNumber(Long number) { this.number = number; } public String getHtmlUrl() { return htmlUrl; } public void setHtmlUrl(String htmlUrl) { this.htmlUrl = htmlUrl; } public PullRequestHead getHead() { return head; } public void setHead(PullRequestHead head) { this.head = head; } }