Class SettingsTenantCustomClaims
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.identitydomains.model.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 theSettingsTenantCustomClaims.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 calledSettingsTenantCustomClaims.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
SettingsTenantCustomClaims.Builder
static class
SettingsTenantCustomClaims.Mode
Indicates under what scenario the custom claim will be returnstatic class
SettingsTenantCustomClaims.TokenType
Indicates what type of token the custom claim will be embedded
-
Constructor Summary
Constructors Constructor Description SettingsTenantCustomClaims(String name, String value, SettingsTenantCustomClaims.Mode mode, Boolean expression, Boolean allScopes, SettingsTenantCustomClaims.TokenType tokenType, List<String> scopes)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SettingsTenantCustomClaims.Builder
builder()
Create a new builder.boolean
equals(Object o)
Boolean
getAllScopes()
Indicates if the custom claim is associated with all scopesBoolean
getExpression()
Indicates if the custom claim is an expressionSettingsTenantCustomClaims.Mode
getMode()
Indicates under what scenario the custom claim will be returnString
getName()
Custom claim nameList<String>
getScopes()
Scopes associated with a specific custom claimSettingsTenantCustomClaims.TokenType
getTokenType()
Indicates what type of token the custom claim will be embeddedString
getValue()
Custom claim valueint
hashCode()
SettingsTenantCustomClaims.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
SettingsTenantCustomClaims
@Deprecated @ConstructorProperties({"name","value","mode","expression","allScopes","tokenType","scopes"}) public SettingsTenantCustomClaims(String name, String value, SettingsTenantCustomClaims.Mode mode, Boolean expression, Boolean allScopes, SettingsTenantCustomClaims.TokenType tokenType, List<String> scopes)
Deprecated.
-
-
Method Detail
-
builder
public static SettingsTenantCustomClaims.Builder builder()
Create a new builder.
-
toBuilder
public SettingsTenantCustomClaims.Builder toBuilder()
-
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 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
-
-