Record Class DBAuthPropertiesResource

java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.authentication.resources.DBAuthPropertiesResource

public record DBAuthPropertiesResource(String datasource, DBAuthMode mode, String authQuery, String badgeAuthQuery, String roleQuery, String userRoleQuery, String findUserQuery, String userQuery, String contactInfoQuery, String scheduleAdjustmentQuery, String extraPropsQuery, String tableNamePrefix, Boolean enableUuids) extends Record
This class is used to define the configuration properties for the DB user source.
  • Field Details

  • Constructor Details

    • DBAuthPropertiesResource

      public DBAuthPropertiesResource(String datasource, DBAuthMode mode, String authQuery, String badgeAuthQuery, String roleQuery, String userRoleQuery, String findUserQuery, String userQuery, String contactInfoQuery, String scheduleAdjustmentQuery, String extraPropsQuery, String tableNamePrefix, Boolean enableUuids)
      Creates an instance of a DBAuthPropertiesResource record class.
      Parameters:
      datasource - the value for the datasource record component
      mode - the value for the mode record component
      authQuery - the value for the authQuery record component
      badgeAuthQuery - the value for the badgeAuthQuery record component
      roleQuery - the value for the roleQuery record component
      userRoleQuery - the value for the userRoleQuery record component
      findUserQuery - the value for the findUserQuery record component
      userQuery - the value for the userQuery record component
      contactInfoQuery - the value for the contactInfoQuery record component
      scheduleAdjustmentQuery - the value for the scheduleAdjustmentQuery record component
      extraPropsQuery - the value for the extraPropsQuery record component
      tableNamePrefix - the value for the tableNamePrefix record component
      enableUuids - the value for the enableUuids record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • datasource

      public String datasource()
      Returns the value of the datasource record component.
      Returns:
      the value of the datasource record component
    • mode

      public DBAuthMode mode()
      Returns the value of the mode record component.
      Returns:
      the value of the mode record component
    • authQuery

      public String authQuery()
      Returns the value of the authQuery record component.
      Returns:
      the value of the authQuery record component
    • badgeAuthQuery

      public String badgeAuthQuery()
      Returns the value of the badgeAuthQuery record component.
      Returns:
      the value of the badgeAuthQuery record component
    • roleQuery

      public String roleQuery()
      Returns the value of the roleQuery record component.
      Returns:
      the value of the roleQuery record component
    • userRoleQuery

      public String userRoleQuery()
      Returns the value of the userRoleQuery record component.
      Returns:
      the value of the userRoleQuery record component
    • findUserQuery

      public String findUserQuery()
      Returns the value of the findUserQuery record component.
      Returns:
      the value of the findUserQuery record component
    • userQuery

      public String userQuery()
      Returns the value of the userQuery record component.
      Returns:
      the value of the userQuery record component
    • contactInfoQuery

      public String contactInfoQuery()
      Returns the value of the contactInfoQuery record component.
      Returns:
      the value of the contactInfoQuery record component
    • scheduleAdjustmentQuery

      public String scheduleAdjustmentQuery()
      Returns the value of the scheduleAdjustmentQuery record component.
      Returns:
      the value of the scheduleAdjustmentQuery record component
    • extraPropsQuery

      public String extraPropsQuery()
      Returns the value of the extraPropsQuery record component.
      Returns:
      the value of the extraPropsQuery record component
    • tableNamePrefix

      public String tableNamePrefix()
      Returns the value of the tableNamePrefix record component.
      Returns:
      the value of the tableNamePrefix record component
    • enableUuids

      public Boolean enableUuids()
      Returns the value of the enableUuids record component.
      Returns:
      the value of the enableUuids record component