Class PortfolioShareDetail

    • Method Detail

      • principalId

        public final String principalId()

        The identifier of the recipient entity that received the portfolio share. The recipient entity can be one of the following:

        1. An external account.

        2. An organziation member account.

        3. An organzational unit (OU).

        4. The organization itself. (This shares with every account in the organization).

        Returns:
        The identifier of the recipient entity that received the portfolio share. The recipient entity can be one of the following:

        1. An external account.

        2. An organziation member account.

        3. An organzational unit (OU).

        4. The organization itself. (This shares with every account in the organization).

      • accepted

        public final Boolean accepted()

        Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.

        Returns:
        Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.
      • shareTagOptions

        public final Boolean shareTagOptions()

        Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.

        Returns:
        Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
      • sharePrincipals

        public final Boolean sharePrincipals()

        Indicates if Principal sharing is enabled or disabled for the portfolio share.

        Returns:
        Indicates if Principal sharing is enabled or disabled for the portfolio share.
      • 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)