@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class BannerThrift extends Object implements TBase<BannerThrift,BannerThrift._Fields>, Serializable, Cloneable, Comparable<BannerThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
BannerThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
List<Short> |
api
List of supported API frameworks for this banner.
|
List<Integer> |
battr
Blocked creative attributes.
|
List<Short> |
btype
Blocked creative types.
|
List<Short> |
expdir
Specify properties for an expandable ad.
|
int |
h
Height of the impression in pixels.
|
int |
hmax
Maximum height of the impression in pixels.
|
int |
hmin
Minimum height of the impression in pixels.
|
String |
id
Unique identifier for this banner object.
|
static Map<BannerThrift._Fields,FieldMetaData> |
metaDataMap |
List<String> |
mimes
Whitelist of content MIME types supported.
|
short |
pos
Ad Position.
|
byte |
topframe
Specify if the banner is delivered in the top frame or in an iframe.
|
int |
w
Width of the impression in pixels.
|
int |
wmax
Maximum width of the impression in pixels.
|
int |
wmin
Minimum width of the impression in pixels.
|
| Constructor and Description |
|---|
BannerThrift() |
BannerThrift(BannerThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToApi(short elem) |
void |
addToBattr(int elem) |
void |
addToBtype(short elem) |
void |
addToExpdir(short elem) |
void |
addToMimes(String elem) |
void |
clear() |
int |
compareTo(BannerThrift other) |
BannerThrift |
deepCopy() |
boolean |
equals(BannerThrift that) |
boolean |
equals(Object that) |
BannerThrift._Fields |
fieldForId(int fieldId) |
List<Short> |
getApi()
List of supported API frameworks for this banner.
|
Iterator<Short> |
getApiIterator() |
int |
getApiSize() |
List<Integer> |
getBattr()
Blocked creative attributes.
|
Iterator<Integer> |
getBattrIterator() |
int |
getBattrSize() |
List<Short> |
getBtype()
Blocked creative types.
|
Iterator<Short> |
getBtypeIterator() |
int |
getBtypeSize() |
List<Short> |
getExpdir()
Specify properties for an expandable ad.
|
Iterator<Short> |
getExpdirIterator() |
int |
getExpdirSize() |
Object |
getFieldValue(BannerThrift._Fields field) |
int |
getH()
Height of the impression in pixels.
|
int |
getHmax()
Maximum height of the impression in pixels.
|
int |
getHmin()
Minimum height of the impression in pixels.
|
String |
getId()
Unique identifier for this banner object.
|
List<String> |
getMimes()
Whitelist of content MIME types supported.
|
Iterator<String> |
getMimesIterator() |
int |
getMimesSize() |
short |
getPos()
Ad Position.
|
byte |
getTopframe()
Specify if the banner is delivered in the top frame or in an iframe.
|
int |
getW()
Width of the impression in pixels.
|
int |
getWmax()
Maximum width of the impression in pixels.
|
int |
getWmin()
Minimum width of the impression in pixels.
|
int |
hashCode() |
boolean |
isSet(BannerThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetApi()
Returns true if field api is set (has been assigned a value) and false otherwise
|
boolean |
isSetBattr()
Returns true if field battr is set (has been assigned a value) and false otherwise
|
boolean |
isSetBtype()
Returns true if field btype is set (has been assigned a value) and false otherwise
|
boolean |
isSetExpdir()
Returns true if field expdir is set (has been assigned a value) and false otherwise
|
boolean |
isSetH()
Returns true if field h is set (has been assigned a value) and false otherwise
|
boolean |
isSetHmax()
Returns true if field hmax is set (has been assigned a value) and false otherwise
|
boolean |
isSetHmin()
Returns true if field hmin 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 |
isSetMimes()
Returns true if field mimes is set (has been assigned a value) and false otherwise
|
boolean |
isSetPos()
Returns true if field pos is set (has been assigned a value) and false otherwise
|
boolean |
isSetTopframe()
Returns true if field topframe is set (has been assigned a value) and false otherwise
|
boolean |
isSetW()
Returns true if field w is set (has been assigned a value) and false otherwise
|
boolean |
isSetWmax()
Returns true if field wmax is set (has been assigned a value) and false otherwise
|
boolean |
isSetWmin()
Returns true if field wmin is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
BannerThrift |
setApi(List<Short> api)
List of supported API frameworks for this banner.
|
void |
setApiIsSet(boolean value) |
BannerThrift |
setBattr(List<Integer> battr)
Blocked creative attributes.
|
void |
setBattrIsSet(boolean value) |
BannerThrift |
setBtype(List<Short> btype)
Blocked creative types.
|
void |
setBtypeIsSet(boolean value) |
BannerThrift |
setExpdir(List<Short> expdir)
Specify properties for an expandable ad.
|
void |
setExpdirIsSet(boolean value) |
void |
setFieldValue(BannerThrift._Fields field,
Object value) |
BannerThrift |
setH(int h)
Height of the impression in pixels.
|
void |
setHIsSet(boolean value) |
BannerThrift |
setHmax(int hmax)
Maximum height of the impression in pixels.
|
void |
setHmaxIsSet(boolean value) |
BannerThrift |
setHmin(int hmin)
Minimum height of the impression in pixels.
|
void |
setHminIsSet(boolean value) |
BannerThrift |
setId(String id)
Unique identifier for this banner object.
|
void |
setIdIsSet(boolean value) |
BannerThrift |
setMimes(List<String> mimes)
Whitelist of content MIME types supported.
|
void |
setMimesIsSet(boolean value) |
BannerThrift |
setPos(short pos)
Ad Position.
|
void |
setPosIsSet(boolean value) |
BannerThrift |
setTopframe(byte topframe)
Specify if the banner is delivered in the top frame or in an iframe.
|
void |
setTopframeIsSet(boolean value) |
BannerThrift |
setW(int w)
Width of the impression in pixels.
|
void |
setWIsSet(boolean value) |
BannerThrift |
setWmax(int wmax)
Maximum width of the impression in pixels.
|
void |
setWmaxIsSet(boolean value) |
BannerThrift |
setWmin(int wmin)
Minimum width of the impression in pixels.
|
void |
setWminIsSet(boolean value) |
String |
toString() |
void |
unsetApi() |
void |
unsetBattr() |
void |
unsetBtype() |
void |
unsetExpdir() |
void |
unsetH() |
void |
unsetHmax() |
void |
unsetHmin() |
void |
unsetId() |
void |
unsetMimes() |
void |
unsetPos() |
void |
unsetTopframe() |
void |
unsetW() |
void |
unsetWmax() |
void |
unsetWmin() |
void |
validate() |
void |
write(TProtocol oprot) |
public int w
public int h
public int wmax
public int hmax
public int wmin
public int hmin
public String id
public short pos
public List<Short> btype
public List<Integer> battr
public List<String> mimes
public byte topframe
public List<Short> expdir
public List<Short> api
public static final Map<BannerThrift._Fields,FieldMetaData> metaDataMap
public BannerThrift()
public BannerThrift(BannerThrift other)
public BannerThrift deepCopy()
deepCopy in interface TBase<BannerThrift,BannerThrift._Fields>public void clear()
clear in interface TBase<BannerThrift,BannerThrift._Fields>public int getW()
public BannerThrift setW(int w)
public void unsetW()
public boolean isSetW()
public void setWIsSet(boolean value)
public int getH()
public BannerThrift setH(int h)
public void unsetH()
public boolean isSetH()
public void setHIsSet(boolean value)
public int getWmax()
public BannerThrift setWmax(int wmax)
public void unsetWmax()
public boolean isSetWmax()
public void setWmaxIsSet(boolean value)
public int getHmax()
public BannerThrift setHmax(int hmax)
public void unsetHmax()
public boolean isSetHmax()
public void setHmaxIsSet(boolean value)
public int getWmin()
public BannerThrift setWmin(int wmin)
public void unsetWmin()
public boolean isSetWmin()
public void setWminIsSet(boolean value)
public int getHmin()
public BannerThrift setHmin(int hmin)
public void unsetHmin()
public boolean isSetHmin()
public void setHminIsSet(boolean value)
public String getId()
public BannerThrift setId(String id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public short getPos()
public BannerThrift setPos(short pos)
public void unsetPos()
public boolean isSetPos()
public void setPosIsSet(boolean value)
public int getBtypeSize()
public void addToBtype(short elem)
public List<Short> getBtype()
public BannerThrift setBtype(List<Short> btype)
public void unsetBtype()
public boolean isSetBtype()
public void setBtypeIsSet(boolean value)
public int getBattrSize()
public void addToBattr(int elem)
public List<Integer> getBattr()
public BannerThrift setBattr(List<Integer> battr)
public void unsetBattr()
public boolean isSetBattr()
public void setBattrIsSet(boolean value)
public int getMimesSize()
public void addToMimes(String elem)
public List<String> getMimes()
public BannerThrift setMimes(List<String> mimes)
public void unsetMimes()
public boolean isSetMimes()
public void setMimesIsSet(boolean value)
public byte getTopframe()
public BannerThrift setTopframe(byte topframe)
public void unsetTopframe()
public boolean isSetTopframe()
public void setTopframeIsSet(boolean value)
public int getExpdirSize()
public void addToExpdir(short elem)
public List<Short> getExpdir()
public BannerThrift setExpdir(List<Short> expdir)
public void unsetExpdir()
public boolean isSetExpdir()
public void setExpdirIsSet(boolean value)
public int getApiSize()
public void addToApi(short elem)
public List<Short> getApi()
public BannerThrift setApi(List<Short> api)
public void unsetApi()
public boolean isSetApi()
public void setApiIsSet(boolean value)
public void setFieldValue(BannerThrift._Fields field, Object value)
setFieldValue in interface TBase<BannerThrift,BannerThrift._Fields>public Object getFieldValue(BannerThrift._Fields field)
getFieldValue in interface TBase<BannerThrift,BannerThrift._Fields>public boolean isSet(BannerThrift._Fields field)
isSet in interface TBase<BannerThrift,BannerThrift._Fields>public boolean equals(BannerThrift that)
public int compareTo(BannerThrift other)
compareTo in interface Comparable<BannerThrift>public BannerThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<BannerThrift,BannerThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<BannerThrift,BannerThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<BannerThrift,BannerThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.