package io.flow.github.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 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.19 * User agent: apibuilder app.apibuilder.io/flow/github/0.5.19/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 TreeForm { @NotNull protected String path; @NotNull protected String mode; @NotNull protected NodeType type; protected String sha; protected String content; public TreeForm(String path, String mode, NodeType type, String sha, String content) { this.path = path; this.mode = mode; this.type = type; this.sha = sha; this.content = content; } public TreeForm() { } public String getPath() { return path; } public void setPath(String path) { this.path = path; } /** * 100644 file (blob), 100755 executable (blob), 040000 subdirectory (tree), 160000 submodule (commit) */ public String getMode() { return mode; } public void setMode(String mode) { this.mode = mode; } public NodeType getType() { return type; } public void setType(NodeType type) { this.type = type; } public String getSha() { return sha; } public void setSha(String sha) { this.sha = sha; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } }