package io.flow.github.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; import java.util.List; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.5.9 * User agent: apibuilder app.apibuilder.io/flow/github/0.5.9/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 CommitForm { @NotNull protected String message; @NotNull protected String tree; @NotNull protected List parents; @NotNull protected Person author; @NotNull protected Person committer; public CommitForm(String message, String tree, List parents, Person author, Person committer) { this.message = message; this.tree = tree; this.parents = parents; this.author = author; this.committer = committer; } public CommitForm() { } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } public String getTree() { return tree; } public void setTree(String tree) { this.tree = tree; } public List getParents() { return parents; } public void setParents(List parents) { this.parents = parents; } public Person getAuthor() { return author; } public void setAuthor(Person author) { this.author = author; } public Person getCommitter() { return committer; } public void setCommitter(Person committer) { this.committer = committer; } }