Package dev.vality.fistful.admin
Class SourceParams
java.lang.Object
dev.vality.fistful.admin.SourceParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<SourceParams>,org.apache.thrift.TBase<SourceParams,SourceParams._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class SourceParams
extends Object
implements org.apache.thrift.TBase<SourceParams,SourceParams._Fields>, Serializable, Cloneable, Comparable<SourceParams>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSourceParams._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CurrencyRefcurrencyStringidStringidentity_idstatic Map<SourceParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnameResourceresource -
Constructor Summary
Constructors Constructor Description SourceParams()SourceParams(SourceParams other)Performs a deep copy on other.SourceParams(String id, String name, String identity_id, CurrencyRef currency, Resource resource) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(SourceParams other)SourceParamsdeepCopy()booleanequals(SourceParams that)booleanequals(Object that)SourceParams._FieldsfieldForId(int fieldId)CurrencyRefgetCurrency()Map<SourceParams._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()SourceParams._Fields[]getFields()ObjectgetFieldValue(SourceParams._Fields field)StringgetId()StringgetIdentityId()StringgetName()ResourcegetResource()inthashCode()booleanisSet(SourceParams._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCurrency()Returns true if field currency 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 otherwisebooleanisSetName()Returns true if field name is set (has been assigned a value) and false otherwisebooleanisSetResource()Returns true if field resource is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)SourceParamssetCurrency(CurrencyRef currency)voidsetCurrencyIsSet(boolean value)voidsetFieldValue(SourceParams._Fields field, Object value)SourceParamssetId(String id)SourceParamssetIdentityId(String identity_id)voidsetIdentityIdIsSet(boolean value)voidsetIdIsSet(boolean value)SourceParamssetName(String name)voidsetNameIsSet(boolean value)SourceParamssetResource(Resource resource)voidsetResourceIsSet(boolean value)StringtoString()voidunsetCurrency()voidunsetId()voidunsetIdentityId()voidunsetName()voidunsetResource()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
name
-
identity_id
-
currency
-
resource
-
metaDataMap
public static final Map<SourceParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
SourceParams
public SourceParams() -
SourceParams
public SourceParams(String id, String name, String identity_id, CurrencyRef currency, Resource resource) -
SourceParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<SourceParams,SourceParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<SourceParams,SourceParams._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) -
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) -
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) -
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) -
getResource
-
setResource
-
unsetResource
public void unsetResource() -
isSetResource
public boolean isSetResource()Returns true if field resource is set (has been assigned a value) and false otherwise -
setResourceIsSet
public void setResourceIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<SourceParams,SourceParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<SourceParams,SourceParams._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<SourceParams,SourceParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<SourceParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<SourceParams,SourceParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<SourceParams,SourceParams._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<SourceParams,SourceParams._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
-