@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class RegulationsThrift extends Object implements TBase<RegulationsThrift,RegulationsThrift._Fields>, Serializable, Cloneable, Comparable<RegulationsThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
RegulationsThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
byte |
coppa
Flag indicating whether or not this request falls under the COPPA regulations established by the USA FTC, where 0 = no, 1 = yes.
|
static Map<RegulationsThrift._Fields,FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
RegulationsThrift() |
RegulationsThrift(RegulationsThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(RegulationsThrift other) |
RegulationsThrift |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(RegulationsThrift that) |
RegulationsThrift._Fields |
fieldForId(int fieldId) |
byte |
getCoppa()
Flag indicating whether or not this request falls under the COPPA regulations established by the USA FTC, where 0 = no, 1 = yes.
|
Object |
getFieldValue(RegulationsThrift._Fields field) |
int |
hashCode() |
boolean |
isSet(RegulationsThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCoppa()
Returns true if field coppa is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
RegulationsThrift |
setCoppa(byte coppa)
Flag indicating whether or not this request falls under the COPPA regulations established by the USA FTC, where 0 = no, 1 = yes.
|
void |
setCoppaIsSet(boolean value) |
void |
setFieldValue(RegulationsThrift._Fields field,
Object value) |
String |
toString() |
void |
unsetCoppa() |
void |
validate() |
void |
write(TProtocol oprot) |
public byte coppa
public static final Map<RegulationsThrift._Fields,FieldMetaData> metaDataMap
public RegulationsThrift()
public RegulationsThrift(RegulationsThrift other)
public RegulationsThrift deepCopy()
deepCopy in interface TBase<RegulationsThrift,RegulationsThrift._Fields>public void clear()
clear in interface TBase<RegulationsThrift,RegulationsThrift._Fields>public byte getCoppa()
public RegulationsThrift setCoppa(byte coppa)
public void unsetCoppa()
public boolean isSetCoppa()
public void setCoppaIsSet(boolean value)
public void setFieldValue(RegulationsThrift._Fields field, Object value)
setFieldValue in interface TBase<RegulationsThrift,RegulationsThrift._Fields>public Object getFieldValue(RegulationsThrift._Fields field)
getFieldValue in interface TBase<RegulationsThrift,RegulationsThrift._Fields>public boolean isSet(RegulationsThrift._Fields field)
isSet in interface TBase<RegulationsThrift,RegulationsThrift._Fields>public boolean equals(RegulationsThrift that)
public int compareTo(RegulationsThrift other)
compareTo in interface Comparable<RegulationsThrift>public RegulationsThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<RegulationsThrift,RegulationsThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<RegulationsThrift,RegulationsThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<RegulationsThrift,RegulationsThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.