com.azure.communication.messages.models.CommunicationMessagesChannel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-communication-messages Show documentation
Show all versions of azure-communication-messages Show documentation
This package contains a Java SDK for Azure Communication Messages Services.
The newest version!
// 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 communication messages channel.
*/
public final class CommunicationMessagesChannel extends ExpandableStringEnum {
/**
* The WhatsApp communication messages channel type.
*/
@Generated
public static final CommunicationMessagesChannel WHATS_APP = fromString("whatsApp");
/**
* Creates a new instance of CommunicationMessagesChannel value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Generated
@Deprecated
public CommunicationMessagesChannel() {
}
/**
* Creates or finds a CommunicationMessagesChannel from its string representation.
*
* @param name a name to look for.
* @return the corresponding CommunicationMessagesChannel.
*/
@Generated
public static CommunicationMessagesChannel fromString(String name) {
return fromString(name, CommunicationMessagesChannel.class);
}
/**
* Gets known CommunicationMessagesChannel values.
*
* @return known CommunicationMessagesChannel values.
*/
@Generated
public static Collection values() {
return values(CommunicationMessagesChannel.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy