Package dev.vality.fistful.p2p.template
Class P2PTemplateParams
java.lang.Object
dev.vality.fistful.p2p.template.P2PTemplateParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<P2PTemplateParams>,org.apache.thrift.TBase<P2PTemplateParams,P2PTemplateParams._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class P2PTemplateParams
extends Object
implements org.apache.thrift.TBase<P2PTemplateParams,P2PTemplateParams._Fields>, Serializable, Cloneable, Comparable<P2PTemplateParams>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classP2PTemplateParams._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Stringexternal_idStringidStringidentity_idstatic Map<P2PTemplateParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapP2PTemplateDetailstemplate_details -
Constructor Summary
Constructors Constructor Description P2PTemplateParams()P2PTemplateParams(P2PTemplateParams other)Performs a deep copy on other.P2PTemplateParams(String id, String identity_id, P2PTemplateDetails template_details) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(P2PTemplateParams other)P2PTemplateParamsdeepCopy()booleanequals(P2PTemplateParams that)booleanequals(Object that)P2PTemplateParams._FieldsfieldForId(int fieldId)StringgetExternalId()Map<P2PTemplateParams._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()P2PTemplateParams._Fields[]getFields()ObjectgetFieldValue(P2PTemplateParams._Fields field)StringgetId()StringgetIdentityId()P2PTemplateDetailsgetTemplateDetails()inthashCode()booleanisSet(P2PTemplateParams._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetExternalId()Returns true if field external_id is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetIdentityId()Returns true if field identity_id is set (has been assigned a value) and false otherwisebooleanisSetTemplateDetails()Returns true if field template_details is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)P2PTemplateParamssetExternalId(String external_id)voidsetExternalIdIsSet(boolean value)voidsetFieldValue(P2PTemplateParams._Fields field, Object value)P2PTemplateParamssetId(String id)P2PTemplateParamssetIdentityId(String identity_id)voidsetIdentityIdIsSet(boolean value)voidsetIdIsSet(boolean value)P2PTemplateParamssetTemplateDetails(P2PTemplateDetails template_details)voidsetTemplateDetailsIsSet(boolean value)StringtoString()voidunsetExternalId()voidunsetId()voidunsetIdentityId()voidunsetTemplateDetails()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
identity_id
-
template_details
-
external_id
-
metaDataMap
public static final Map<P2PTemplateParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
P2PTemplateParams
public P2PTemplateParams() -
P2PTemplateParams
-
P2PTemplateParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<P2PTemplateParams,P2PTemplateParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<P2PTemplateParams,P2PTemplateParams._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) -
getIdentityId
-
setIdentityId
-
unsetIdentityId
public void unsetIdentityId() -
isSetIdentityId
public boolean isSetIdentityId()Returns true if field identity_id is set (has been assigned a value) and false otherwise -
setIdentityIdIsSet
public void setIdentityIdIsSet(boolean value) -
getTemplateDetails
-
setTemplateDetails
-
unsetTemplateDetails
public void unsetTemplateDetails() -
isSetTemplateDetails
public boolean isSetTemplateDetails()Returns true if field template_details is set (has been assigned a value) and false otherwise -
setTemplateDetailsIsSet
public void setTemplateDetailsIsSet(boolean value) -
getExternalId
-
setExternalId
-
unsetExternalId
public void unsetExternalId() -
isSetExternalId
public boolean isSetExternalId()Returns true if field external_id is set (has been assigned a value) and false otherwise -
setExternalIdIsSet
public void setExternalIdIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<P2PTemplateParams,P2PTemplateParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<P2PTemplateParams,P2PTemplateParams._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<P2PTemplateParams,P2PTemplateParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<P2PTemplateParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<P2PTemplateParams,P2PTemplateParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<P2PTemplateParams,P2PTemplateParams._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<P2PTemplateParams,P2PTemplateParams._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
-