package io.apibuilder.postman.collection.v21.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Boolean; import java.lang.String; 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 Event { @NotNull protected EventType listen; protected Script script; protected String id; protected Boolean disabled; public Event(EventType listen, Script script, String id, Boolean disabled) { this.listen = listen; this.script = script; this.id = id; this.disabled = disabled; } public Event() { } /** * Can be set to test or prerequest for test scripts or pre-request scripts respectively. */ public EventType getListen() { return listen; } public void setListen(EventType listen) { this.listen = listen; } public Script getScript() { return script; } public void setScript(Script script) { this.script = script; } /** * A unique identifier for the enclosing event. */ public String getId() { return id; } public void setId(String id) { this.id = id; } /** * Indicates whether the event is disabled. If absent, the event is assumed to be enabled */ public Boolean getDisabled() { return disabled; } public void setDisabled(Boolean disabled) { this.disabled = disabled; } }