Package dev.vality.damsel.domain
Class ContactInfo
java.lang.Object
dev.vality.damsel.domain.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.19.0)",
date="2024-08-02")
public class ContactInfo
extends Object
implements org.apache.thrift.TBase<ContactInfo,ContactInfo._Fields>, Serializable, Cloneable, Comparable<ContactInfo>
Контактная информация. *
- 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<ContactInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(ContactInfo other) deepCopy()booleanequals(ContactInfo that) booleanfieldForId(int fieldId) getCity()getEmail()Map<ContactInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldValue(ContactInfo._Fields field) getState()inthashCode()booleanisSet(ContactInfo._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field address is set (has been assigned a value) and false otherwisebooleanReturns true if field city is set (has been assigned a value) and false otherwisebooleanReturns true if field country is set (has been assigned a value) and false otherwisebooleanReturns true if field email is set (has been assigned a value) and false otherwisebooleanReturns true if field first_name is set (has been assigned a value) and false otherwisebooleanReturns true if field last_name is set (has been assigned a value) and false otherwisebooleanReturns true if field phone_number is set (has been assigned a value) and false otherwisebooleanReturns true if field postal_code is set (has been assigned a value) and false otherwisebooleanReturns true if field state is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setAddress(String address) voidsetAddressIsSet(boolean value) voidsetCityIsSet(boolean value) setCountry(String country) voidsetCountryIsSet(boolean value) voidsetEmailIsSet(boolean value) voidsetFieldValue(ContactInfo._Fields field, Object value) setFirstName(String first_name) voidsetFirstNameIsSet(boolean value) setLastName(String last_name) voidsetLastNameIsSet(boolean value) setPhoneNumber(String phone_number) voidsetPhoneNumberIsSet(boolean value) setPostalCode(String postal_code) voidsetPostalCodeIsSet(boolean value) voidsetStateIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
phone_number
-
email
-
first_name
-
last_name
-
country
-
state
-
city
-
address
-
postal_code
-
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) -
getFirstName
-
setFirstName
-
unsetFirstName
public void unsetFirstName() -
isSetFirstName
public boolean isSetFirstName()Returns true if field first_name is set (has been assigned a value) and false otherwise -
setFirstNameIsSet
public void setFirstNameIsSet(boolean value) -
getLastName
-
setLastName
-
unsetLastName
public void unsetLastName() -
isSetLastName
public boolean isSetLastName()Returns true if field last_name is set (has been assigned a value) and false otherwise -
setLastNameIsSet
public void setLastNameIsSet(boolean value) -
getCountry
-
setCountry
-
unsetCountry
public void unsetCountry() -
isSetCountry
public boolean isSetCountry()Returns true if field country is set (has been assigned a value) and false otherwise -
setCountryIsSet
public void setCountryIsSet(boolean value) -
getState
-
setState
-
unsetState
public void unsetState() -
isSetState
public boolean isSetState()Returns true if field state is set (has been assigned a value) and false otherwise -
setStateIsSet
public void setStateIsSet(boolean value) -
getCity
-
setCity
-
unsetCity
public void unsetCity() -
isSetCity
public boolean isSetCity()Returns true if field city is set (has been assigned a value) and false otherwise -
setCityIsSet
public void setCityIsSet(boolean value) -
getAddress
-
setAddress
-
unsetAddress
public void unsetAddress() -
isSetAddress
public boolean isSetAddress()Returns true if field address is set (has been assigned a value) and false otherwise -
setAddressIsSet
public void setAddressIsSet(boolean value) -
getPostalCode
-
setPostalCode
-
unsetPostalCode
public void unsetPostalCode() -
isSetPostalCode
public boolean isSetPostalCode()Returns true if field postal_code is set (has been assigned a value) and false otherwise -
setPostalCodeIsSet
public void setPostalCodeIsSet(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
-