Class SubscribedAsset

    • Method Detail

      • assetId

        public final String assetId()

        The identifier of the asset for which the subscription grant is created.

        Returns:
        The identifier of the asset for which the subscription grant is created.
      • assetRevision

        public final String assetRevision()

        The revision of the asset for which the subscription grant is created.

        Returns:
        The revision of the asset for which the subscription grant is created.
      • failureCause

        public final FailureCause failureCause()

        The failure cause included in the details of the asset for which the subscription grant is created.

        Returns:
        The failure cause included in the details of the asset for which the subscription grant is created.
      • failureTimestamp

        public final Instant failureTimestamp()

        The failure timestamp included in the details of the asset for which the subscription grant is created.

        Returns:
        The failure timestamp included in the details of the asset for which the subscription grant is created.
      • grantedTimestamp

        public final Instant grantedTimestamp()

        The timestamp of when the subscription grant to the asset is created.

        Returns:
        The timestamp of when the subscription grant to the asset is created.
      • targetName

        public final String targetName()

        The target name of the asset for which the subscription grant is created.

        Returns:
        The target name of the asset for which the subscription grant is created.
      • 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)