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.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 Node { @NotNull protected String path; @NotNull protected String mode; @NotNull protected NodeType type; @NotNull protected Long size; @NotNull protected String sha; @NotNull protected String url; public Node(String path, String mode, NodeType type, Long size, String sha, String url) { this.path = path; this.mode = mode; this.type = type; this.size = size; this.sha = sha; this.url = url; } public Node() { } 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 Long getSize() { return size; } public void setSize(Long size) { this.size = size; } public String getSha() { return sha; } public void setSha(String sha) { this.sha = sha; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } }