Class SettingsTenantCustomClaims


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: v1")
    public final class SettingsTenantCustomClaims
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Custom claims associated with the specific tenant
    Note: Objects should always be created or deserialized using the SettingsTenantCustomClaims.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 SettingsTenantCustomClaims.Builder, which maintain a set of all explicitly set fields called SettingsTenantCustomClaims.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

      • getName

        public String getName()
        Custom claim name

        *Added In:** 18.4.2

        *SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: server

        Returns:
        the value
      • getValue

        public String getValue()
        Custom claim value

        *Added In:** 18.4.2

        *SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none

        Returns:
        the value
      • getMode

        public SettingsTenantCustomClaims.Mode getMode()
        Indicates under what scenario the custom claim will be return

        *Added In:** 18.4.2

        *SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none

        Returns:
        the value
      • getExpression

        public Boolean getExpression()
        Indicates if the custom claim is an expression

        *Added In:** 18.4.2

        *SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: true - returned: default - type: boolean - uniqueness: none

        Returns:
        the value
      • getAllScopes

        public Boolean getAllScopes()
        Indicates if the custom claim is associated with all scopes

        *Added In:** 18.4.2

        *SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: true - returned: default - type: boolean - uniqueness: none

        Returns:
        the value
      • getTokenType

        public SettingsTenantCustomClaims.TokenType getTokenType()
        Indicates what type of token the custom claim will be embedded

        *Added In:** 18.4.2

        *SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none

        Returns:
        the value
      • getScopes

        public List<String> getScopes()
        Scopes associated with a specific custom claim

        *Added In:** 18.4.2

        *SCIM++ Properties:** - multiValued: true - mutability: readWrite - required: false - returned: default - type: string - 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