@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
).
Modifier and Type | Class and Description |
---|---|
static class |
UserExtAppRoles.Builder |
static class |
UserExtAppRoles.Type
The kind of membership this User has in the AppRole.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UserExtAppRoles(String value,
String ref,
String display,
UserExtAppRoles.Type type,
String appId,
String appName,
Boolean adminRole,
String legacyGroupName)
Deprecated.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static UserExtAppRoles.Builder builder()
Create a new builder.
public UserExtAppRoles.Builder toBuilder()
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
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
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
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
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
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
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
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
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.