package com.speedwing.pagerduty.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; import java.util.Map; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1 * User agent: apibuilder app.apibuilder.io/speedwing/pagerduty-api/0.0.1/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 CreateEvent { @NotNull protected String serviceKey; @NotNull protected EventType eventType; protected String incidentKey; protected String description; protected Map details; protected String client; protected String clientUrl; protected Map contexts; public CreateEvent(String serviceKey, EventType eventType, String incidentKey, String description, Map details, String client, String clientUrl, Map contexts) { this.serviceKey = serviceKey; this.eventType = eventType; this.incidentKey = incidentKey; this.description = description; this.details = details; this.client = client; this.clientUrl = clientUrl; this.contexts = contexts; } public CreateEvent() { } public String getServiceKey() { return serviceKey; } public void setServiceKey(String serviceKey) { this.serviceKey = serviceKey; } public EventType getEventType() { return eventType; } public void setEventType(EventType eventType) { this.eventType = eventType; } public String getIncidentKey() { return incidentKey; } public void setIncidentKey(String incidentKey) { this.incidentKey = incidentKey; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Map getDetails() { return details; } public void setDetails(Map details) { this.details = details; } public String getClient() { return client; } public void setClient(String client) { this.client = client; } public String getClientUrl() { return clientUrl; } public void setClientUrl(String clientUrl) { this.clientUrl = clientUrl; } public Map getContexts() { return contexts; } public void setContexts(Map contexts) { this.contexts = contexts; } }