Class AppGrantedAppRoles


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: v1")
    public final class AppGrantedAppRoles
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    A list of AppRoles that are granted to this App (and that are defined by other Apps).

    Within the Oracle Public Cloud infrastructure, this allows AppID-based association. Such an association allows this App to act as a consumer and thus to access resources of another App that acts as a producer.
    Note: Objects should always be created or deserialized using the AppGrantedAppRoles.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the AppGrantedAppRoles.Builder, which maintain a set of all explicitly set fields called AppGrantedAppRoles.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Method Detail

      • getValue

        public String getValue()
        The id of an AppRole that is granted to this App.

        *SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: true - returned: default - type: string - uniqueness: none

        Returns:
        the value
      • getRef

        public String getRef()
        The URI of an AppRole that is granted to this App.

        *SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: reference - uniqueness: none

        Returns:
        the value
      • getType

        public AppGrantedAppRoles.Type getType()
        A label that indicates whether this AppRole was granted directly to the App (or indirectly through a Group).

        For an App, the value of this attribute will always be ‘direct’ (because an App cannot be a member of a Group).

        *SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none

        Returns:
        the value
      • getDisplay

        public String getDisplay()
        The display-name of an AppRole that is granted to this App.

        *SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none

        Returns:
        the value
      • getAppId

        public String getAppId()
        The id of the App that defines this AppRole, which is granted to this App.

        The App that defines the AppRole acts as the producer; the App to which the AppRole is granted acts as a consumer.

        *SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none

        Returns:
        the value
      • getAppName

        public String getAppName()
        The name of the App that defines this AppRole, which is granted to this App.

        The App that defines the AppRole acts as the producer; the App to which the AppRole is granted acts as a consumer.

        *SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none

        Returns:
        the value
      • getAdminRole

        public Boolean getAdminRole()
        If true, then this granted AppRole confers administrative privileges within the App that defines it.

        Otherwise, the granted AppRole confers only functional privileges.

        *SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none

        Returns:
        the value
      • getLegacyGroupName

        public String getLegacyGroupName()
        The name of the legacy group associated with this AppRole.

        *SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none

        Returns:
        the value
      • getReadOnly

        public Boolean getReadOnly()
        If true, indicates that this value must be protected.

        *Added In:** 18.2.2

        *SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: boolean - uniqueness: none

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel