Enum CallAutomationServiceVersion
java.lang.Object
java.lang.Enum<CallAutomationServiceVersion>
com.azure.communication.callautomation.CallAutomationServiceVersion
- All Implemented Interfaces:
com.azure.core.util.ServiceVersion,Serializable,Comparable<CallAutomationServiceVersion>,java.lang.constant.Constable
public enum CallAutomationServiceVersion
extends Enum<CallAutomationServiceVersion>
implements com.azure.core.util.ServiceVersion
Versions of CallAutomation service supported by this client library.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionService version2023-03-06.Service version2023-10-15.Service version2024-04-15.Service version2024-09-15. -
Method Summary
Modifier and TypeMethodDescriptionstatic CallAutomationServiceVersionGets the latest service version supported by this client librarystatic CallAutomationServiceVersionReturns the enum constant of this type with the specified name.static CallAutomationServiceVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
V2023_03_06
Service version2023-03-06. -
V2023_10_15
Service version2023-10-15. -
V2024_04_15
Service version2024-04-15. -
V2024_09_15
Service version2024-09-15.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getVersion
- Specified by:
getVersionin interfacecom.azure.core.util.ServiceVersion
-
getLatest
Gets the latest service version supported by this client library- Returns:
- The latest
CallAutomationServiceVersionobject.
-