Class NewWalletParams
java.lang.Object
dev.vality.damsel.claim_management.NewWalletParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<NewWalletParams>,org.apache.thrift.TBase<NewWalletParams,,NewWalletParams._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class NewWalletParams
extends Object
implements org.apache.thrift.TBase<NewWalletParams,NewWalletParams._Fields>, Serializable, Cloneable, Comparable<NewWalletParams>
- 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<NewWalletParams._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionNewWalletParams(NewWalletParams other) Performs a deep copy on other.NewWalletParams(String identity_id, String name, CurrencyRef currency) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(NewWalletParams other) deepCopy()booleanequals(NewWalletParams that) booleanfieldForId(int fieldId) Map<NewWalletParams._Fields,org.apache.thrift.meta_data.FieldMetaData> intgetName()inthashCode()booleanisSet(NewWalletParams._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field currency is set (has been assigned a value) and false otherwisebooleanReturns true if field identity_id is set (has been assigned a value) and false otherwisebooleanReturns true if field metadata is set (has been assigned a value) and false otherwisebooleanReturns true if field name is set (has been assigned a value) and false otherwisevoidputToMetadata(String key, Value val) voidread(org.apache.thrift.protocol.TProtocol iprot) setCurrency(CurrencyRef currency) voidsetCurrencyIsSet(boolean value) voidsetFieldValue(NewWalletParams._Fields field, Object value) setIdentityId(String identity_id) voidsetIdentityIdIsSet(boolean value) setMetadata(Map<String, Value> metadata) voidsetMetadataIsSet(boolean value) voidsetNameIsSet(boolean value) toString()voidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
identity_id
-
name
-
currency
-
metadata
-
metaDataMap
public static final Map<NewWalletParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
NewWalletParams
public NewWalletParams() -
NewWalletParams
-
NewWalletParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<NewWalletParams,NewWalletParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<NewWalletParams,NewWalletParams._Fields>
-
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) -
getName
-
setName
-
unsetName
public void unsetName() -
isSetName
public boolean isSetName()Returns true if field name is set (has been assigned a value) and false otherwise -
setNameIsSet
public void setNameIsSet(boolean value) -
getCurrency
-
setCurrency
-
unsetCurrency
public void unsetCurrency() -
isSetCurrency
public boolean isSetCurrency()Returns true if field currency is set (has been assigned a value) and false otherwise -
setCurrencyIsSet
public void setCurrencyIsSet(boolean value) -
getMetadataSize
public int getMetadataSize() -
putToMetadata
-
getMetadata
-
setMetadata
-
unsetMetadata
public void unsetMetadata() -
isSetMetadata
public boolean isSetMetadata()Returns true if field metadata is set (has been assigned a value) and false otherwise -
setMetadataIsSet
public void setMetadataIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<NewWalletParams,NewWalletParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<NewWalletParams,NewWalletParams._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<NewWalletParams,NewWalletParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<NewWalletParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<NewWalletParams,NewWalletParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<NewWalletParams,NewWalletParams._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<NewWalletParams,NewWalletParams._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
-