package io.flow.github.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Boolean; 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.5.15 * User agent: apibuilder app.apibuilder.io/flow/github/0.5.15/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 HookForm { @NotNull protected String name; @NotNull protected HookConfig config; @NotNull protected List events; @NotNull protected Boolean active; public HookForm(String name, HookConfig config, List events, Boolean active) { this.name = name; this.config = config; this.events = events; this.active = active; } public HookForm() { } public String getName() { return name; } public void setName(String name) { this.name = name; } public HookConfig getConfig() { return config; } public void setConfig(HookConfig config) { this.config = config; } public List getEvents() { return events; } public void setEvents(List events) { this.events = events; } public Boolean getActive() { return active; } public void setActive(Boolean active) { this.active = active; } }