@Generated(value="OracleSDKGenerator", comments="API Version: v1") public final class Schema extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
SCIM schema
Note: Objects should always be created or deserialized using the Schema.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 Schema.Builder
, which maintain a
set of all explicitly set fields called Schema.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 |
Schema.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
Schema(List<String> schemas,
String idcsMapsToSameTargetAttributeNameAs,
String externalId,
String name,
List<String> idcsResourceTypes,
String description,
Boolean idcsMappable,
Boolean idcsAttributeCacheable,
Boolean idcsOverrideCommonAttribute,
List<SchemaAttributes> attributes)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Schema.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<SchemaAttributes> |
getAttributes()
A complex type that specifies the set of Resource attributes
|
String |
getDescription()
Schema’s human-readable description
|
String |
getExternalId()
An identifier for the Resource as defined by the Service Consumer.
|
Boolean |
getIdcsAttributeCacheable()
Specifies whether the attribute is cacheable.
|
Boolean |
getIdcsMappable()
Specifies if the attributes in this schema can be used for mapping with external identity
sources such as AD or LDAP
|
String |
getIdcsMapsToSameTargetAttributeNameAs()
Contains the canonical name of the other attribute sharing the same idcsTargetAttributeName
|
Boolean |
getIdcsOverrideCommonAttribute()
Specifies whether the dataprovider mapping from resource schema should override from common
schema with the same name.
|
List<String> |
getIdcsResourceTypes()
Resource types defs this resource refers to
|
String |
getName()
Schema’s human-readable name
|
List<String> |
getSchemas()
REQUIRED.
|
int |
hashCode() |
Schema.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"schemas","idcsMapsToSameTargetAttributeNameAs","externalId","name","idcsResourceTypes","description","idcsMappable","idcsAttributeCacheable","idcsOverrideCommonAttribute","attributes"}) public Schema(List<String> schemas, String idcsMapsToSameTargetAttributeNameAs, String externalId, String name, List<String> idcsResourceTypes, String description, Boolean idcsMappable, Boolean idcsAttributeCacheable, Boolean idcsOverrideCommonAttribute, List<SchemaAttributes> attributes)
public static Schema.Builder builder()
Create a new builder.
public Schema.Builder toBuilder()
public List<String> getSchemas()
REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard \“enterprise\” extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none
public String getIdcsMapsToSameTargetAttributeNameAs()
Contains the canonical name of the other attribute sharing the same idcsTargetAttributeName
*Added In:** 2209122038
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: always - type: string - uniqueness: none
public String getExternalId()
An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer’s tenant.
*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
public String getName()
Schema’s human-readable name
*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
public List<String> getIdcsResourceTypes()
Resource types defs this resource refers to
*SCIM++ Properties:** - caseExact: false - multiValued: true - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
public String getDescription()
Schema’s human-readable description
*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
public Boolean getIdcsMappable()
Specifies if the attributes in this schema can be used for mapping with external identity sources such as AD or LDAP
*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - required: true - returned: default - type: boolean - uniqueness: none
public Boolean getIdcsAttributeCacheable()
Specifies whether the attribute is cacheable. True by default for all attributes. If attribute with idcsAttributeCachable = false, is present \“attributesToGet\” while executing GET/SEARCH on cacheable resource, Cache is missed and data is fetched from Data Provider.
*Added In:** 17.3.4
*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean
public Boolean getIdcsOverrideCommonAttribute()
Specifies whether the dataprovider mapping from resource schema should override from common schema with the same name.
*Added In:** 2102181953
*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean
public List<SchemaAttributes> getAttributes()
A complex type that specifies the set of Resource attributes
*SCIM++ Properties:** - idcsCompositeKey: [] - multiValued: true - mutability: readWrite - required: false - returned: default - type: complex
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.