package com.github.sullis.email.markup.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1-dev * User agent: apibuilder app.apibuilder.io/sullis/email-markup/0.0.1-dev/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 PotentialAction { @NotNull protected ActionTypes atType; protected ActionHandler handler; @NotNull protected String name; @NotNull protected String target; public PotentialAction(ActionTypes atType, ActionHandler handler, String name, String target) { this.atType = atType; this.handler = handler; this.name = name; this.target = target; } public PotentialAction() { } public ActionTypes getAtType() { return atType; } public void setAtType(ActionTypes atType) { this.atType = atType; } public ActionHandler getHandler() { return handler; } public void setHandler(ActionHandler handler) { this.handler = handler; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getTarget() { return target; } public void setTarget(String target) { this.target = target; } }