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

com.sparkpost.model.OptionsAttributes Maven / Gradle / Ivy

There is a newer version: 0.27
Show newest version

package com.sparkpost.model;

import com.google.gson.annotations.SerializedName;
import com.yepher.jsondoc.annotations.Description;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * DTO for storing the 'options' field in a template.
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OptionsAttributes extends Base {

    /**
     * Delay generation of messages until this datetime. For additional information, see Scheduled Transmissions.
     * defaults to immediate generation
     * Format YYYY-MM-DDTHH:MM:SS+-HH:MM or "now". Example: '2015-02-11T08:00:00-04:00'.
     */
    @Description(value = "Format YYYY-MM-DDTHH:MM:SS+-HH:MM or \"now\".", sample = {"2015-02-11T08:00:00-04:00"})
    @SerializedName("start_time")
    private String startTime;

    /**
     * Whether open tracking is enabled for this transmission
     * If not specified, the setting at template level is used, or defaults to
     * true.
     */
    @Description(value = "Whether open tracking is enabled for this transmission. defaults to true", sample = {""})
    @SerializedName("open_tracking")
    private Boolean openTracking;

    /**
     * Whether click tracking is enabled for this transmission
     * If not specified, the setting at template level is used, or defaults to
     * true.
     */
    @Description(value = "Whether click tracking is enabled for this transmission. defaults to true", sample = {""})
    @SerializedName("click_tracking")
    private Boolean clickTracking = true;

    /**
     * Whether message is transactional or non-transactional for unsubscribe and
     * suppression purposes
     * If not specified, the setting at template level is used, or defaults to
     * false.
     */
    @Description(value = "Whether message is transactional or non-transactional for unsubscribe and suppression purposes", sample = {""})
    private Boolean transactional = false;

    /**
     * Whether or not to use the sandbox sending domain ( Note: SparkPost only )
     */
    @Description(value = "Whether or not to use the sandbox sending domain ( Note: SparkPost only ). defaults to false.", sample = {""})
    @SerializedName("sandbox")
    private Boolean sandbox = false;

    /**
     * Unlike most other options, this flag is omitted on a GET transmission
     * response unless the flag's value is true.
     * Whether or not to ignore customer suppression rules, for this
     * transmission only. Only applicable if your configuration supports this
     * parameter. ( Note: SparkPost Elite only )
     */
    @Description(value = "Unlike most other options, this flag is omitted on a GET transmission response unless the flag's value is true.", sample = {""})
    @SerializedName("skip_suppression")
    private Boolean skipSuppression;

    /**
     * The name of a dedicated IP pool associated with your account.
     * If this field is not provided, the account's default dedicated IP pool is used (if such a pool exists).
     * To explicitly bypass the account's default dedicated IP pool and instead fallback to the shared pool,
     * specify a value of "sp_shared".
     */
    @Description(value = "The name of a dedicated IP pool associated with your account.", sample = {"sp_shared"})
    @SerializedName("ip_pool")
    private String ipPool;

    /**
     * Whether or not to perform CSS inlining in HTML content
     * Defaults to false
     */
    @Description(value = "Whether or not to perform CSS inlining in HTML content.", sample = {""})
    @SerializedName("inline_css")
    private Boolean inlineCss;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy