// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.apimanagement.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Email Template Parameter contract. */
@Fluent
public final class EmailTemplateParametersContractProperties {
    /*
     * Template parameter name.
     */
    @JsonProperty(value = "name")
    private String name;

    /*
     * Template parameter title.
     */
    @JsonProperty(value = "title")
    private String title;

    /*
     * Template parameter description.
     */
    @JsonProperty(value = "description")
    private String description;

    /**
     * Get the name property: Template parameter name.
     *
     * @return the name value.
     */
    public String name() {
        return this.name;
    }

    /**
     * Set the name property: Template parameter name.
     *
     * @param name the name value to set.
     * @return the EmailTemplateParametersContractProperties object itself.
     */
    public EmailTemplateParametersContractProperties withName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get the title property: Template parameter title.
     *
     * @return the title value.
     */
    public String title() {
        return this.title;
    }

    /**
     * Set the title property: Template parameter title.
     *
     * @param title the title value to set.
     * @return the EmailTemplateParametersContractProperties object itself.
     */
    public EmailTemplateParametersContractProperties withTitle(String title) {
        this.title = title;
        return this;
    }

    /**
     * Get the description property: Template parameter description.
     *
     * @return the description value.
     */
    public String description() {
        return this.description;
    }

    /**
     * Set the description property: Template parameter description.
     *
     * @param description the description value to set.
     * @return the EmailTemplateParametersContractProperties object itself.
     */
    public EmailTemplateParametersContractProperties withDescription(String description) {
        this.description = description;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
