Class UserExtAppRoles
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.identitydomains.model.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 theUserExtAppRoles.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 theUserExtAppRoles.Builder
, which maintain a set of all explicitly set fields calledUserExtAppRoles.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserExtAppRoles.Builder
static class
UserExtAppRoles.Type
The kind of membership this User has in the AppRole.
-
Constructor Summary
Constructors Constructor Description UserExtAppRoles(String value, String ref, String display, UserExtAppRoles.Type type, String appId, String appName, Boolean adminRole, String legacyGroupName)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserExtAppRoles.Builder
builder()
Create a new builder.boolean
equals(Object o)
Boolean
getAdminRole()
If true, then the role provides administrative access privileges.String
getAppId()
The ID of the App that defines this AppRole.String
getAppName()
The name (Client ID) of the App that defines this AppRole.String
getDisplay()
The display name of the AppRole assigned to the User.String
getLegacyGroupName()
The name (if any) under which this AppRole should appear in this User’s group-memberships for reasons of backward compatibility.String
getRef()
The URI of the AppRole assigned to the User.UserExtAppRoles.Type
getType()
The kind of membership this User has in the AppRole.String
getValue()
The Id of the AppRole assigned to the User.int
hashCode()
UserExtAppRoles.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
UserExtAppRoles
@Deprecated @ConstructorProperties({"value","ref","display","type","appId","appName","adminRole","legacyGroupName"}) public UserExtAppRoles(String value, String ref, String display, UserExtAppRoles.Type type, String appId, String appName, Boolean adminRole, String legacyGroupName)
Deprecated.
-
-
Method Detail
-
builder
public static UserExtAppRoles.Builder builder()
Create a new builder.
-
toBuilder
public UserExtAppRoles.Builder toBuilder()
-
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 classcom.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 classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-