Class DeleteThingRequest

    • Method Detail

      • thingName

        public final String thingName()

        The name of the thing to delete.

        Returns:
        The name of the thing to delete.
      • expectedVersion

        public final Long expectedVersion()

        The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the DeleteThing request is rejected with a VersionConflictException.

        Returns:
        The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the DeleteThing request is rejected with a VersionConflictException.
      • 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