package io.apibuilder.postman.collection.v21.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-postman-collection-v2-1/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 * */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Script { @NotNull protected List exec; @NotNull protected String type; protected String id; protected String src; protected String name; public Script(List exec, String type, String id, String src, String name) { this.exec = exec; this.type = type; this.id = id; this.src = src; this.name = name; } public Script() { } /** * Body of the script in lines */ public List getExec() { return exec; } public void setExec(List exec) { this.exec = exec; } /** * Type of the script. E.g: 'text/javascript' */ public String getType() { return type; } public void setType(String type) { this.type = type; } /** * A unique, user defined identifier that can be used to refer to this script from requests. */ public String getId() { return id; } public void setId(String id) { this.id = id; } /** * If object, contains the complete broken-down URL for this request. If string, contains the literal request URL. */ public String getSrc() { return src; } public void setSrc(String src) { this.src = src; } /** * Script name */ public String getName() { return name; } public void setName(String name) { this.name = name; } }