Package io.camunda.tasklist
Record Class TasklistClient.VariableFromSearch
java.lang.Object
java.lang.Record
io.camunda.tasklist.TasklistClient.VariableFromSearch
- Enclosing interface:
TasklistClient
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionVariableFromSearch(String id, String name, String value, Boolean isValueTruncated, String previewValue, TasklistClient.VariableFromSearch.VariableDraftFromSearch draft) Creates an instance of aVariableFromSearchrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondraft()Returns the value of thedraftrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theisValueTruncatedrecord component.name()Returns the value of thenamerecord component.Returns the value of thepreviewValuerecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
VariableFromSearch
public VariableFromSearch(String id, String name, String value, Boolean isValueTruncated, String previewValue, TasklistClient.VariableFromSearch.VariableDraftFromSearch draft) Creates an instance of aVariableFromSearchrecord class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componentvalue- the value for thevaluerecord componentisValueTruncated- the value for theisValueTruncatedrecord componentpreviewValue- the value for thepreviewValuerecord componentdraft- the value for thedraftrecord 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
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
isValueTruncated
Returns the value of theisValueTruncatedrecord component.- Returns:
- the value of the
isValueTruncatedrecord component
-
previewValue
Returns the value of thepreviewValuerecord component.- Returns:
- the value of the
previewValuerecord component
-
draft
Returns the value of thedraftrecord component.- Returns:
- the value of the
draftrecord component
-