Class Schema


  • @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).

    • Method Detail

      • builder

        public static Schema.Builder builder()
        Create a new builder.
      • getSchemas

        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

        Returns:
        the value
      • getIdcsMapsToSameTargetAttributeNameAs

        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

        Returns:
        the value
      • getExternalId

        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

        Returns:
        the value
      • getName

        public String getName()
        Schema’s human-readable name

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

        Returns:
        the value
      • getIdcsResourceTypes

        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

        Returns:
        the value
      • getDescription

        public String getDescription()
        Schema’s human-readable description

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

        Returns:
        the value
      • getIdcsMappable

        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

        Returns:
        the value
      • getIdcsAttributeCacheable

        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

        Returns:
        the value
      • getIdcsOverrideCommonAttribute

        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

        Returns:
        the value
      • getAttributes

        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

        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