Class ServiceSoftwareOptions

    • Method Detail

      • currentVersion

        public final String currentVersion()

        The current service software version present on the domain.

        Returns:
        The current service software version present on the domain.
      • newVersion

        public final String newVersion()

        The new service software version, if one is available.

        Returns:
        The new service software version, if one is available.
      • updateAvailable

        public final Boolean updateAvailable()

        True if you're able to update your service software version. False if you can't update your service software version.

        Returns:
        True if you're able to update your service software version. False if you can't update your service software version.
      • cancellable

        public final Boolean cancellable()

        True if you're able to cancel your service software version update. False if you can't cancel your service software update.

        Returns:
        True if you're able to cancel your service software version update. False if you can't cancel your service software update.
      • updateStatusAsString

        public final String updateStatusAsString()

        The status of your service software update.

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

        Returns:
        The status of your service software update.
        See Also:
        DeploymentStatus
      • description

        public final String description()

        A description of the service software update status.

        Returns:
        A description of the service software update status.
      • automatedUpdateDate

        public final Instant automatedUpdateDate()

        The timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.

        Returns:
        The timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.
      • optionalDeployment

        public final Boolean optionalDeployment()

        True if a service software is never automatically updated. False if a service software is automatically updated after the automated update date.

        Returns:
        True if a service software is never automatically updated. False if a service software is automatically updated after the automated update date.
      • 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)