public enum FeedOrigin extends Enum<FeedOrigin>
Java class for Feed.Origin.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Feed.Origin">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="USER"/>
<enumeration value="ADWORDS"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ADWORDS
The
FeedAttributes for an ADWORDS Feed are created
by ADWORDS. |
UNKNOWN
Used for return value only.
|
USER
The
FeedAttributes for this Feed are managed by the user. |
| Modifier and Type | Method and Description |
|---|---|
static FeedOrigin |
fromValue(String v) |
String |
value() |
static FeedOrigin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeedOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeedOrigin USER
FeedAttributes for this Feed are managed by the user.
Users can add FeedAttributes to this Feed.public static final FeedOrigin ADWORDS
FeedAttributes for an ADWORDS Feed are created
by ADWORDS. Occasionally the attributes defined for a particular type
of Feed is expanded. In this case, older Feeds of this
type can be mutated to add the expanded attributes.public static final FeedOrigin UNKNOWN
public static FeedOrigin[] values()
for (FeedOrigin c : FeedOrigin.values()) System.out.println(c);
public static FeedOrigin 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 FeedOrigin fromValue(String v)
Copyright © 2023. All rights reserved.