public enum RequestContextOperandContextType extends Enum<RequestContextOperandContextType>
Java class for RequestContextOperand.ContextType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RequestContextOperand.ContextType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="FEED_ITEM_ID"/>
<enumeration value="DEVICE_PLATFORM"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DEVICE_PLATFORM
The device's platform (possible values are 'Desktop' or 'Mobile').
|
FEED_ITEM_ID
Feed item id in the request context.
|
UNKNOWN
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static RequestContextOperandContextType |
fromValue(String v) |
String |
value() |
static RequestContextOperandContextType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestContextOperandContextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestContextOperandContextType FEED_ITEM_ID
public static final RequestContextOperandContextType DEVICE_PLATFORM
public static final RequestContextOperandContextType UNKNOWN
public static RequestContextOperandContextType[] values()
for (RequestContextOperandContextType c : RequestContextOperandContextType.values()) System.out.println(c);
public static RequestContextOperandContextType 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 RequestContextOperandContextType fromValue(String v)
Copyright © 2023. All rights reserved.