public enum HotelAdGroupType extends Enum<HotelAdGroupType>
Enum Constant and Description |
---|
HOTEL_AD |
PROPERTY_AD |
Modifier and Type | Method and Description |
---|---|
static HotelAdGroupType |
fromValue(String v) |
String |
value() |
static HotelAdGroupType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HotelAdGroupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HotelAdGroupType HOTEL_AD
public static final HotelAdGroupType PROPERTY_AD
public static HotelAdGroupType[] values()
for (HotelAdGroupType c : HotelAdGroupType.values()) System.out.println(c);
public static HotelAdGroupType 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 value()
public static HotelAdGroupType fromValue(String v)
Copyright © 2024. All rights reserved.