Package app.ductape.sdk.database.types
Record Class TriggerTypes.CreateTriggerInput
java.lang.Object
java.lang.Record
app.ductape.sdk.database.types.TriggerTypes.CreateTriggerInput
- Enclosing class:
- TriggerTypes
-
Constructor Summary
ConstructorsConstructorDescriptionCreateTriggerInput(String tag, String name, String description, List<String> events, List<String> tables, Map<String, Object> condition, List<TriggerTypes.PersistedTriggerAction> actions, Boolean enabled, Integer priority) Creates an instance of aCreateTriggerInputrecord class. -
Method Summary
Modifier and TypeMethodDescriptionactions()Returns the value of theactionsrecord component.Returns the value of theconditionrecord component.Returns the value of thedescriptionrecord component.enabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.events()Returns the value of theeventsrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.priority()Returns the value of thepriorityrecord component.tables()Returns the value of thetablesrecord component.tag()Returns the value of thetagrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CreateTriggerInput
public CreateTriggerInput(String tag, String name, String description, List<String> events, List<String> tables, Map<String, Object> condition, List<TriggerTypes.PersistedTriggerAction> actions, Boolean enabled, Integer priority) Creates an instance of aCreateTriggerInputrecord class.- Parameters:
tag- the value for thetagrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentevents- the value for theeventsrecord componenttables- the value for thetablesrecord componentcondition- the value for theconditionrecord componentactions- the value for theactionsrecord componentenabled- the value for theenabledrecord componentpriority- the value for thepriorityrecord 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). -
tag
Returns the value of thetagrecord component.- Returns:
- the value of the
tagrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
events
Returns the value of theeventsrecord component.- Returns:
- the value of the
eventsrecord component
-
tables
Returns the value of thetablesrecord component.- Returns:
- the value of the
tablesrecord component
-
condition
Returns the value of theconditionrecord component.- Returns:
- the value of the
conditionrecord component
-
actions
Returns the value of theactionsrecord component.- Returns:
- the value of the
actionsrecord component
-
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
priority
Returns the value of thepriorityrecord component.- Returns:
- the value of the
priorityrecord component
-