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
  • Field Details

  • Constructor Details

    • ContextFragment

      public ContextFragment()
    • ContextFragment

      public ContextFragment​(int vsn)
    • ContextFragment

      public ContextFragment​(ContextFragment other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public ContextFragment deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<ContextFragment,​ContextFragment._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<ContextFragment,​ContextFragment._Fields>
    • getVsn

      public int getVsn()
    • setVsn

      public ContextFragment setVsn​(int vsn)
    • 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

      public Environment getEnv()
    • setEnv

      public ContextFragment setEnv​(Environment env)
    • 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

      public Auth getAuth()
    • setAuth

      public ContextFragment setAuth​(Auth auth)
    • 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

      public User getUser()
    • setUser

      public ContextFragment setUser​(User user)
    • 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

      public Requester getRequester()
    • setRequester

      public ContextFragment setRequester​(Requester requester)
    • 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

      public ContextCommonAPI getCapi()
    • setCapi

      public ContextFragment setCapi​(ContextCommonAPI capi)
    • 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

      public ContextOrgManagement getOrgmgmt()
    • setOrgmgmt

      public ContextFragment setOrgmgmt​(ContextOrgManagement orgmgmt)
    • 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

      public ContextUrlShortener getShortener()
    • setShortener

      public ContextFragment setShortener​(ContextUrlShortener shortener)
    • 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

      public ContextBinapi getBinapi()
    • setBinapi

      public ContextFragment setBinapi​(ContextBinapi binapi)
    • 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

      public ContextAnalyticsAPI getAnapi()
    • setAnapi

      public ContextFragment setAnapi​(ContextAnalyticsAPI anapi)
    • 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

      public ContextWalletAPI getWapi()
    • setWapi

      public ContextFragment setWapi​(ContextWalletAPI wapi)
    • 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

      public ContextPaymentProcessing getPaymentProcessing()
    • setPaymentProcessing

      public ContextFragment setPaymentProcessing​(ContextPaymentProcessing payment_processing)
    • 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

      public ContextPayouts getPayouts()
    • setPayouts

      public ContextFragment setPayouts​(ContextPayouts payouts)
    • 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

      public ContextWebhooks getWebhooks()
    • setWebhooks

      public ContextFragment setWebhooks​(ContextWebhooks webhooks)
    • 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

      public ContextReports getReports()
    • setReports

      public ContextFragment setReports​(ContextReports reports)
    • 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

      public ContextClaimManagement getClaimmgmt()
    • setClaimmgmt

      public ContextFragment setClaimmgmt​(ContextClaimManagement claimmgmt)
    • 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

      public ContextPaymentTool getPaymentTool()
    • setPaymentTool

      public ContextFragment setPaymentTool​(ContextPaymentTool payment_tool)
    • 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

      public Iterator<Entity> getWalletIterator()
    • addToWallet

      public void addToWallet​(Entity elem)
    • getWallet

      public Set<Entity> getWallet()
      Наборы атрибутов для контекста сервиса кошельков, см. описание ниже.
    • setWallet

      public ContextFragment setWallet​(Set<Entity> wallet)
      Наборы атрибутов для контекста сервиса кошельков, см. описание ниже.
    • 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

      public void setFieldValue​(ContextFragment._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<ContextFragment,​ContextFragment._Fields>
    • getFieldValue

      public Object getFieldValue​(ContextFragment._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<ContextFragment,​ContextFragment._Fields>
    • isSet

      public boolean isSet​(ContextFragment._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<ContextFragment,​ContextFragment._Fields>
    • equals

      public boolean equals​(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals​(ContextFragment that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo​(ContextFragment other)
      Specified by:
      compareTo in interface Comparable<ContextFragment>
    • fieldForId

      public ContextFragment._Fields fieldForId​(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<ContextFragment,​ContextFragment._Fields>
    • getFields

      public ContextFragment._Fields[] getFields()
      Specified by:
      getFields in interface org.apache.thrift.TBase<ContextFragment,​ContextFragment._Fields>
    • getFieldMetaData

      public Map<ContextFragment._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<ContextFragment,​ContextFragment._Fields>
    • read

      public void read​(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.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:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException