Class Identity
java.lang.Object
dev.vality.damsel.withdrawals.domain.Identity
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Identity>,org.apache.thrift.TBase<Identity,Identity._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class Identity
extends Object
implements org.apache.thrift.TBase<Identity,Identity._Fields>, Serializable, Cloneable, Comparable<Identity>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentity._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<ContactDetail>contactList<IdentityDocument>documentsStringidstatic Map<Identity._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringowner_id -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidaddToContact(ContactDetail elem)voidaddToDocuments(IdentityDocument elem)voidclear()intcompareTo(Identity other)IdentitydeepCopy()booleanequals(Identity that)booleanequals(Object that)Identity._FieldsfieldForId(int fieldId)List<ContactDetail>getContact()Iterator<ContactDetail>getContactIterator()intgetContactSize()List<IdentityDocument>getDocuments()Iterator<IdentityDocument>getDocumentsIterator()intgetDocumentsSize()Map<Identity._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Identity._Fields[]getFields()ObjectgetFieldValue(Identity._Fields field)StringgetId()StringgetOwnerId()inthashCode()booleanisSet(Identity._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetContact()Returns true if field contact is set (has been assigned a value) and false otherwisebooleanisSetDocuments()Returns true if field documents is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetOwnerId()Returns true if field owner_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)IdentitysetContact(List<ContactDetail> contact)voidsetContactIsSet(boolean value)IdentitysetDocuments(List<IdentityDocument> documents)voidsetDocumentsIsSet(boolean value)voidsetFieldValue(Identity._Fields field, Object value)IdentitysetId(String id)voidsetIdIsSet(boolean value)IdentitysetOwnerId(String owner_id)voidsetOwnerIdIsSet(boolean value)StringtoString()voidunsetContact()voidunsetDocuments()voidunsetId()voidunsetOwnerId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
owner_id
-
documents
-
contact
-
metaDataMap
-
-
Constructor Details
-
Identity
public Identity() -
Identity
-
Identity
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Identity,Identity._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Identity,Identity._Fields>
-
getId
-
setId
-
unsetId
public void unsetId() -
isSetId
public boolean isSetId()Returns true if field id is set (has been assigned a value) and false otherwise -
setIdIsSet
public void setIdIsSet(boolean value) -
getOwnerId
-
setOwnerId
-
unsetOwnerId
public void unsetOwnerId() -
isSetOwnerId
public boolean isSetOwnerId()Returns true if field owner_id is set (has been assigned a value) and false otherwise -
setOwnerIdIsSet
public void setOwnerIdIsSet(boolean value) -
getDocumentsSize
public int getDocumentsSize() -
getDocumentsIterator
-
addToDocuments
-
getDocuments
-
setDocuments
-
unsetDocuments
public void unsetDocuments() -
isSetDocuments
public boolean isSetDocuments()Returns true if field documents is set (has been assigned a value) and false otherwise -
setDocumentsIsSet
public void setDocumentsIsSet(boolean value) -
getContactSize
public int getContactSize() -
getContactIterator
-
addToContact
-
getContact
-
setContact
-
unsetContact
public void unsetContact() -
isSetContact
public boolean isSetContact()Returns true if field contact is set (has been assigned a value) and false otherwise -
setContactIsSet
public void setContactIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Identity,Identity._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Identity,Identity._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<Identity,Identity._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Identity>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Identity,Identity._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Identity,Identity._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Identity,Identity._Fields>
-
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
-