Package com.aquima.web.api.model
Record Class StartTaskRequest
java.lang.Object
java.lang.Record
com.aquima.web.api.model.StartTaskRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationId
record component.caseId()
Returns the value of thecaseId
record component.caseType()
Returns the value of thecaseType
record component.channel()
Returns the value of thechannel
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelanguageCode
record component.long
taskId()
Returns the value of thetaskId
record component.testPath()
Returns the value of thetestPath
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
StartTaskRequest
public StartTaskRequest(String applicationId, String languageCode, String caseType, String caseId, long taskId, String channel, String testPath) Creates an instance of aStartTaskRequest
record class.- Parameters:
applicationId
- the value for theapplicationId
record componentlanguageCode
- the value for thelanguageCode
record componentcaseType
- the value for thecaseType
record componentcaseId
- the value for thecaseId
record componenttaskId
- the value for thetaskId
record componentchannel
- the value for thechannel
record componenttestPath
- the value for thetestPath
record 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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
applicationId
Returns the value of theapplicationId
record component.- Returns:
- the value of the
applicationId
record component
-
languageCode
Returns the value of thelanguageCode
record component.- Returns:
- the value of the
languageCode
record component
-
caseType
Returns the value of thecaseType
record component.- Returns:
- the value of the
caseType
record component
-
caseId
Returns the value of thecaseId
record component.- Returns:
- the value of the
caseId
record component
-
taskId
public long taskId()Returns the value of thetaskId
record component.- Returns:
- the value of the
taskId
record component
-
channel
Returns the value of thechannel
record component.- Returns:
- the value of the
channel
record component
-
testPath
Returns the value of thetestPath
record component.- Returns:
- the value of the
testPath
record component
-