Class IdentityParams

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

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

  • Constructor Details

    • IdentityParams

      public IdentityParams()
    • IdentityParams

      public IdentityParams​(String id, String name, String party, String provider)
    • IdentityParams

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

    • deepCopy

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

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

      public String getId()
    • setId

      public IdentityParams 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 IdentityParams 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)
    • getParty

      public String getParty()
    • setParty

      public IdentityParams setParty​(String party)
    • unsetParty

      public void unsetParty()
    • isSetParty

      public boolean isSetParty()
      Returns true if field party is set (has been assigned a value) and false otherwise
    • setPartyIsSet

      public void setPartyIsSet​(boolean value)
    • getProvider

      public String getProvider()
    • setProvider

      public IdentityParams setProvider​(String provider)
    • unsetProvider

      public void unsetProvider()
    • isSetProvider

      public boolean isSetProvider()
      Returns true if field provider is set (has been assigned a value) and false otherwise
    • setProviderIsSet

      public void setProviderIsSet​(boolean value)
    • getExternalId

      public String getExternalId()
    • setExternalId

      public IdentityParams 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 IdentityParams 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​(IdentityParams._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<IdentityParams,​IdentityParams._Fields>
    • getFieldValue

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

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

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

      public boolean equals​(IdentityParams that)
    • hashCode

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

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

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

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

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