@Generated(value="OracleSDKGenerator", comments="API Version: 20230401") public enum EntityVersion extends Enum<EntityVersion> implements BmcEnum
The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version).
Modifier and Type | Method and Description |
---|---|
static EntityVersion |
create(String key) |
String |
getValue() |
static EntityVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityVersion V1
public static final EntityVersion V2
public static EntityVersion[] values()
for (EntityVersion c : EntityVersion.values()) System.out.println(c);
public static EntityVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static EntityVersion create(String key)
Copyright © 2016–2024. All rights reserved.