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

com.azure.communication.messages.models.MessageTemplateValueKind Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.communication.messages.models;

import com.azure.core.annotation.Generated;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * The type of the template parameter.
 */
public final class MessageTemplateValueKind extends ExpandableStringEnum {

    /**
     * The text template parameter type.
     */
    @Generated
    public static final MessageTemplateValueKind TEXT = fromString("text");

    /**
     * The image template parameter type.
     */
    @Generated
    public static final MessageTemplateValueKind IMAGE = fromString("image");

    /**
     * The document template parameter type.
     */
    @Generated
    public static final MessageTemplateValueKind DOCUMENT = fromString("document");

    /**
     * The video template parameter type.
     */
    @Generated
    public static final MessageTemplateValueKind VIDEO = fromString("video");

    /**
     * The location template parameter type.
     */
    @Generated
    public static final MessageTemplateValueKind LOCATION = fromString("location");

    /**
     * The quick action template parameter type.
     */
    @Generated
    public static final MessageTemplateValueKind QUICK_ACTION = fromString("quickAction");

    /**
     * Creates a new instance of MessageTemplateValueKind value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Generated
    @Deprecated
    public MessageTemplateValueKind() {
    }

    /**
     * Creates or finds a MessageTemplateValueKind from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding MessageTemplateValueKind.
     */
    @Generated
    public static MessageTemplateValueKind fromString(String name) {
        return fromString(name, MessageTemplateValueKind.class);
    }

    /**
     * Gets known MessageTemplateValueKind values.
     *
     * @return known MessageTemplateValueKind values.
     */
    @Generated
    public static Collection values() {
        return values(MessageTemplateValueKind.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy