@Generated(value="Autogenerated by Thrift Compiler (0.10.0)", date="2018-10-18") public class Response extends Object implements org.apache.thrift.TBase<Response,Response._Fields>, Serializable, Cloneable, Comparable<Response>
| Modifier and Type | Class and Description |
|---|---|
static class |
Response._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static Map<Response._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
boolean |
ok |
| Constructor and Description |
|---|
Response() |
Response(boolean ok) |
Response(Response other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(Response other) |
Response |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(Response that) |
Response._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(Response._Fields field) |
int |
hashCode() |
boolean |
isOk() |
boolean |
isSet(Response._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetOk()
Returns true if field ok is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(Response._Fields field,
Object value) |
Response |
setOk(boolean ok) |
void |
setOkIsSet(boolean value) |
String |
toString() |
void |
unsetOk() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public boolean ok
public static final Map<Response._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Response()
public Response(boolean ok)
public Response(Response other)
public Response deepCopy()
deepCopy in interface org.apache.thrift.TBase<Response,Response._Fields>public void clear()
clear in interface org.apache.thrift.TBase<Response,Response._Fields>public boolean isOk()
public Response setOk(boolean ok)
public void unsetOk()
public boolean isSetOk()
public void setOkIsSet(boolean value)
public void setFieldValue(Response._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<Response,Response._Fields>public Object getFieldValue(Response._Fields field)
getFieldValue in interface org.apache.thrift.TBase<Response,Response._Fields>public boolean isSet(Response._Fields field)
isSet in interface org.apache.thrift.TBase<Response,Response._Fields>public boolean equals(Response that)
public int compareTo(Response other)
compareTo in interface Comparable<Response>public Response._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<Response,Response._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2019 WSO2. All rights reserved.