All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.convergence_platform.services.infrastructure.dto.SendEmailRequest Maven / Gradle / Ivy

Go to download

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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy