Class BotRecommendationSummary

    • Method Detail

      • botRecommendationStatus

        public final BotRecommendationStatus botRecommendationStatus()

        The status of the bot recommendation.

        If the status is Failed, then the reasons for the failure are listed in the failureReasons field.

        If the service returns an enum value that is not available in the current SDK version, botRecommendationStatus will return BotRecommendationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from botRecommendationStatusAsString().

        Returns:
        The status of the bot recommendation.

        If the status is Failed, then the reasons for the failure are listed in the failureReasons field.

        See Also:
        BotRecommendationStatus
      • botRecommendationStatusAsString

        public final String botRecommendationStatusAsString()

        The status of the bot recommendation.

        If the status is Failed, then the reasons for the failure are listed in the failureReasons field.

        If the service returns an enum value that is not available in the current SDK version, botRecommendationStatus will return BotRecommendationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from botRecommendationStatusAsString().

        Returns:
        The status of the bot recommendation.

        If the status is Failed, then the reasons for the failure are listed in the failureReasons field.

        See Also:
        BotRecommendationStatus
      • botRecommendationId

        public final String botRecommendationId()

        The unique identifier of the bot recommendation to be updated.

        Returns:
        The unique identifier of the bot recommendation to be updated.
      • creationDateTime

        public final Instant creationDateTime()

        A timestamp of the date and time that the bot recommendation was created.

        Returns:
        A timestamp of the date and time that the bot recommendation was created.
      • lastUpdatedDateTime

        public final Instant lastUpdatedDateTime()

        A timestamp of the date and time that the bot recommendation was last updated.

        Returns:
        A timestamp of the date and time that the bot recommendation was last updated.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)