Package app.ductape.sdk.vector.types
Record Class VectorActionInterfaceTypes.VectorActionDefinition
java.lang.Object
java.lang.Record
app.ductape.sdk.vector.types.VectorActionInterfaceTypes.VectorActionDefinition
- Enclosing class:
- VectorActionInterfaceTypes
public static record VectorActionInterfaceTypes.VectorActionDefinition(String name, String tag, String operation, String description, VectorActionInterfaceTypes.VectorActionTemplate template, List<VectorActionInterfaceTypes.VectorActionParam> parameters, Instant createdAt, Instant updatedAt)
extends Record
TS
IVectorActionDefinition-
Constructor Summary
ConstructorsConstructorDescriptionVectorActionDefinition(String name, String tag, String operation, String description, VectorActionInterfaceTypes.VectorActionTemplate template, List<VectorActionInterfaceTypes.VectorActionParam> parameters, Instant createdAt, Instant updatedAt) Creates an instance of aVectorActionDefinitionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreatedAtrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of theoperationrecord component.Returns the value of theparametersrecord component.tag()Returns the value of thetagrecord component.template()Returns the value of thetemplaterecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupdatedAtrecord component.
-
Constructor Details
-
VectorActionDefinition
public VectorActionDefinition(String name, String tag, String operation, String description, VectorActionInterfaceTypes.VectorActionTemplate template, List<VectorActionInterfaceTypes.VectorActionParam> parameters, Instant createdAt, Instant updatedAt) Creates an instance of aVectorActionDefinitionrecord class.- Parameters:
name- the value for thenamerecord componenttag- the value for thetagrecord componentoperation- the value for theoperationrecord componentdescription- the value for thedescriptionrecord componenttemplate- the value for thetemplaterecord componentparameters- the value for theparametersrecord componentcreatedAt- the value for thecreatedAtrecord componentupdatedAt- the value for theupdatedAtrecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
tag
Returns the value of thetagrecord component.- Returns:
- the value of the
tagrecord component
-
operation
Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
template
Returns the value of thetemplaterecord component.- Returns:
- the value of the
templaterecord component
-
parameters
Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
updatedAt
Returns the value of theupdatedAtrecord component.- Returns:
- the value of the
updatedAtrecord component
-