Package dev.vality.bouncer.context.v1
Class ContextFragment
java.lang.Object
dev.vality.bouncer.context.v1.ContextFragment
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ContextFragment>,org.apache.thrift.TBase<ContextFragment,ContextFragment._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-01-24")
public class ContextFragment
extends Object
implements org.apache.thrift.TBase<ContextFragment,ContextFragment._Fields>, Serializable, Cloneable, Comparable<ContextFragment>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContextFragment._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description ContextAnalyticsAPIanapiAuthauthContextBinapibinapiContextCommonAPIcapiContextClaimManagementclaimmgmtEnvironmentenvstatic Map<ContextFragment._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapContextOrgManagementorgmgmtContextPaymentProcessingpayment_processingContextPaymentToolpayment_toolContextPayoutspayoutsContextReportsreportsRequesterrequesterContextUrlShortenershortenerUseruserintvsnSet<Entity>walletНаборы атрибутов для контекста сервиса кошельков, см.ContextWalletAPIwapiContextWebhookswebhooks -
Constructor Summary
Constructors Constructor Description ContextFragment()ContextFragment(int vsn)ContextFragment(ContextFragment other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidaddToWallet(Entity elem)voidclear()intcompareTo(ContextFragment other)ContextFragmentdeepCopy()booleanequals(ContextFragment that)booleanequals(Object that)ContextFragment._FieldsfieldForId(int fieldId)ContextAnalyticsAPIgetAnapi()AuthgetAuth()ContextBinapigetBinapi()ContextCommonAPIgetCapi()ContextClaimManagementgetClaimmgmt()EnvironmentgetEnv()Map<ContextFragment._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()ContextFragment._Fields[]getFields()ObjectgetFieldValue(ContextFragment._Fields field)ContextOrgManagementgetOrgmgmt()ContextPaymentProcessinggetPaymentProcessing()ContextPaymentToolgetPaymentTool()ContextPayoutsgetPayouts()ContextReportsgetReports()RequestergetRequester()ContextUrlShortenergetShortener()UsergetUser()intgetVsn()Set<Entity>getWallet()Наборы атрибутов для контекста сервиса кошельков, см.Iterator<Entity>getWalletIterator()intgetWalletSize()ContextWalletAPIgetWapi()ContextWebhooksgetWebhooks()inthashCode()booleanisSet(ContextFragment._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAnapi()Returns true if field anapi is set (has been assigned a value) and false otherwisebooleanisSetAuth()Returns true if field auth is set (has been assigned a value) and false otherwisebooleanisSetBinapi()Returns true if field binapi is set (has been assigned a value) and false otherwisebooleanisSetCapi()Returns true if field capi is set (has been assigned a value) and false otherwisebooleanisSetClaimmgmt()Returns true if field claimmgmt is set (has been assigned a value) and false otherwisebooleanisSetEnv()Returns true if field env is set (has been assigned a value) and false otherwisebooleanisSetOrgmgmt()Returns true if field orgmgmt is set (has been assigned a value) and false otherwisebooleanisSetPaymentProcessing()Returns true if field payment_processing is set (has been assigned a value) and false otherwisebooleanisSetPaymentTool()Returns true if field payment_tool is set (has been assigned a value) and false otherwisebooleanisSetPayouts()Returns true if field payouts is set (has been assigned a value) and false otherwisebooleanisSetReports()Returns true if field reports is set (has been assigned a value) and false otherwisebooleanisSetRequester()Returns true if field requester is set (has been assigned a value) and false otherwisebooleanisSetShortener()Returns true if field shortener is set (has been assigned a value) and false otherwisebooleanisSetUser()Returns true if field user is set (has been assigned a value) and false otherwisebooleanisSetVsn()Returns true if field vsn is set (has been assigned a value) and false otherwisebooleanisSetWallet()Returns true if field wallet is set (has been assigned a value) and false otherwisebooleanisSetWapi()Returns true if field wapi is set (has been assigned a value) and false otherwisebooleanisSetWebhooks()Returns true if field webhooks is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ContextFragmentsetAnapi(ContextAnalyticsAPI anapi)voidsetAnapiIsSet(boolean value)ContextFragmentsetAuth(Auth auth)voidsetAuthIsSet(boolean value)ContextFragmentsetBinapi(ContextBinapi binapi)voidsetBinapiIsSet(boolean value)ContextFragmentsetCapi(ContextCommonAPI capi)voidsetCapiIsSet(boolean value)ContextFragmentsetClaimmgmt(ContextClaimManagement claimmgmt)voidsetClaimmgmtIsSet(boolean value)ContextFragmentsetEnv(Environment env)voidsetEnvIsSet(boolean value)voidsetFieldValue(ContextFragment._Fields field, Object value)ContextFragmentsetOrgmgmt(ContextOrgManagement orgmgmt)voidsetOrgmgmtIsSet(boolean value)ContextFragmentsetPaymentProcessing(ContextPaymentProcessing payment_processing)voidsetPaymentProcessingIsSet(boolean value)ContextFragmentsetPaymentTool(ContextPaymentTool payment_tool)voidsetPaymentToolIsSet(boolean value)ContextFragmentsetPayouts(ContextPayouts payouts)voidsetPayoutsIsSet(boolean value)ContextFragmentsetReports(ContextReports reports)voidsetReportsIsSet(boolean value)ContextFragmentsetRequester(Requester requester)voidsetRequesterIsSet(boolean value)ContextFragmentsetShortener(ContextUrlShortener shortener)voidsetShortenerIsSet(boolean value)ContextFragmentsetUser(User user)voidsetUserIsSet(boolean value)ContextFragmentsetVsn(int vsn)voidsetVsnIsSet(boolean value)ContextFragmentsetWallet(Set<Entity> wallet)Наборы атрибутов для контекста сервиса кошельков, см.voidsetWalletIsSet(boolean value)ContextFragmentsetWapi(ContextWalletAPI wapi)voidsetWapiIsSet(boolean value)ContextFragmentsetWebhooks(ContextWebhooks webhooks)voidsetWebhooksIsSet(boolean value)StringtoString()voidunsetAnapi()voidunsetAuth()voidunsetBinapi()voidunsetCapi()voidunsetClaimmgmt()voidunsetEnv()voidunsetOrgmgmt()voidunsetPaymentProcessing()voidunsetPaymentTool()voidunsetPayouts()voidunsetReports()voidunsetRequester()voidunsetShortener()voidunsetUser()voidunsetVsn()voidunsetWallet()voidunsetWapi()voidunsetWebhooks()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
vsn
public int vsn -
env
-
auth
-
user
-
requester
-
capi
-
orgmgmt
-
shortener
-
binapi
-
anapi
-
wapi
-
payment_processing
-
payouts
-
webhooks
-
reports
-
claimmgmt
-
payment_tool
-
wallet
Наборы атрибутов для контекста сервиса кошельков, см. описание ниже. -
metaDataMap
public static final Map<ContextFragment._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ContextFragment
public ContextFragment() -
ContextFragment
public ContextFragment(int vsn) -
ContextFragment
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ContextFragment,ContextFragment._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ContextFragment,ContextFragment._Fields>
-
getVsn
public int getVsn() -
setVsn
-
unsetVsn
public void unsetVsn() -
isSetVsn
public boolean isSetVsn()Returns true if field vsn is set (has been assigned a value) and false otherwise -
setVsnIsSet
public void setVsnIsSet(boolean value) -
getEnv
-
setEnv
-
unsetEnv
public void unsetEnv() -
isSetEnv
public boolean isSetEnv()Returns true if field env is set (has been assigned a value) and false otherwise -
setEnvIsSet
public void setEnvIsSet(boolean value) -
getAuth
-
setAuth
-
unsetAuth
public void unsetAuth() -
isSetAuth
public boolean isSetAuth()Returns true if field auth is set (has been assigned a value) and false otherwise -
setAuthIsSet
public void setAuthIsSet(boolean value) -
getUser
-
setUser
-
unsetUser
public void unsetUser() -
isSetUser
public boolean isSetUser()Returns true if field user is set (has been assigned a value) and false otherwise -
setUserIsSet
public void setUserIsSet(boolean value) -
getRequester
-
setRequester
-
unsetRequester
public void unsetRequester() -
isSetRequester
public boolean isSetRequester()Returns true if field requester is set (has been assigned a value) and false otherwise -
setRequesterIsSet
public void setRequesterIsSet(boolean value) -
getCapi
-
setCapi
-
unsetCapi
public void unsetCapi() -
isSetCapi
public boolean isSetCapi()Returns true if field capi is set (has been assigned a value) and false otherwise -
setCapiIsSet
public void setCapiIsSet(boolean value) -
getOrgmgmt
-
setOrgmgmt
-
unsetOrgmgmt
public void unsetOrgmgmt() -
isSetOrgmgmt
public boolean isSetOrgmgmt()Returns true if field orgmgmt is set (has been assigned a value) and false otherwise -
setOrgmgmtIsSet
public void setOrgmgmtIsSet(boolean value) -
getShortener
-
setShortener
-
unsetShortener
public void unsetShortener() -
isSetShortener
public boolean isSetShortener()Returns true if field shortener is set (has been assigned a value) and false otherwise -
setShortenerIsSet
public void setShortenerIsSet(boolean value) -
getBinapi
-
setBinapi
-
unsetBinapi
public void unsetBinapi() -
isSetBinapi
public boolean isSetBinapi()Returns true if field binapi is set (has been assigned a value) and false otherwise -
setBinapiIsSet
public void setBinapiIsSet(boolean value) -
getAnapi
-
setAnapi
-
unsetAnapi
public void unsetAnapi() -
isSetAnapi
public boolean isSetAnapi()Returns true if field anapi is set (has been assigned a value) and false otherwise -
setAnapiIsSet
public void setAnapiIsSet(boolean value) -
getWapi
-
setWapi
-
unsetWapi
public void unsetWapi() -
isSetWapi
public boolean isSetWapi()Returns true if field wapi is set (has been assigned a value) and false otherwise -
setWapiIsSet
public void setWapiIsSet(boolean value) -
getPaymentProcessing
-
setPaymentProcessing
-
unsetPaymentProcessing
public void unsetPaymentProcessing() -
isSetPaymentProcessing
public boolean isSetPaymentProcessing()Returns true if field payment_processing is set (has been assigned a value) and false otherwise -
setPaymentProcessingIsSet
public void setPaymentProcessingIsSet(boolean value) -
getPayouts
-
setPayouts
-
unsetPayouts
public void unsetPayouts() -
isSetPayouts
public boolean isSetPayouts()Returns true if field payouts is set (has been assigned a value) and false otherwise -
setPayoutsIsSet
public void setPayoutsIsSet(boolean value) -
getWebhooks
-
setWebhooks
-
unsetWebhooks
public void unsetWebhooks() -
isSetWebhooks
public boolean isSetWebhooks()Returns true if field webhooks is set (has been assigned a value) and false otherwise -
setWebhooksIsSet
public void setWebhooksIsSet(boolean value) -
getReports
-
setReports
-
unsetReports
public void unsetReports() -
isSetReports
public boolean isSetReports()Returns true if field reports is set (has been assigned a value) and false otherwise -
setReportsIsSet
public void setReportsIsSet(boolean value) -
getClaimmgmt
-
setClaimmgmt
-
unsetClaimmgmt
public void unsetClaimmgmt() -
isSetClaimmgmt
public boolean isSetClaimmgmt()Returns true if field claimmgmt is set (has been assigned a value) and false otherwise -
setClaimmgmtIsSet
public void setClaimmgmtIsSet(boolean value) -
getPaymentTool
-
setPaymentTool
-
unsetPaymentTool
public void unsetPaymentTool() -
isSetPaymentTool
public boolean isSetPaymentTool()Returns true if field payment_tool is set (has been assigned a value) and false otherwise -
setPaymentToolIsSet
public void setPaymentToolIsSet(boolean value) -
getWalletSize
public int getWalletSize() -
getWalletIterator
-
addToWallet
-
getWallet
Наборы атрибутов для контекста сервиса кошельков, см. описание ниже. -
setWallet
Наборы атрибутов для контекста сервиса кошельков, см. описание ниже. -
unsetWallet
public void unsetWallet() -
isSetWallet
public boolean isSetWallet()Returns true if field wallet is set (has been assigned a value) and false otherwise -
setWalletIsSet
public void setWalletIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ContextFragment,ContextFragment._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ContextFragment,ContextFragment._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<ContextFragment,ContextFragment._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ContextFragment>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ContextFragment,ContextFragment._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ContextFragment,ContextFragment._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ContextFragment,ContextFragment._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
-