Class UserExtAppRoles


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: v1")
    public final class UserExtAppRoles
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    A list of all AppRoles to which this User belongs directly, indirectly or implicitly.

    The User could belong directly because the User is a member of the AppRole, could belong indirectly because the User is a member of a Group that is a member of the AppRole, or could belong implicitly because the AppRole is public.

    *SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: readOnly - required: false - returned: request - type: complex - uniqueness: none
    Note: Objects should always be created or deserialized using the UserExtAppRoles.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 UserExtAppRoles.Builder, which maintain a set of all explicitly set fields called UserExtAppRoles.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 the AppRole assigned to the User.

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

        Returns:
        the value
      • getRef

        public String getRef()
        The URI of the AppRole assigned to the User.

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

        Returns:
        the value
      • getDisplay

        public String getDisplay()
        The display name of the AppRole assigned to the User.

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

        Returns:
        the value
      • getType

        public UserExtAppRoles.Type getType()
        The kind of membership this User has in the AppRole.

        A value of ‘direct’ indicates that the User is a member of the AppRole. A value of ‘indirect’ indicates that the User is a member of a Group that is a member of the AppRole. A value of ‘implicit’ indicates that the AppRole is public.

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

        Returns:
        the value
      • getAppId

        public String getAppId()
        The ID of the App that defines this AppRole.

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

        Returns:
        the value
      • getAppName

        public String getAppName()
        The name (Client ID) of the App that defines this AppRole.

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

        Returns:
        the value
      • getAdminRole

        public Boolean getAdminRole()
        If true, then the role provides administrative access privileges.

        READ-ONLY.

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

        Returns:
        the value
      • getLegacyGroupName

        public String getLegacyGroupName()
        The name (if any) under which this AppRole should appear in this User’s group-memberships for reasons of backward compatibility.

        Oracle Identity Cloud Service distinguishes between Groups and AppRoles, but some services still expect AppRoles appear as if they were service-instance-specific Groups.

        *SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - 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