@Generated(value="OracleSDKGenerator", comments="API Version: v1") public final class AppScopes extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Scopes defined by this App. Used when this App acts as an OAuth Resource.
Note: Objects should always be created or deserialized using the AppScopes.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 AppScopes.Builder
, which maintain a
set of all explicitly set fields called AppScopes.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 |
AppScopes.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AppScopes(String value,
String fqs,
String description,
String displayName,
Boolean requiresConsent,
Boolean readOnly)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AppScopes.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDescription()
OAuth scope description
|
String |
getDisplayName()
OAuth scope display name
|
String |
getFqs()
The fully qualified value of this scope within this App.
|
Boolean |
getReadOnly()
If true, indicates that this value must be protected.
|
Boolean |
getRequiresConsent()
If true, indicates that a user must provide consent to access this scope.
|
String |
getValue()
OAuth scope.
|
int |
hashCode() |
AppScopes.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"value","fqs","description","displayName","requiresConsent","readOnly"}) public AppScopes(String value, String fqs, String description, String displayName, Boolean requiresConsent, Boolean readOnly)
public static AppScopes.Builder builder()
Create a new builder.
public AppScopes.Builder toBuilder()
public String getValue()
OAuth scope.
*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none
public String getFqs()
The fully qualified value of this scope within this App. A fully qualified scope combines the ‘value’ of each scope with the value of ‘audience’. Each value of ‘fqs’ must be unique across the system. Used only when this App acts as an OAuth Resource.
*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: server
public String getDescription()
OAuth scope description
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
public String getDisplayName()
OAuth scope display name
*Added In:** 19.2.1
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
public Boolean getRequiresConsent()
If true, indicates that a user must provide consent to access this scope. Note: Used only when this App acts as an OAuth Resource.
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - 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.