PatchOperationMedia
Class representing a SCIM 2.0 patch operation.
Examples: { "op": "add", "value": { "name": { "givenName": "John", "familyName": "Doe" } } }
{ "op": "add", "path": "name", "value": { "givenName": "John", "familyName": "Smith" } }
{ "op": "add", "path": "name.givenName", "value": "John" }
{ "op": "remove", "path": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:country" }
{
"value": "India",
"path": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:country",
"op": "add"
}
The value that should be updated in Json format. Value can be a single string or a JSON structure for complex values. Value is required when op is 'add' or 'replace' (and it is not needed when op is 'remove').
Specify the attribute/sub-attribute that should be updated. Path is required when op is 'removed' and is optional when op is 'add' or 'replace'.
The method that should be used in the operation.