@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
).
Modifier and Type | Class and Description |
---|---|
static class |
SettingsTenantCustomClaims.Builder |
static class |
SettingsTenantCustomClaims.Mode
Indicates under what scenario the custom claim will be return
|
static class |
SettingsTenantCustomClaims.TokenType
Indicates what type of token the custom claim will be embedded
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SettingsTenantCustomClaims(String name,
String value,
SettingsTenantCustomClaims.Mode mode,
Boolean expression,
Boolean allScopes,
SettingsTenantCustomClaims.TokenType tokenType,
List<String> scopes)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SettingsTenantCustomClaims.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getAllScopes()
Indicates if the custom claim is associated with all scopes
|
Boolean |
getExpression()
Indicates if the custom claim is an expression
|
SettingsTenantCustomClaims.Mode |
getMode()
Indicates under what scenario the custom claim will be return
|
String |
getName()
Custom claim name
|
List<String> |
getScopes()
Scopes associated with a specific custom claim
|
SettingsTenantCustomClaims.TokenType |
getTokenType()
Indicates what type of token the custom claim will be embedded
|
String |
getValue()
Custom claim value
|
int |
hashCode() |
SettingsTenantCustomClaims.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static SettingsTenantCustomClaims.Builder builder()
Create a new builder.
public SettingsTenantCustomClaims.Builder toBuilder()
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
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
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
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
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
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
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
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.