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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDBAuthPropertiesResource
(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 aDBAuthPropertiesResource
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthQuery
record component.Returns the value of thebadgeAuthQuery
record component.Returns the value of thecontactInfoQuery
record component.Returns the value of thedatasource
record component.Returns the value of theenableUuids
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theextraPropsQuery
record component.Returns the value of thefindUserQuery
record component.final int
hashCode()
Returns a hash code value for this object.mode()
Returns the value of themode
record component.Returns the value of theroleQuery
record component.Returns the value of thescheduleAdjustmentQuery
record component.Returns the value of thetableNamePrefix
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theuserQuery
record component.Returns the value of theuserRoleQuery
record component.
-
Field Details
-
EXTENSION_POINT_TYPE
- See Also:
-
-
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 aDBAuthPropertiesResource
record class.- Parameters:
datasource
- the value for thedatasource
record componentmode
- the value for themode
record componentauthQuery
- the value for theauthQuery
record componentbadgeAuthQuery
- the value for thebadgeAuthQuery
record componentroleQuery
- the value for theroleQuery
record componentuserRoleQuery
- the value for theuserRoleQuery
record componentfindUserQuery
- the value for thefindUserQuery
record componentuserQuery
- the value for theuserQuery
record componentcontactInfoQuery
- the value for thecontactInfoQuery
record componentscheduleAdjustmentQuery
- the value for thescheduleAdjustmentQuery
record componentextraPropsQuery
- the value for theextraPropsQuery
record componenttableNamePrefix
- the value for thetableNamePrefix
record componentenableUuids
- the value for theenableUuids
record component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object)
. -
datasource
Returns the value of thedatasource
record component.- Returns:
- the value of the
datasource
record component
-
mode
Returns the value of themode
record component.- Returns:
- the value of the
mode
record component
-
authQuery
Returns the value of theauthQuery
record component.- Returns:
- the value of the
authQuery
record component
-
badgeAuthQuery
Returns the value of thebadgeAuthQuery
record component.- Returns:
- the value of the
badgeAuthQuery
record component
-
roleQuery
Returns the value of theroleQuery
record component.- Returns:
- the value of the
roleQuery
record component
-
userRoleQuery
Returns the value of theuserRoleQuery
record component.- Returns:
- the value of the
userRoleQuery
record component
-
findUserQuery
Returns the value of thefindUserQuery
record component.- Returns:
- the value of the
findUserQuery
record component
-
userQuery
Returns the value of theuserQuery
record component.- Returns:
- the value of the
userQuery
record component
-
contactInfoQuery
Returns the value of thecontactInfoQuery
record component.- Returns:
- the value of the
contactInfoQuery
record component
-
scheduleAdjustmentQuery
Returns the value of thescheduleAdjustmentQuery
record component.- Returns:
- the value of the
scheduleAdjustmentQuery
record component
-
extraPropsQuery
Returns the value of theextraPropsQuery
record component.- Returns:
- the value of the
extraPropsQuery
record component
-
tableNamePrefix
Returns the value of thetableNamePrefix
record component.- Returns:
- the value of the
tableNamePrefix
record component
-
enableUuids
Returns the value of theenableUuids
record component.- Returns:
- the value of the
enableUuids
record component
-