Class BotLocaleSummary

    • Method Detail

      • localeId

        public final String localeId()

        The language and locale of the bot locale.

        Returns:
        The language and locale of the bot locale.
      • localeName

        public final String localeName()

        The name of the bot locale.

        Returns:
        The name of the bot locale.
      • description

        public final String description()

        The description of the bot locale.

        Returns:
        The description of the bot locale.
      • botLocaleStatus

        public final BotLocaleStatus botLocaleStatus()

        The current status of the bot locale. When the status is Built the locale is ready for use.

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

        Returns:
        The current status of the bot locale. When the status is Built the locale is ready for use.
        See Also:
        BotLocaleStatus
      • botLocaleStatusAsString

        public final String botLocaleStatusAsString()

        The current status of the bot locale. When the status is Built the locale is ready for use.

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

        Returns:
        The current status of the bot locale. When the status is Built the locale is ready for use.
        See Also:
        BotLocaleStatus
      • lastUpdatedDateTime

        public final Instant lastUpdatedDateTime()

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

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

        public final Instant lastBuildSubmittedDateTime()

        A timestamp of the date and time that the bot locale was last built.

        Returns:
        A timestamp of the date and time that the bot locale was last built.
      • 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)