Package dev.vality.damsel.messages
Class GetConversationResponse
java.lang.Object
dev.vality.damsel.messages.GetConversationResponse
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<GetConversationResponse>,org.apache.thrift.TBase<GetConversationResponse,GetConversationResponse._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-11-14")
public class GetConversationResponse
extends Object
implements org.apache.thrift.TBase<GetConversationResponse,GetConversationResponse._Fields>, Serializable, Cloneable, Comparable<GetConversationResponse>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetConversationResponse._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description List<Conversation>conversationsstatic Map<GetConversationResponse._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapMap<String,User>users -
Constructor Summary
Constructors Constructor Description GetConversationResponse()GetConversationResponse(GetConversationResponse other)Performs a deep copy on other.GetConversationResponse(List<Conversation> conversations, Map<String,User> users) -
Method Summary
Modifier and Type Method Description voidaddToConversations(Conversation elem)voidclear()intcompareTo(GetConversationResponse other)GetConversationResponsedeepCopy()booleanequals(GetConversationResponse that)booleanequals(Object that)GetConversationResponse._FieldsfieldForId(int fieldId)List<Conversation>getConversations()Iterator<Conversation>getConversationsIterator()intgetConversationsSize()Map<GetConversationResponse._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()GetConversationResponse._Fields[]getFields()ObjectgetFieldValue(GetConversationResponse._Fields field)Map<String,User>getUsers()intgetUsersSize()inthashCode()booleanisSet(GetConversationResponse._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetConversations()Returns true if field conversations is set (has been assigned a value) and false otherwisebooleanisSetUsers()Returns true if field users is set (has been assigned a value) and false otherwisevoidputToUsers(String key, User val)voidread(org.apache.thrift.protocol.TProtocol iprot)GetConversationResponsesetConversations(List<Conversation> conversations)voidsetConversationsIsSet(boolean value)voidsetFieldValue(GetConversationResponse._Fields field, Object value)GetConversationResponsesetUsers(Map<String,User> users)voidsetUsersIsSet(boolean value)StringtoString()voidunsetConversations()voidunsetUsers()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
conversations
-
users
-
metaDataMap
public static final Map<GetConversationResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
GetConversationResponse
public GetConversationResponse() -
GetConversationResponse
-
GetConversationResponse
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<GetConversationResponse,GetConversationResponse._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<GetConversationResponse,GetConversationResponse._Fields>
-
getConversationsSize
public int getConversationsSize() -
getConversationsIterator
-
addToConversations
-
getConversations
-
setConversations
-
unsetConversations
public void unsetConversations() -
isSetConversations
public boolean isSetConversations()Returns true if field conversations is set (has been assigned a value) and false otherwise -
setConversationsIsSet
public void setConversationsIsSet(boolean value) -
getUsersSize
public int getUsersSize() -
putToUsers
-
getUsers
-
setUsers
-
unsetUsers
public void unsetUsers() -
isSetUsers
public boolean isSetUsers()Returns true if field users is set (has been assigned a value) and false otherwise -
setUsersIsSet
public void setUsersIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<GetConversationResponse,GetConversationResponse._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<GetConversationResponse,GetConversationResponse._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<GetConversationResponse,GetConversationResponse._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<GetConversationResponse>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<GetConversationResponse,GetConversationResponse._Fields>
-
getFields
-
getFieldMetaData
public Map<GetConversationResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData() -
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-