com.azure.communication.callautomation.models.VoiceKind Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-communication-callautomation Show documentation
Show all versions of azure-communication-callautomation Show documentation
This package contains clients and data structures used to make call with Azure Communication Call Automation Service.
For this release, see notes - https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-callautomation/README.md and https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-callautomation/CHANGELOG.md.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.communication.callautomation.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/** Defines values for VoiceKind. */
public final class VoiceKind extends ExpandableStringEnum {
/** Static value male for VoiceKind. */
public static final VoiceKind MALE = fromString("male");
/** Static value female for VoiceKind. */
public static final VoiceKind FEMALE = fromString("female");
/**
* Creates an instance of {@link VoiceKind} with no string value.
*
* @deprecated Please use {@link #fromString(String)} to create an instance of VoiceKind.
*/
@Deprecated
public VoiceKind() {
}
/**
* Creates or finds a VoiceKind from its string representation.
*
* @param name a name to look for.
* @return the corresponding VoiceKind.
*/
public static VoiceKind fromString(String name) {
return fromString(name, VoiceKind.class);
}
/**
* Gets known VoiceKind values.
*
* @return known VoiceKind values.
*/
public static Collection values() {
return values(VoiceKind.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy