Package dev.vality.fistful.base
Class ContactInfo
java.lang.Object
dev.vality.fistful.base.ContactInfo
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ContactInfo>,org.apache.thrift.TBase<ContactInfo,ContactInfo._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class ContactInfo
extends Object
implements org.apache.thrift.TBase<ContactInfo,ContactInfo._Fields>, Serializable, Cloneable, Comparable<ContactInfo>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContactInfo._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Stringemailstatic Map<ContactInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringphone_number -
Constructor Summary
Constructors Constructor Description ContactInfo()ContactInfo(ContactInfo other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(ContactInfo other)ContactInfodeepCopy()booleanequals(ContactInfo that)booleanequals(Object that)ContactInfo._FieldsfieldForId(int fieldId)StringgetEmail()Map<ContactInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()ContactInfo._Fields[]getFields()ObjectgetFieldValue(ContactInfo._Fields field)StringgetPhoneNumber()inthashCode()booleanisSet(ContactInfo._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetEmail()Returns true if field email is set (has been assigned a value) and false otherwisebooleanisSetPhoneNumber()Returns true if field phone_number is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ContactInfosetEmail(String email)voidsetEmailIsSet(boolean value)voidsetFieldValue(ContactInfo._Fields field, Object value)ContactInfosetPhoneNumber(String phone_number)voidsetPhoneNumberIsSet(boolean value)StringtoString()voidunsetEmail()voidunsetPhoneNumber()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
phone_number
-
email
-
metaDataMap
-
-
Constructor Details
-
ContactInfo
public ContactInfo() -
ContactInfo
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ContactInfo,ContactInfo._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ContactInfo,ContactInfo._Fields>
-
getPhoneNumber
-
setPhoneNumber
-
unsetPhoneNumber
public void unsetPhoneNumber() -
isSetPhoneNumber
public boolean isSetPhoneNumber()Returns true if field phone_number is set (has been assigned a value) and false otherwise -
setPhoneNumberIsSet
public void setPhoneNumberIsSet(boolean value) -
getEmail
-
setEmail
-
unsetEmail
public void unsetEmail() -
isSetEmail
public boolean isSetEmail()Returns true if field email is set (has been assigned a value) and false otherwise -
setEmailIsSet
public void setEmailIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ContactInfo,ContactInfo._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ContactInfo,ContactInfo._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<ContactInfo,ContactInfo._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ContactInfo>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ContactInfo,ContactInfo._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ContactInfo,ContactInfo._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ContactInfo,ContactInfo._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
-