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

com.mailgun.model.templates.TemplateRequest Maven / Gradle / Ivy

Go to download

The Mailgun SDK for Java enables Java developers to work with Mailgun API efficiently.

The newest version!
package com.mailgun.model.templates;

import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;

/**
 * 

* Template request. *

* * @see Templates */ @Getter @ToString @EqualsAndHashCode @Builder public class TemplateRequest { /** *

* Name of the template being created. *

*

* The name can contain alpha characters, digits and next symbols: .-_~ *

*/ String name; /** *

* Description of the template being created. *

*/ String description; /** *

* (Optional) Content of the template. *

*/ String template; /** *

* (Optional) Initial tag of the created version. If template parameter is provided and tag is missing default value initial is used. *

*

* The tag can contain alpha characters, digits and next symbols: .-_~ *

*/ String tag; /** *

* (Optional) The template engine to use to render the template. * Valid only if template parameter is provided. *

*

* Currently the API supports only one engine: handlebars. *

*/ String engine; /** *

* (Optional) Version comment. * Valid only if new version is being created (template parameter is provided); *

*/ String comment; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy