Class CreateAdditionalAssignmentsForHitRequest

    • Method Detail

      • hitId

        public final String hitId()

        The ID of the HIT to extend.

        Returns:
        The ID of the HIT to extend.
      • numberOfAdditionalAssignments

        public final Integer numberOfAdditionalAssignments()

        The number of additional assignments to request for this HIT.

        Returns:
        The number of additional assignments to request for this HIT.
      • uniqueRequestToken

        public final String uniqueRequestToken()

        A unique identifier for this request, which allows you to retry the call on error without extending the HIT multiple times. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the extend HIT already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.

        Returns:
        A unique identifier for this request, which allows you to retry the call on error without extending the HIT multiple times. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the extend HIT already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object