package io.apibuilder.generator.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.16.74 * User agent: apibuilder app.apibuilder.io/apicollective/apibuilder-generator/0.16.74/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 * * Represents a source file */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class File { @NotNull protected String name; protected String dir; @NotNull protected String contents; protected List flags; public File(String name, String dir, String contents, List flags) { this.name = name; this.dir = dir; this.contents = contents; this.flags = flags; } public File() { } /** * The recommended name for the file. */ public String getName() { return name; } public void setName(String name) { this.name = name; } /** * The recommended directory path for the file where appropriate. */ public String getDir() { return dir; } public void setDir(String dir) { this.dir = dir; } /** * The actual source code. */ public String getContents() { return contents; } public void setContents(String contents) { this.contents = contents; } public List getFlags() { return flags; } public void setFlags(List flags) { this.flags = flags; } }