Class 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 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).

    • Method Detail

      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel