io.convergence_platform.services.infrastructure.dto.SendEmailRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of service-lib Show documentation
Show all versions of service-lib Show documentation
Holds the common functionality needed by all Convergence Platform-based services written in Java.
The newest version!
package io.convergence_platform.services.infrastructure.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import java.util.Map;
@Data
public class SendEmailRequest {
@JsonProperty("subject")
@Size(min = 5, max = 128)
private String subject;
@JsonProperty("to")
private String to;
@JsonProperty("template")
private String template;
@JsonProperty("values")
private Map values;
}