Class Party

java.lang.Object
dev.vality.damsel.domain.Party
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Party>, org.apache.thrift.TBase<Party,Party._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class Party extends Object implements org.apache.thrift.TBase<Party,Party._Fields>, Serializable, Cloneable, Comparable<Party>
Участник.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • deepCopy

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

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

      public String getId()
    • setId

      public Party setId(String id)
    • 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)
    • getContactInfo

      public PartyContactInfo getContactInfo()
    • setContactInfo

      public Party setContactInfo(PartyContactInfo contact_info)
    • unsetContactInfo

      public void unsetContactInfo()
    • isSetContactInfo

      public boolean isSetContactInfo()
      Returns true if field contact_info is set (has been assigned a value) and false otherwise
    • setContactInfoIsSet

      public void setContactInfoIsSet(boolean value)
    • getCreatedAt

      public String getCreatedAt()
    • setCreatedAt

      public Party setCreatedAt(String created_at)
    • unsetCreatedAt

      public void unsetCreatedAt()
    • isSetCreatedAt

      public boolean isSetCreatedAt()
      Returns true if field created_at is set (has been assigned a value) and false otherwise
    • setCreatedAtIsSet

      public void setCreatedAtIsSet(boolean value)
    • getBlocking

      public Blocking getBlocking()
    • setBlocking

      public Party setBlocking(Blocking blocking)
    • unsetBlocking

      public void unsetBlocking()
    • isSetBlocking

      public boolean isSetBlocking()
      Returns true if field blocking is set (has been assigned a value) and false otherwise
    • setBlockingIsSet

      public void setBlockingIsSet(boolean value)
    • getSuspension

      public Suspension getSuspension()
    • setSuspension

      public Party setSuspension(Suspension suspension)
    • unsetSuspension

      public void unsetSuspension()
    • isSetSuspension

      public boolean isSetSuspension()
      Returns true if field suspension is set (has been assigned a value) and false otherwise
    • setSuspensionIsSet

      public void setSuspensionIsSet(boolean value)
    • getContractorsSize

      public int getContractorsSize()
    • putToContractors

      public void putToContractors(String key, PartyContractor val)
    • getContractors

      public Map<String,PartyContractor> getContractors()
    • setContractors

      public Party setContractors(Map<String,PartyContractor> contractors)
    • unsetContractors

      public void unsetContractors()
    • isSetContractors

      public boolean isSetContractors()
      Returns true if field contractors is set (has been assigned a value) and false otherwise
    • setContractorsIsSet

      public void setContractorsIsSet(boolean value)
    • getContractsSize

      public int getContractsSize()
    • putToContracts

      public void putToContracts(String key, Contract val)
    • getContracts

      public Map<String,Contract> getContracts()
    • setContracts

      public Party setContracts(Map<String,Contract> contracts)
    • unsetContracts

      public void unsetContracts()
    • isSetContracts

      public boolean isSetContracts()
      Returns true if field contracts is set (has been assigned a value) and false otherwise
    • setContractsIsSet

      public void setContractsIsSet(boolean value)
    • getShopsSize

      public int getShopsSize()
    • putToShops

      public void putToShops(String key, Shop val)
    • getShops

      public Map<String,Shop> getShops()
    • setShops

      public Party setShops(Map<String,Shop> shops)
    • unsetShops

      public void unsetShops()
    • isSetShops

      public boolean isSetShops()
      Returns true if field shops is set (has been assigned a value) and false otherwise
    • setShopsIsSet

      public void setShopsIsSet(boolean value)
    • getWalletsSize

      public int getWalletsSize()
    • putToWallets

      public void putToWallets(String key, Wallet val)
    • getWallets

      public Map<String,Wallet> getWallets()
    • setWallets

      public Party setWallets(Map<String,Wallet> wallets)
    • unsetWallets

      public void unsetWallets()
    • isSetWallets

      public boolean isSetWallets()
      Returns true if field wallets is set (has been assigned a value) and false otherwise
    • setWalletsIsSet

      public void setWalletsIsSet(boolean value)
    • getRevision

      public long getRevision()
    • setRevision

      public Party setRevision(long revision)
    • unsetRevision

      public void unsetRevision()
    • isSetRevision

      public boolean isSetRevision()
      Returns true if field revision is set (has been assigned a value) and false otherwise
    • setRevisionIsSet

      public void setRevisionIsSet(boolean value)
    • getPartyName

      public String getPartyName()
    • setPartyName

      public Party setPartyName(String party_name)
    • unsetPartyName

      public void unsetPartyName()
    • isSetPartyName

      public boolean isSetPartyName()
      Returns true if field party_name is set (has been assigned a value) and false otherwise
    • setPartyNameIsSet

      public void setPartyNameIsSet(boolean value)
    • getComment

      public String getComment()
    • setComment

      public Party setComment(String comment)
    • unsetComment

      public void unsetComment()
    • isSetComment

      public boolean isSetComment()
      Returns true if field comment is set (has been assigned a value) and false otherwise
    • setCommentIsSet

      public void setCommentIsSet(boolean value)
    • setFieldValue

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

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

      public boolean isSet(Party._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<Party,Party._Fields>
    • equals

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

      public boolean equals(Party that)
    • hashCode

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

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

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

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

      public Map<Party._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<Party,Party._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