@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class SiteThrift extends Object implements TBase<SiteThrift,SiteThrift._Fields>, Serializable, Cloneable, Comparable<SiteThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
SiteThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
List<String> |
cat
Array of IAB content categories for the overall site.
|
ContentThrift |
content
See Content Object.
|
String |
domain
Domain of the site, used for advertiser side blocking.
|
String |
id
Site ID on the exchange.
|
String |
keywords
List of keywords describing this site in a comma separated string.
|
static Map<SiteThrift._Fields,FieldMetaData> |
metaDataMap |
String |
name
Site name (may be masked at publisher’s request).
|
String |
page
URL of the page where the impression will be shown.
|
List<String> |
pagecat
Array of IAB content categories for the current page.
|
byte |
privacypolicy
Specifies whether the site has a privacy policy.
|
PublisherThrift |
publisher
See Publisher Object.
|
String |
ref
Referrer URL that caused navigation to the current page.
|
String |
search
Search string that caused navigation to the current page.
|
List<String> |
sectioncat
Array of IAB content categories for the current subsection of the site.
|
| Constructor and Description |
|---|
SiteThrift() |
SiteThrift(SiteThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToCat(String elem) |
void |
addToPagecat(String elem) |
void |
addToSectioncat(String elem) |
void |
clear() |
int |
compareTo(SiteThrift other) |
SiteThrift |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SiteThrift that) |
SiteThrift._Fields |
fieldForId(int fieldId) |
List<String> |
getCat()
Array of IAB content categories for the overall site.
|
Iterator<String> |
getCatIterator() |
int |
getCatSize() |
ContentThrift |
getContent()
See Content Object.
|
String |
getDomain()
Domain of the site, used for advertiser side blocking.
|
Object |
getFieldValue(SiteThrift._Fields field) |
String |
getId()
Site ID on the exchange.
|
String |
getKeywords()
List of keywords describing this site in a comma separated string.
|
String |
getName()
Site name (may be masked at publisher’s request).
|
String |
getPage()
URL of the page where the impression will be shown.
|
List<String> |
getPagecat()
Array of IAB content categories for the current page.
|
Iterator<String> |
getPagecatIterator() |
int |
getPagecatSize() |
byte |
getPrivacypolicy()
Specifies whether the site has a privacy policy.
|
PublisherThrift |
getPublisher()
See Publisher Object.
|
String |
getRef()
Referrer URL that caused navigation to the current page.
|
String |
getSearch()
Search string that caused navigation to the current page.
|
List<String> |
getSectioncat()
Array of IAB content categories for the current subsection of the site.
|
Iterator<String> |
getSectioncatIterator() |
int |
getSectioncatSize() |
int |
hashCode() |
boolean |
isSet(SiteThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCat()
Returns true if field cat is set (has been assigned a value) and false otherwise
|
boolean |
isSetContent()
Returns true if field content is set (has been assigned a value) and false otherwise
|
boolean |
isSetDomain()
Returns true if field domain is set (has been assigned a value) and false otherwise
|
boolean |
isSetId()
Returns true if field id is set (has been assigned a value) and false otherwise
|
boolean |
isSetKeywords()
Returns true if field keywords is set (has been assigned a value) and false otherwise
|
boolean |
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
|
boolean |
isSetPage()
Returns true if field page is set (has been assigned a value) and false otherwise
|
boolean |
isSetPagecat()
Returns true if field pagecat is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrivacypolicy()
Returns true if field privacypolicy is set (has been assigned a value) and false otherwise
|
boolean |
isSetPublisher()
Returns true if field publisher is set (has been assigned a value) and false otherwise
|
boolean |
isSetRef()
Returns true if field ref is set (has been assigned a value) and false otherwise
|
boolean |
isSetSearch()
Returns true if field search is set (has been assigned a value) and false otherwise
|
boolean |
isSetSectioncat()
Returns true if field sectioncat is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
SiteThrift |
setCat(List<String> cat)
Array of IAB content categories for the overall site.
|
void |
setCatIsSet(boolean value) |
SiteThrift |
setContent(ContentThrift content)
See Content Object.
|
void |
setContentIsSet(boolean value) |
SiteThrift |
setDomain(String domain)
Domain of the site, used for advertiser side blocking.
|
void |
setDomainIsSet(boolean value) |
void |
setFieldValue(SiteThrift._Fields field,
Object value) |
SiteThrift |
setId(String id)
Site ID on the exchange.
|
void |
setIdIsSet(boolean value) |
SiteThrift |
setKeywords(String keywords)
List of keywords describing this site in a comma separated string.
|
void |
setKeywordsIsSet(boolean value) |
SiteThrift |
setName(String name)
Site name (may be masked at publisher’s request).
|
void |
setNameIsSet(boolean value) |
SiteThrift |
setPage(String page)
URL of the page where the impression will be shown.
|
SiteThrift |
setPagecat(List<String> pagecat)
Array of IAB content categories for the current page.
|
void |
setPagecatIsSet(boolean value) |
void |
setPageIsSet(boolean value) |
SiteThrift |
setPrivacypolicy(byte privacypolicy)
Specifies whether the site has a privacy policy.
|
void |
setPrivacypolicyIsSet(boolean value) |
SiteThrift |
setPublisher(PublisherThrift publisher)
See Publisher Object.
|
void |
setPublisherIsSet(boolean value) |
SiteThrift |
setRef(String ref)
Referrer URL that caused navigation to the current page.
|
void |
setRefIsSet(boolean value) |
SiteThrift |
setSearch(String search)
Search string that caused navigation to the current page.
|
void |
setSearchIsSet(boolean value) |
SiteThrift |
setSectioncat(List<String> sectioncat)
Array of IAB content categories for the current subsection of the site.
|
void |
setSectioncatIsSet(boolean value) |
String |
toString() |
void |
unsetCat() |
void |
unsetContent() |
void |
unsetDomain() |
void |
unsetId() |
void |
unsetKeywords() |
void |
unsetName() |
void |
unsetPage() |
void |
unsetPagecat() |
void |
unsetPrivacypolicy() |
void |
unsetPublisher() |
void |
unsetRef() |
void |
unsetSearch() |
void |
unsetSectioncat() |
void |
validate() |
void |
write(TProtocol oprot) |
public String id
public String name
public String domain
public List<String> cat
public List<String> sectioncat
public List<String> pagecat
public String page
public byte privacypolicy
public String ref
public String search
public PublisherThrift publisher
public ContentThrift content
public String keywords
public static final Map<SiteThrift._Fields,FieldMetaData> metaDataMap
public SiteThrift()
public SiteThrift(SiteThrift other)
public SiteThrift deepCopy()
deepCopy in interface TBase<SiteThrift,SiteThrift._Fields>public void clear()
clear in interface TBase<SiteThrift,SiteThrift._Fields>public String getId()
public SiteThrift setId(String id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public String getName()
public SiteThrift setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public String getDomain()
public SiteThrift setDomain(String domain)
public void unsetDomain()
public boolean isSetDomain()
public void setDomainIsSet(boolean value)
public int getCatSize()
public void addToCat(String elem)
public List<String> getCat()
public SiteThrift setCat(List<String> cat)
public void unsetCat()
public boolean isSetCat()
public void setCatIsSet(boolean value)
public int getSectioncatSize()
public void addToSectioncat(String elem)
public List<String> getSectioncat()
public SiteThrift setSectioncat(List<String> sectioncat)
public void unsetSectioncat()
public boolean isSetSectioncat()
public void setSectioncatIsSet(boolean value)
public int getPagecatSize()
public void addToPagecat(String elem)
public List<String> getPagecat()
public SiteThrift setPagecat(List<String> pagecat)
public void unsetPagecat()
public boolean isSetPagecat()
public void setPagecatIsSet(boolean value)
public String getPage()
public SiteThrift setPage(String page)
public void unsetPage()
public boolean isSetPage()
public void setPageIsSet(boolean value)
public byte getPrivacypolicy()
public SiteThrift setPrivacypolicy(byte privacypolicy)
public void unsetPrivacypolicy()
public boolean isSetPrivacypolicy()
public void setPrivacypolicyIsSet(boolean value)
public String getRef()
public SiteThrift setRef(String ref)
public void unsetRef()
public boolean isSetRef()
public void setRefIsSet(boolean value)
public String getSearch()
public SiteThrift setSearch(String search)
public void unsetSearch()
public boolean isSetSearch()
public void setSearchIsSet(boolean value)
public PublisherThrift getPublisher()
public SiteThrift setPublisher(PublisherThrift publisher)
public void unsetPublisher()
public boolean isSetPublisher()
public void setPublisherIsSet(boolean value)
public ContentThrift getContent()
public SiteThrift setContent(ContentThrift content)
public void unsetContent()
public boolean isSetContent()
public void setContentIsSet(boolean value)
public String getKeywords()
public SiteThrift setKeywords(String keywords)
public void unsetKeywords()
public boolean isSetKeywords()
public void setKeywordsIsSet(boolean value)
public void setFieldValue(SiteThrift._Fields field, Object value)
setFieldValue in interface TBase<SiteThrift,SiteThrift._Fields>public Object getFieldValue(SiteThrift._Fields field)
getFieldValue in interface TBase<SiteThrift,SiteThrift._Fields>public boolean isSet(SiteThrift._Fields field)
isSet in interface TBase<SiteThrift,SiteThrift._Fields>public boolean equals(SiteThrift that)
public int compareTo(SiteThrift other)
compareTo in interface Comparable<SiteThrift>public SiteThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<SiteThrift,SiteThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<SiteThrift,SiteThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<SiteThrift,SiteThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.