@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
).
Modifier and Type | Class and Description |
---|---|
static class |
AppGrantedAppRoles.Builder |
static class |
AppGrantedAppRoles.Type
A label that indicates whether this AppRole was granted directly to the App (or indirectly
through a Group).
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AppGrantedAppRoles(String value,
String ref,
AppGrantedAppRoles.Type type,
String display,
String appId,
String appName,
Boolean adminRole,
String legacyGroupName,
Boolean readOnly)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AppGrantedAppRoles.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getAdminRole()
If true, then this granted AppRole confers administrative privileges within the App that
defines it.
|
String |
getAppId()
The id of the App that defines this AppRole, which is granted to this App.
|
String |
getAppName()
The name of the App that defines this AppRole, which is granted to this App.
|
String |
getDisplay()
The display-name of an AppRole that is granted to this App.
|
String |
getLegacyGroupName()
The name of the legacy group associated with this AppRole.
|
Boolean |
getReadOnly()
If true, indicates that this value must be protected.
|
String |
getRef()
The URI of an AppRole that is granted to this App.
|
AppGrantedAppRoles.Type |
getType()
A label that indicates whether this AppRole was granted directly to the App (or indirectly
through a Group).
|
String |
getValue()
The id of an AppRole that is granted to this App.
|
int |
hashCode() |
AppGrantedAppRoles.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"value","ref","type","display","appId","appName","adminRole","legacyGroupName","readOnly"}) public AppGrantedAppRoles(String value, String ref, AppGrantedAppRoles.Type type, String display, String appId, String appName, Boolean adminRole, String legacyGroupName, Boolean readOnly)
public static AppGrantedAppRoles.Builder builder()
Create a new builder.
public AppGrantedAppRoles.Builder toBuilder()
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
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
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
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
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
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
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
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
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
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.