@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class ImpressionThrift extends Object implements TBase<ImpressionThrift,ImpressionThrift._Fields>, Serializable, Cloneable, Comparable<ImpressionThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
ImpressionThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
BannerThrift |
banner
A reference to a banner object.
|
double |
bidfloor
Bid floor for this impression (in CPM of bidfloorcur).
|
String |
bidfloorcur
If bid floor is specified and multiple currencies supported per bid request, then currency should be specified here using ISO-4217 alphabetic codes.
|
String |
displaymanager
Name of ad mediation partner, SDK technology, or native player responsible for rendering ad (typically video or mobile).
|
String |
displaymanagerver
Version of ad mediation partner, SDK technology, or native player responsible for rendering ad (typically video or mobile).
|
String |
id
A unique identifier for this impression within the context of the bid request (typically, value starts with 1, and increments up to n for n impressions).
|
List<String> |
iframebuster
Array of names for supported iframe busters.
|
byte |
instl
1 if the ad is interstitial or full screen; else 0 (i.e., no).
|
static Map<ImpressionThrift._Fields,FieldMetaData> |
metaDataMap |
PmpThrift |
pmp
A reference to the PMP object containing any Deals eligible for the impression object.
|
byte |
secure
Flag to indicate whether the impression requires secure HTTPS URL creative assets and markup.
|
String |
tagid
Identifier for specific ad placement or ad tag that was used to initiate the auction.
|
VideoThrift |
video
A reference to a video object.
|
| Constructor and Description |
|---|
ImpressionThrift() |
ImpressionThrift(ImpressionThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToIframebuster(String elem) |
void |
clear() |
int |
compareTo(ImpressionThrift other) |
ImpressionThrift |
deepCopy() |
boolean |
equals(ImpressionThrift that) |
boolean |
equals(Object that) |
ImpressionThrift._Fields |
fieldForId(int fieldId) |
BannerThrift |
getBanner()
A reference to a banner object.
|
double |
getBidfloor()
Bid floor for this impression (in CPM of bidfloorcur).
|
String |
getBidfloorcur()
If bid floor is specified and multiple currencies supported per bid request, then currency should be specified here using ISO-4217 alphabetic codes.
|
String |
getDisplaymanager()
Name of ad mediation partner, SDK technology, or native player responsible for rendering ad (typically video or mobile).
|
String |
getDisplaymanagerver()
Version of ad mediation partner, SDK technology, or native player responsible for rendering ad (typically video or mobile).
|
Object |
getFieldValue(ImpressionThrift._Fields field) |
String |
getId()
A unique identifier for this impression within the context of the bid request (typically, value starts with 1, and increments up to n for n impressions).
|
List<String> |
getIframebuster()
Array of names for supported iframe busters.
|
Iterator<String> |
getIframebusterIterator() |
int |
getIframebusterSize() |
byte |
getInstl()
1 if the ad is interstitial or full screen; else 0 (i.e., no).
|
PmpThrift |
getPmp()
A reference to the PMP object containing any Deals eligible for the impression object.
|
byte |
getSecure()
Flag to indicate whether the impression requires secure HTTPS URL creative assets and markup.
|
String |
getTagid()
Identifier for specific ad placement or ad tag that was used to initiate the auction.
|
VideoThrift |
getVideo()
A reference to a video object.
|
int |
hashCode() |
boolean |
isSet(ImpressionThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBanner()
Returns true if field banner is set (has been assigned a value) and false otherwise
|
boolean |
isSetBidfloor()
Returns true if field bidfloor is set (has been assigned a value) and false otherwise
|
boolean |
isSetBidfloorcur()
Returns true if field bidfloorcur is set (has been assigned a value) and false otherwise
|
boolean |
isSetDisplaymanager()
Returns true if field displaymanager is set (has been assigned a value) and false otherwise
|
boolean |
isSetDisplaymanagerver()
Returns true if field displaymanagerver 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 |
isSetIframebuster()
Returns true if field iframebuster is set (has been assigned a value) and false otherwise
|
boolean |
isSetInstl()
Returns true if field instl is set (has been assigned a value) and false otherwise
|
boolean |
isSetPmp()
Returns true if field pmp is set (has been assigned a value) and false otherwise
|
boolean |
isSetSecure()
Returns true if field secure is set (has been assigned a value) and false otherwise
|
boolean |
isSetTagid()
Returns true if field tagid is set (has been assigned a value) and false otherwise
|
boolean |
isSetVideo()
Returns true if field video is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
ImpressionThrift |
setBanner(BannerThrift banner)
A reference to a banner object.
|
void |
setBannerIsSet(boolean value) |
ImpressionThrift |
setBidfloor(double bidfloor)
Bid floor for this impression (in CPM of bidfloorcur).
|
ImpressionThrift |
setBidfloorcur(String bidfloorcur)
If bid floor is specified and multiple currencies supported per bid request, then currency should be specified here using ISO-4217 alphabetic codes.
|
void |
setBidfloorcurIsSet(boolean value) |
void |
setBidfloorIsSet(boolean value) |
ImpressionThrift |
setDisplaymanager(String displaymanager)
Name of ad mediation partner, SDK technology, or native player responsible for rendering ad (typically video or mobile).
|
void |
setDisplaymanagerIsSet(boolean value) |
ImpressionThrift |
setDisplaymanagerver(String displaymanagerver)
Version of ad mediation partner, SDK technology, or native player responsible for rendering ad (typically video or mobile).
|
void |
setDisplaymanagerverIsSet(boolean value) |
void |
setFieldValue(ImpressionThrift._Fields field,
Object value) |
ImpressionThrift |
setId(String id)
A unique identifier for this impression within the context of the bid request (typically, value starts with 1, and increments up to n for n impressions).
|
void |
setIdIsSet(boolean value) |
ImpressionThrift |
setIframebuster(List<String> iframebuster)
Array of names for supported iframe busters.
|
void |
setIframebusterIsSet(boolean value) |
ImpressionThrift |
setInstl(byte instl)
1 if the ad is interstitial or full screen; else 0 (i.e., no).
|
void |
setInstlIsSet(boolean value) |
ImpressionThrift |
setPmp(PmpThrift pmp)
A reference to the PMP object containing any Deals eligible for the impression object.
|
void |
setPmpIsSet(boolean value) |
ImpressionThrift |
setSecure(byte secure)
Flag to indicate whether the impression requires secure HTTPS URL creative assets and markup.
|
void |
setSecureIsSet(boolean value) |
ImpressionThrift |
setTagid(String tagid)
Identifier for specific ad placement or ad tag that was used to initiate the auction.
|
void |
setTagidIsSet(boolean value) |
ImpressionThrift |
setVideo(VideoThrift video)
A reference to a video object.
|
void |
setVideoIsSet(boolean value) |
String |
toString() |
void |
unsetBanner() |
void |
unsetBidfloor() |
void |
unsetBidfloorcur() |
void |
unsetDisplaymanager() |
void |
unsetDisplaymanagerver() |
void |
unsetId() |
void |
unsetIframebuster() |
void |
unsetInstl() |
void |
unsetPmp() |
void |
unsetSecure() |
void |
unsetTagid() |
void |
unsetVideo() |
void |
validate() |
void |
write(TProtocol oprot) |
public String id
public BannerThrift banner
public VideoThrift video
public String displaymanager
public String displaymanagerver
public byte instl
public String tagid
public double bidfloor
public String bidfloorcur
public byte secure
public List<String> iframebuster
public PmpThrift pmp
public static final Map<ImpressionThrift._Fields,FieldMetaData> metaDataMap
public ImpressionThrift()
public ImpressionThrift(ImpressionThrift other)
public ImpressionThrift deepCopy()
deepCopy in interface TBase<ImpressionThrift,ImpressionThrift._Fields>public void clear()
clear in interface TBase<ImpressionThrift,ImpressionThrift._Fields>public String getId()
public ImpressionThrift setId(String id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public BannerThrift getBanner()
public ImpressionThrift setBanner(BannerThrift banner)
public void unsetBanner()
public boolean isSetBanner()
public void setBannerIsSet(boolean value)
public VideoThrift getVideo()
public ImpressionThrift setVideo(VideoThrift video)
public void unsetVideo()
public boolean isSetVideo()
public void setVideoIsSet(boolean value)
public String getDisplaymanager()
public ImpressionThrift setDisplaymanager(String displaymanager)
public void unsetDisplaymanager()
public boolean isSetDisplaymanager()
public void setDisplaymanagerIsSet(boolean value)
public String getDisplaymanagerver()
public ImpressionThrift setDisplaymanagerver(String displaymanagerver)
public void unsetDisplaymanagerver()
public boolean isSetDisplaymanagerver()
public void setDisplaymanagerverIsSet(boolean value)
public byte getInstl()
public ImpressionThrift setInstl(byte instl)
public void unsetInstl()
public boolean isSetInstl()
public void setInstlIsSet(boolean value)
public String getTagid()
public ImpressionThrift setTagid(String tagid)
public void unsetTagid()
public boolean isSetTagid()
public void setTagidIsSet(boolean value)
public double getBidfloor()
public ImpressionThrift setBidfloor(double bidfloor)
public void unsetBidfloor()
public boolean isSetBidfloor()
public void setBidfloorIsSet(boolean value)
public String getBidfloorcur()
public ImpressionThrift setBidfloorcur(String bidfloorcur)
public void unsetBidfloorcur()
public boolean isSetBidfloorcur()
public void setBidfloorcurIsSet(boolean value)
public byte getSecure()
public ImpressionThrift setSecure(byte secure)
public void unsetSecure()
public boolean isSetSecure()
public void setSecureIsSet(boolean value)
public int getIframebusterSize()
public void addToIframebuster(String elem)
public List<String> getIframebuster()
public ImpressionThrift setIframebuster(List<String> iframebuster)
public void unsetIframebuster()
public boolean isSetIframebuster()
public void setIframebusterIsSet(boolean value)
public PmpThrift getPmp()
public ImpressionThrift setPmp(PmpThrift pmp)
public void unsetPmp()
public boolean isSetPmp()
public void setPmpIsSet(boolean value)
public void setFieldValue(ImpressionThrift._Fields field, Object value)
setFieldValue in interface TBase<ImpressionThrift,ImpressionThrift._Fields>public Object getFieldValue(ImpressionThrift._Fields field)
getFieldValue in interface TBase<ImpressionThrift,ImpressionThrift._Fields>public boolean isSet(ImpressionThrift._Fields field)
isSet in interface TBase<ImpressionThrift,ImpressionThrift._Fields>public boolean equals(ImpressionThrift that)
public int compareTo(ImpressionThrift other)
compareTo in interface Comparable<ImpressionThrift>public ImpressionThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<ImpressionThrift,ImpressionThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<ImpressionThrift,ImpressionThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<ImpressionThrift,ImpressionThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.