Class ContactDetail
java.lang.Object
org.apache.thrift.TUnion<ContactDetail,ContactDetail._Fields>
dev.vality.damsel.withdrawals.domain.ContactDetail
- All Implemented Interfaces:
Serializable,Comparable<ContactDetail>,org.apache.thrift.TBase<ContactDetail,,ContactDetail._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class ContactDetail
extends org.apache.thrift.TUnion<ContactDetail,ContactDetail._Fields>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<ContactDetail._Fields,org.apache.thrift.meta_data.FieldMetaData> Fields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
ConstructorsConstructorDescriptionContactDetail(ContactDetail other) ContactDetail(ContactDetail._Fields setField, Object value) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckType(ContactDetail._Fields setField, Object value) intcompareTo(ContactDetail other) deepCopy()static ContactDetailprotected ContactDetail._FieldsenumForId(short id) booleanequals(ContactDetail other) booleanfieldForId(int fieldId) getEmail()protected org.apache.thrift.protocol.TFieldgetFieldDesc(ContactDetail._Fields setField) Map<ContactDetail._Fields,org.apache.thrift.meta_data.FieldMetaData> protected org.apache.thrift.protocol.TStructinthashCode()booleanbooleanstatic ContactDetailphone_number(String value) voidvoidsetPhoneNumber(String value) protected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) protected ObjecttupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) protected voidtupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) Methods inherited from class org.apache.thrift.TUnion
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write
-
Field Details
-
metaDataMap
public static final Map<ContactDetail._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ContactDetail
public ContactDetail() -
ContactDetail
-
ContactDetail
-
-
Method Details
-
deepCopy
-
email
-
phone_number
-
checkType
- Specified by:
checkTypein classorg.apache.thrift.TUnion<ContactDetail,ContactDetail._Fields> - Throws:
ClassCastException
-
standardSchemeReadValue
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException - Specified by:
standardSchemeReadValuein classorg.apache.thrift.TUnion<ContactDetail,ContactDetail._Fields> - Throws:
org.apache.thrift.TException
-
standardSchemeWriteValue
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException - Specified by:
standardSchemeWriteValuein classorg.apache.thrift.TUnion<ContactDetail,ContactDetail._Fields> - Throws:
org.apache.thrift.TException
-
tupleSchemeReadValue
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException - Specified by:
tupleSchemeReadValuein classorg.apache.thrift.TUnion<ContactDetail,ContactDetail._Fields> - Throws:
org.apache.thrift.TException
-
tupleSchemeWriteValue
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException - Specified by:
tupleSchemeWriteValuein classorg.apache.thrift.TUnion<ContactDetail,ContactDetail._Fields> - Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<ContactDetail,ContactDetail._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<ContactDetail,ContactDetail._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<ContactDetail,ContactDetail._Fields>
-
getFields
-
getFieldMetaData
-
fieldForId
-
getEmail
-
setEmail
-
getPhoneNumber
-
setPhoneNumber
-
isSetEmail
public boolean isSetEmail() -
isSetPhoneNumber
public boolean isSetPhoneNumber() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-