Class DestinationParams

java.lang.Object
dev.vality.fistful.destination.DestinationParams
All Implemented Interfaces:
Serializable, Cloneable, Comparable<DestinationParams>, org.apache.thrift.TBase<DestinationParams,​DestinationParams._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
           date="2022-06-27")
public class DestinationParams
extends Object
implements org.apache.thrift.TBase<DestinationParams,​DestinationParams._Fields>, Serializable, Cloneable, Comparable<DestinationParams>
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • DestinationParams

      public DestinationParams()
    • DestinationParams

      public DestinationParams​(String id, String identity, String name, String currency, Resource resource)
    • DestinationParams

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

    • deepCopy

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

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

      public String getId()
    • setId

      public DestinationParams 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)
    • getIdentity

      public String getIdentity()
    • setIdentity

      public DestinationParams setIdentity​(String identity)
    • unsetIdentity

      public void unsetIdentity()
    • isSetIdentity

      public boolean isSetIdentity()
      Returns true if field identity is set (has been assigned a value) and false otherwise
    • setIdentityIsSet

      public void setIdentityIsSet​(boolean value)
    • getName

      public String getName()
    • setName

      public DestinationParams 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)
    • getCurrency

      public String getCurrency()
    • setCurrency

      public DestinationParams setCurrency​(String 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 DestinationParams 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)
    • getExternalId

      public String getExternalId()
    • setExternalId

      public DestinationParams setExternalId​(String external_id)
    • unsetExternalId

      public void unsetExternalId()
    • isSetExternalId

      public boolean isSetExternalId()
      Returns true if field external_id is set (has been assigned a value) and false otherwise
    • setExternalIdIsSet

      public void setExternalIdIsSet​(boolean value)
    • getMetadataSize

      public int getMetadataSize()
    • putToMetadata

      public void putToMetadata​(String key, Value val)
    • getMetadata

      public Map<String,​Value> getMetadata()
    • setMetadata

      public DestinationParams setMetadata​(Map<String,​Value> metadata)
    • unsetMetadata

      public void unsetMetadata()
    • isSetMetadata

      public boolean isSetMetadata()
      Returns true if field metadata is set (has been assigned a value) and false otherwise
    • setMetadataIsSet

      public void setMetadataIsSet​(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals​(DestinationParams that)
    • hashCode

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

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

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

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

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