Class AppScopes
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.identitydomains.model.AppScopes
-
@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 theAppScopes.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 theAppScopes.Builder
, which maintain a set of all explicitly set fields calledAppScopes.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
AppScopes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppScopes.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getDescription()
OAuth scope descriptionString
getDisplayName()
OAuth scope display nameString
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.
-
-
-
Constructor Detail
-
AppScopes
@Deprecated @ConstructorProperties({"value","fqs","description","displayName","requiresConsent","readOnly"}) public AppScopes(String value, String fqs, String description, String displayName, Boolean requiresConsent, Boolean readOnly)
Deprecated.
-
-
Method Detail
-
builder
public static AppScopes.Builder builder()
Create a new builder.
-
toBuilder
public AppScopes.Builder toBuilder()
-
getValue
public String getValue()
OAuth scope.*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none
- Returns:
- the value
-
getFqs
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
- Returns:
- the value
-
getDescription
public String getDescription()
OAuth scope description*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
- Returns:
- the value
-
getDisplayName
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
- Returns:
- the value
-
getRequiresConsent
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
- Returns:
- the value
-
getReadOnly
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
- 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
-
-