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.13 * User agent: apibuilder app.apibuilder.io/flow/github/0.5.13/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 Contents { @NotNull protected ContentsType type; @NotNull protected Encoding encoding; @NotNull protected Long size; @NotNull protected String name; @NotNull protected String path; protected String content; @NotNull protected String sha; @NotNull protected String url; @NotNull protected String gitUrl; @NotNull protected String htmlUrl; @NotNull protected String downloadUrl; public Contents(ContentsType type, Encoding encoding, Long size, String name, String path, String content, String sha, String url, String gitUrl, String htmlUrl, String downloadUrl) { this.type = type; this.encoding = encoding; this.size = size; this.name = name; this.path = path; this.content = content; this.sha = sha; this.url = url; this.gitUrl = gitUrl; this.htmlUrl = htmlUrl; this.downloadUrl = downloadUrl; } public Contents() { } public ContentsType getType() { return type; } public void setType(ContentsType type) { this.type = type; } public Encoding getEncoding() { return encoding; } public void setEncoding(Encoding encoding) { this.encoding = encoding; } public Long getSize() { return size; } public void setSize(Long size) { this.size = size; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getPath() { return path; } public void setPath(String path) { this.path = path; } /** * If file, then present */ public String getContent() { return content; } public void setContent(String content) { this.content = content; } 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; } public String getGitUrl() { return gitUrl; } public void setGitUrl(String gitUrl) { this.gitUrl = gitUrl; } public String getHtmlUrl() { return htmlUrl; } public void setHtmlUrl(String htmlUrl) { this.htmlUrl = htmlUrl; } public String getDownloadUrl() { return downloadUrl; } public void setDownloadUrl(String downloadUrl) { this.downloadUrl = downloadUrl; } }