Record Class DirectusConnectionConfig.SyncConfig
java.lang.Object
java.lang.Record
ch.iterial.keycloak.plugins.directus.DirectusConnectionConfig.SyncConfig
- Enclosing class:
DirectusConnectionConfig
public static record DirectusConnectionConfig.SyncConfig(boolean create, boolean update, boolean delete)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSyncConfig(boolean create, boolean update, boolean delete) Creates an instance of aSyncConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleancreate()Returns the value of thecreaterecord component.booleandelete()Returns the value of thedeleterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.booleanupdate()Returns the value of theupdaterecord component.
-
Constructor Details
-
SyncConfig
public SyncConfig(boolean create, boolean update, boolean delete) Creates an instance of aSyncConfigrecord class.- Parameters:
create- the value for thecreaterecord componentupdate- the value for theupdaterecord componentdelete- the value for thedeleterecord 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 with '=='. -
create
public boolean create()Returns the value of thecreaterecord component.- Returns:
- the value of the
createrecord component
-
update
public boolean update()Returns the value of theupdaterecord component.- Returns:
- the value of the
updaterecord component
-
delete
public boolean delete()Returns the value of thedeleterecord component.- Returns:
- the value of the
deleterecord component
-