@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class PmpThrift extends Object implements TBase<PmpThrift,PmpThrift._Fields>, Serializable, Cloneable, Comparable<PmpThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
PmpThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
List<DealThrift> |
deals
A collection of “deal” objects encapsulating a list of direct deals eligible for this impression.
|
static Map<PmpThrift._Fields,FieldMetaData> |
metaDataMap |
byte |
private_auction
An integer flag indicating that this impression is a private auction eligible only to seats named in the Direct Deals object.
|
| Constructor and Description |
|---|
PmpThrift() |
PmpThrift(PmpThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToDeals(DealThrift elem) |
void |
clear() |
int |
compareTo(PmpThrift other) |
PmpThrift |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(PmpThrift that) |
PmpThrift._Fields |
fieldForId(int fieldId) |
List<DealThrift> |
getDeals()
A collection of “deal” objects encapsulating a list of direct deals eligible for this impression.
|
Iterator<DealThrift> |
getDealsIterator() |
int |
getDealsSize() |
Object |
getFieldValue(PmpThrift._Fields field) |
byte |
getPrivate_auction()
An integer flag indicating that this impression is a private auction eligible only to seats named in the Direct Deals object.
|
int |
hashCode() |
boolean |
isSet(PmpThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDeals()
Returns true if field deals is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrivate_auction()
Returns true if field private_auction is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
PmpThrift |
setDeals(List<DealThrift> deals)
A collection of “deal” objects encapsulating a list of direct deals eligible for this impression.
|
void |
setDealsIsSet(boolean value) |
void |
setFieldValue(PmpThrift._Fields field,
Object value) |
PmpThrift |
setPrivate_auction(byte private_auction)
An integer flag indicating that this impression is a private auction eligible only to seats named in the Direct Deals object.
|
void |
setPrivate_auctionIsSet(boolean value) |
String |
toString() |
void |
unsetDeals() |
void |
unsetPrivate_auction() |
void |
validate() |
void |
write(TProtocol oprot) |
public byte private_auction
public List<DealThrift> deals
public static final Map<PmpThrift._Fields,FieldMetaData> metaDataMap
public PmpThrift()
public PmpThrift(PmpThrift other)
public PmpThrift deepCopy()
deepCopy in interface TBase<PmpThrift,PmpThrift._Fields>public void clear()
clear in interface TBase<PmpThrift,PmpThrift._Fields>public byte getPrivate_auction()
public PmpThrift setPrivate_auction(byte private_auction)
public void unsetPrivate_auction()
public boolean isSetPrivate_auction()
public void setPrivate_auctionIsSet(boolean value)
public int getDealsSize()
public Iterator<DealThrift> getDealsIterator()
public void addToDeals(DealThrift elem)
public List<DealThrift> getDeals()
public PmpThrift setDeals(List<DealThrift> deals)
public void unsetDeals()
public boolean isSetDeals()
public void setDealsIsSet(boolean value)
public void setFieldValue(PmpThrift._Fields field, Object value)
setFieldValue in interface TBase<PmpThrift,PmpThrift._Fields>public Object getFieldValue(PmpThrift._Fields field)
getFieldValue in interface TBase<PmpThrift,PmpThrift._Fields>public boolean isSet(PmpThrift._Fields field)
isSet in interface TBase<PmpThrift,PmpThrift._Fields>public boolean equals(PmpThrift that)
public int compareTo(PmpThrift other)
compareTo in interface Comparable<PmpThrift>public PmpThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<PmpThrift,PmpThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<PmpThrift,PmpThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<PmpThrift,PmpThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.