Class AuthScope

java.lang.Object
dev.vality.bouncer.context.v1.AuthScope
All Implemented Interfaces:
Serializable, Cloneable, Comparable<AuthScope>, org.apache.thrift.TBase<AuthScope,​AuthScope._Fields>, org.apache.thrift.TSerializable

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

    • party

      public Entity party
    • shop

      public Entity shop
    • invoice

      public Entity invoice
    • invoice_template

      public Entity invoice_template
    • customer

      public Entity customer
    • metaDataMap

      public static final Map<AuthScope._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

    • AuthScope

      public AuthScope()
    • AuthScope

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

    • deepCopy

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

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

      public Entity getParty()
    • setParty

      public AuthScope setParty​(Entity 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)
    • getShop

      public Entity getShop()
    • setShop

      public AuthScope setShop​(Entity shop)
    • unsetShop

      public void unsetShop()
    • isSetShop

      public boolean isSetShop()
      Returns true if field shop is set (has been assigned a value) and false otherwise
    • setShopIsSet

      public void setShopIsSet​(boolean value)
    • getInvoice

      public Entity getInvoice()
    • setInvoice

      public AuthScope setInvoice​(Entity invoice)
    • unsetInvoice

      public void unsetInvoice()
    • isSetInvoice

      public boolean isSetInvoice()
      Returns true if field invoice is set (has been assigned a value) and false otherwise
    • setInvoiceIsSet

      public void setInvoiceIsSet​(boolean value)
    • getInvoiceTemplate

      public Entity getInvoiceTemplate()
    • setInvoiceTemplate

      public AuthScope setInvoiceTemplate​(Entity invoice_template)
    • unsetInvoiceTemplate

      public void unsetInvoiceTemplate()
    • isSetInvoiceTemplate

      public boolean isSetInvoiceTemplate()
      Returns true if field invoice_template is set (has been assigned a value) and false otherwise
    • setInvoiceTemplateIsSet

      public void setInvoiceTemplateIsSet​(boolean value)
    • getCustomer

      public Entity getCustomer()
    • setCustomer

      public AuthScope setCustomer​(Entity customer)
    • unsetCustomer

      public void unsetCustomer()
    • isSetCustomer

      public boolean isSetCustomer()
      Returns true if field customer is set (has been assigned a value) and false otherwise
    • setCustomerIsSet

      public void setCustomerIsSet​(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals​(AuthScope that)
    • hashCode

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

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

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

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

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