public static enum SiteThrift._Fields extends Enum<SiteThrift._Fields> implements TFieldIdEnum
| Enum Constant and Description |
|---|
CAT
Array of IAB content categories for the overall site.
|
CONTENT
See Content Object.
|
DOMAIN
Domain of the site, used for advertiser side blocking.
|
ID
Site ID on the exchange.
|
KEYWORDS
List of keywords describing this site in a comma separated string.
|
NAME
Site name (may be masked at publisher’s request).
|
PAGE
URL of the page where the impression will be shown.
|
PAGECAT
Array of IAB content categories for the current page.
|
PRIVACYPOLICY
Specifies whether the site has a privacy policy.
|
PUBLISHER
See Publisher Object.
|
REF
Referrer URL that caused navigation to the current page.
|
SEARCH
Search string that caused navigation to the current page.
|
SECTIONCAT
Array of IAB content categories for the current subsection of the site.
|
| Modifier and Type | Method and Description |
|---|---|
static SiteThrift._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static SiteThrift._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static SiteThrift._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static SiteThrift._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SiteThrift._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SiteThrift._Fields ID
public static final SiteThrift._Fields NAME
public static final SiteThrift._Fields DOMAIN
public static final SiteThrift._Fields CAT
public static final SiteThrift._Fields SECTIONCAT
public static final SiteThrift._Fields PAGECAT
public static final SiteThrift._Fields PAGE
public static final SiteThrift._Fields PRIVACYPOLICY
public static final SiteThrift._Fields REF
public static final SiteThrift._Fields SEARCH
public static final SiteThrift._Fields PUBLISHER
public static final SiteThrift._Fields CONTENT
public static final SiteThrift._Fields KEYWORDS
public static SiteThrift._Fields[] values()
for (SiteThrift._Fields c : SiteThrift._Fields.values()) System.out.println(c);
public static SiteThrift._Fields 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 SiteThrift._Fields findByThriftId(int fieldId)
public static SiteThrift._Fields findByThriftIdOrThrow(int fieldId)
public static SiteThrift._Fields findByName(String name)
public short getThriftFieldId()
getThriftFieldId in interface TFieldIdEnumpublic String getFieldName()
getFieldName in interface TFieldIdEnumCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.