package io.cheng.flowerate.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.0.1-dev * User agent: apibuilder app.apibuilder.io/chenggit/flowerate/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 * * payload of POST request to register a webhook */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class WebhookRegisterRequest { @NotNull protected String clientId; @NotNull protected List webhooks; public WebhookRegisterRequest(String clientId, List webhooks) { this.clientId = clientId; this.webhooks = webhooks; } public WebhookRegisterRequest() { } /** * user id */ public String getClientId() { return clientId; } public void setClientId(String clientId) { this.clientId = clientId; } /** * a sequence of webhook details */ public List getWebhooks() { return webhooks; } public void setWebhooks(List webhooks) { this.webhooks = webhooks; } }