@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class AppThrift extends Object implements TBase<AppThrift,AppThrift._Fields>, Serializable, Cloneable, Comparable<AppThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
AppThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
String |
bundle
Application bundle or package name (e.g., com.foo.mygame).
|
List<String> |
cat
Array of IAB content categories for the overall application.
|
ContentThrift |
content
See Content Object.
|
String |
domain
Domain of the application (e.g., “mygame.foo.com”).
|
String |
id
Application ID on the exchange.
|
String |
keywords
List of keywords describing this app in a comma separated string.
|
static Map<AppThrift._Fields,FieldMetaData> |
metaDataMap |
String |
name
Application name (may be masked at publisher’s request).
|
List<String> |
pagecat
Array of IAB content categories for the current page/view of the app.
|
byte |
paid
“1” if the application is a paid version; else “0” (i.e., free).
|
byte |
privacypolicy
Specifies whether the app has a privacy policy.
|
PublisherThrift |
publisher
See Publisher Object.
|
List<String> |
sectioncat
Array of IAB content categories for the current subsection of the app.
|
String |
storeurl
For QAG 1.5 compliance, an app store URL for an installed app should be passed in the bid request.
|
String |
ver
Application version.
|
| Constructor and Description |
|---|
AppThrift() |
AppThrift(AppThrift 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(AppThrift other) |
AppThrift |
deepCopy() |
boolean |
equals(AppThrift that) |
boolean |
equals(Object that) |
AppThrift._Fields |
fieldForId(int fieldId) |
String |
getBundle()
Application bundle or package name (e.g., com.foo.mygame).
|
List<String> |
getCat()
Array of IAB content categories for the overall application.
|
Iterator<String> |
getCatIterator() |
int |
getCatSize() |
ContentThrift |
getContent()
See Content Object.
|
String |
getDomain()
Domain of the application (e.g., “mygame.foo.com”).
|
Object |
getFieldValue(AppThrift._Fields field) |
String |
getId()
Application ID on the exchange.
|
String |
getKeywords()
List of keywords describing this app in a comma separated string.
|
String |
getName()
Application name (may be masked at publisher’s request).
|
List<String> |
getPagecat()
Array of IAB content categories for the current page/view of the app.
|
Iterator<String> |
getPagecatIterator() |
int |
getPagecatSize() |
byte |
getPaid()
“1” if the application is a paid version; else “0” (i.e., free).
|
byte |
getPrivacypolicy()
Specifies whether the app has a privacy policy.
|
PublisherThrift |
getPublisher()
See Publisher Object.
|
List<String> |
getSectioncat()
Array of IAB content categories for the current subsection of the app.
|
Iterator<String> |
getSectioncatIterator() |
int |
getSectioncatSize() |
String |
getStoreurl()
For QAG 1.5 compliance, an app store URL for an installed app should be passed in the bid request.
|
String |
getVer()
Application version.
|
int |
hashCode() |
boolean |
isSet(AppThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBundle()
Returns true if field bundle 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 |
isSetPagecat()
Returns true if field pagecat is set (has been assigned a value) and false otherwise
|
boolean |
isSetPaid()
Returns true if field paid 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 |
isSetSectioncat()
Returns true if field sectioncat is set (has been assigned a value) and false otherwise
|
boolean |
isSetStoreurl()
Returns true if field storeurl is set (has been assigned a value) and false otherwise
|
boolean |
isSetVer()
Returns true if field ver is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
AppThrift |
setBundle(String bundle)
Application bundle or package name (e.g., com.foo.mygame).
|
void |
setBundleIsSet(boolean value) |
AppThrift |
setCat(List<String> cat)
Array of IAB content categories for the overall application.
|
void |
setCatIsSet(boolean value) |
AppThrift |
setContent(ContentThrift content)
See Content Object.
|
void |
setContentIsSet(boolean value) |
AppThrift |
setDomain(String domain)
Domain of the application (e.g., “mygame.foo.com”).
|
void |
setDomainIsSet(boolean value) |
void |
setFieldValue(AppThrift._Fields field,
Object value) |
AppThrift |
setId(String id)
Application ID on the exchange.
|
void |
setIdIsSet(boolean value) |
AppThrift |
setKeywords(String keywords)
List of keywords describing this app in a comma separated string.
|
void |
setKeywordsIsSet(boolean value) |
AppThrift |
setName(String name)
Application name (may be masked at publisher’s request).
|
void |
setNameIsSet(boolean value) |
AppThrift |
setPagecat(List<String> pagecat)
Array of IAB content categories for the current page/view of the app.
|
void |
setPagecatIsSet(boolean value) |
AppThrift |
setPaid(byte paid)
“1” if the application is a paid version; else “0” (i.e., free).
|
void |
setPaidIsSet(boolean value) |
AppThrift |
setPrivacypolicy(byte privacypolicy)
Specifies whether the app has a privacy policy.
|
void |
setPrivacypolicyIsSet(boolean value) |
AppThrift |
setPublisher(PublisherThrift publisher)
See Publisher Object.
|
void |
setPublisherIsSet(boolean value) |
AppThrift |
setSectioncat(List<String> sectioncat)
Array of IAB content categories for the current subsection of the app.
|
void |
setSectioncatIsSet(boolean value) |
AppThrift |
setStoreurl(String storeurl)
For QAG 1.5 compliance, an app store URL for an installed app should be passed in the bid request.
|
void |
setStoreurlIsSet(boolean value) |
AppThrift |
setVer(String ver)
Application version.
|
void |
setVerIsSet(boolean value) |
String |
toString() |
void |
unsetBundle() |
void |
unsetCat() |
void |
unsetContent() |
void |
unsetDomain() |
void |
unsetId() |
void |
unsetKeywords() |
void |
unsetName() |
void |
unsetPagecat() |
void |
unsetPaid() |
void |
unsetPrivacypolicy() |
void |
unsetPublisher() |
void |
unsetSectioncat() |
void |
unsetStoreurl() |
void |
unsetVer() |
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 ver
public String bundle
public byte privacypolicy
public byte paid
public PublisherThrift publisher
public ContentThrift content
public String keywords
public String storeurl
public static final Map<AppThrift._Fields,FieldMetaData> metaDataMap
public AppThrift()
public AppThrift(AppThrift other)
public AppThrift deepCopy()
deepCopy in interface TBase<AppThrift,AppThrift._Fields>public void clear()
clear in interface TBase<AppThrift,AppThrift._Fields>public String getId()
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public String getName()
public AppThrift setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public String getDomain()
public AppThrift 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 AppThrift 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 AppThrift 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 AppThrift setPagecat(List<String> pagecat)
public void unsetPagecat()
public boolean isSetPagecat()
public void setPagecatIsSet(boolean value)
public String getVer()
public void unsetVer()
public boolean isSetVer()
public void setVerIsSet(boolean value)
public String getBundle()
public AppThrift setBundle(String bundle)
public void unsetBundle()
public boolean isSetBundle()
public void setBundleIsSet(boolean value)
public byte getPrivacypolicy()
public AppThrift setPrivacypolicy(byte privacypolicy)
public void unsetPrivacypolicy()
public boolean isSetPrivacypolicy()
public void setPrivacypolicyIsSet(boolean value)
public byte getPaid()
public AppThrift setPaid(byte paid)
public void unsetPaid()
public boolean isSetPaid()
public void setPaidIsSet(boolean value)
public PublisherThrift getPublisher()
public AppThrift setPublisher(PublisherThrift publisher)
public void unsetPublisher()
public boolean isSetPublisher()
public void setPublisherIsSet(boolean value)
public ContentThrift getContent()
public AppThrift setContent(ContentThrift content)
public void unsetContent()
public boolean isSetContent()
public void setContentIsSet(boolean value)
public String getKeywords()
public AppThrift setKeywords(String keywords)
public void unsetKeywords()
public boolean isSetKeywords()
public void setKeywordsIsSet(boolean value)
public String getStoreurl()
public AppThrift setStoreurl(String storeurl)
public void unsetStoreurl()
public boolean isSetStoreurl()
public void setStoreurlIsSet(boolean value)
public void setFieldValue(AppThrift._Fields field, Object value)
setFieldValue in interface TBase<AppThrift,AppThrift._Fields>public Object getFieldValue(AppThrift._Fields field)
getFieldValue in interface TBase<AppThrift,AppThrift._Fields>public boolean isSet(AppThrift._Fields field)
isSet in interface TBase<AppThrift,AppThrift._Fields>public boolean equals(AppThrift that)
public int compareTo(AppThrift other)
compareTo in interface Comparable<AppThrift>public AppThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<AppThrift,AppThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<AppThrift,AppThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<AppThrift,AppThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.