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

  • Constructor Details

    • SourceParams

      public SourceParams()
    • SourceParams

      public SourceParams​(String id, String name, String identity_id, CurrencyRef currency, Resource resource)
    • SourceParams

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

    • deepCopy

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

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

      public String getId()
    • setId

      public SourceParams 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)
    • getName

      public String getName()
    • setName

      public SourceParams setName​(String name)
    • 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

      public String getIdentityId()
    • setIdentityId

      public SourceParams setIdentityId​(String identity_id)
    • 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

      public CurrencyRef getCurrency()
    • setCurrency

      public SourceParams setCurrency​(CurrencyRef currency)
    • 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

      public Resource getResource()
    • setResource

      public SourceParams setResource​(Resource resource)
    • 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

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

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

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

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

      public boolean equals​(SourceParams that)
    • hashCode

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

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

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

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

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