public static enum RestoreToNewInstanceRequest.PeriodUnitEnum extends Enum<RestoreToNewInstanceRequest.PeriodUnitEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
RestoreToNewInstanceRequest.PeriodUnitEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static RestoreToNewInstanceRequest.PeriodUnitEnum |
fromValue(String input) |
String |
getValue() |
String |
toString() |
static RestoreToNewInstanceRequest.PeriodUnitEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestoreToNewInstanceRequest.PeriodUnitEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="Month") public static final RestoreToNewInstanceRequest.PeriodUnitEnum MONTH
@SerializedName(value="Year") public static final RestoreToNewInstanceRequest.PeriodUnitEnum YEAR
public static RestoreToNewInstanceRequest.PeriodUnitEnum[] values()
for (RestoreToNewInstanceRequest.PeriodUnitEnum c : RestoreToNewInstanceRequest.PeriodUnitEnum.values()) System.out.println(c);
public static RestoreToNewInstanceRequest.PeriodUnitEnum 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 String getValue()
public String toString()
toString in class Enum<RestoreToNewInstanceRequest.PeriodUnitEnum>public static RestoreToNewInstanceRequest.PeriodUnitEnum fromValue(String input)
Copyright © 2026. All rights reserved.