PatchOp¶
-
class
oci.identity_domains.models.
PatchOp
(**kwargs)¶ Bases:
object
See Section 3.5.2. HTTP PATCH is an OPTIONAL server function that enables clients to update one or more attributes of a SCIM resource using a sequence of operations to “add”, “remove”, or “replace” values. Clients may discover service provider support for PATCH by querying the service provider configuration. The general form of the SCIM patch request is based on JavaScript Object Notation (JSON) Patch [RFC6902]. One difference between SCIM patch and JSON patch is that SCIM servers do not support array indexing and do not support [RFC6902] operation types relating to array element manipulation such as “move”. A patch request, regardless of the number of operations, SHALL be treated as atomic. If a single operation encounters an error condition, the original SCIM resource MUST be restored, and a failure status SHALL be returned.
Methods
__init__
(**kwargs)Initializes a new PatchOp object with values from keyword arguments. Attributes
operations
[Required] Gets the operations of this PatchOp. schemas
[Required] Gets the schemas of this PatchOp. -
__init__
(**kwargs)¶ Initializes a new PatchOp object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - schemas (list[str]) – The value to assign to the schemas property of this PatchOp.
- operations (list[oci.identity_domains.models.Operations]) – The value to assign to the operations property of this PatchOp.
-
operations
¶ [Required] Gets the operations of this PatchOp. The body of an HTTP PATCH request MUST contain the attribute “Operations”, whose value is an array of one or more patch operations.
Returns: The operations of this PatchOp. Return type: list[oci.identity_domains.models.Operations]
-
schemas
¶ [Required] Gets the schemas of this PatchOp. 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. 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. REQUIRED.
Returns: The schemas of this PatchOp. Return type: list[str]
-