Package app.ductape.sdk.graph.types
Record Class GraphTypes.GraphAction
java.lang.Object
java.lang.Record
app.ductape.sdk.graph.types.GraphTypes.GraphAction
- Enclosing class:
- GraphTypes
-
Constructor Summary
Constructors -
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.graphTag()Returns the value of thegraphTagrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.name()Returns the value of thenamerecord component.Returns the value of theoperationrecord component.Returns the value of theparametersrecord component.query()Returns the value of thequeryrecord component.tag()Returns the value of thetagrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupdatedAtrecord component.
-
Constructor Details
-
GraphAction
public GraphAction(String id, String tag, String name, String description, String operation, Map<String, Object> query, List<GraphTypes.GraphActionParameter> parameters, Instant createdAt, Instant updatedAt, String graphTag) Creates an instance of aGraphActionrecord class.- Parameters:
id- the value for theidrecord componenttag- the value for thetagrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentoperation- the value for theoperationrecord componentquery- the value for thequeryrecord componentparameters- the value for theparametersrecord componentcreatedAt- the value for thecreatedAtrecord componentupdatedAt- the value for theupdatedAtrecord componentgraphTag- the value for thegraphTagrecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
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
-
operation
Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-
query
Returns the value of thequeryrecord component.- Returns:
- the value of the
queryrecord 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
-
graphTag
Returns the value of thegraphTagrecord component.- Returns:
- the value of the
graphTagrecord component
-