Record Class StartTaskRequest

java.lang.Object
java.lang.Record
com.aquima.web.api.model.StartTaskRequest

public record StartTaskRequest(String applicationId, String languageCode, String caseType, String caseId, long taskId, String channel, String testPath) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    StartTaskRequest(String applicationId, String languageCode, String caseType, String caseId, long taskId, String channel, String testPath)
    Creates an instance of a StartTaskRequest record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the applicationId record component.
    Returns the value of the caseId record component.
    Returns the value of the caseType record component.
    Returns the value of the channel record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the languageCode record component.
    long
    Returns the value of the taskId record component.
    Returns the value of the testPath record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • StartTaskRequest

      public StartTaskRequest(String applicationId, String languageCode, String caseType, String caseId, long taskId, String channel, String testPath)
      Creates an instance of a StartTaskRequest record class.
      Parameters:
      applicationId - the value for the applicationId record component
      languageCode - the value for the languageCode record component
      caseType - the value for the caseType record component
      caseId - the value for the caseId record component
      taskId - the value for the taskId record component
      channel - the value for the channel record component
      testPath - the value for the testPath record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • applicationId

      public String applicationId()
      Returns the value of the applicationId record component.
      Returns:
      the value of the applicationId record component
    • languageCode

      public String languageCode()
      Returns the value of the languageCode record component.
      Returns:
      the value of the languageCode record component
    • caseType

      public String caseType()
      Returns the value of the caseType record component.
      Returns:
      the value of the caseType record component
    • caseId

      public String caseId()
      Returns the value of the caseId record component.
      Returns:
      the value of the caseId record component
    • taskId

      public long taskId()
      Returns the value of the taskId record component.
      Returns:
      the value of the taskId record component
    • channel

      public String channel()
      Returns the value of the channel record component.
      Returns:
      the value of the channel record component
    • testPath

      public String testPath()
      Returns the value of the testPath record component.
      Returns:
      the value of the testPath record component