Show / Hide Table of Contents

Class Operations

Each patch operation object MUST have exactly one "op" member, whose value indicates the operation to perform and MAY be one of "add", "remove", or "replace". See Section 3.5.2 for details.

Inheritance
object
Operations
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.IdentitydomainsService.Models
Assembly: OCI.DotNetSDK.Identitydomains.dll
Syntax
public class Operations

Properties

Op

Declaration
[Required(ErrorMessage = "Op is required.")]
[JsonProperty(PropertyName = "op")]
[JsonConverter(typeof(StringEnumConverter))]
public Operations.OpEnum? Op { get; set; }
Property Value
Type Description
Operations.OpEnum?

Defines the operation to be performed for this Patch. If op=remove, value is not required.

Remarks

Required

Path

Declaration
[Required(ErrorMessage = "Path is required.")]
[JsonProperty(PropertyName = "path")]
public string Path { get; set; }
Property Value
Type Description
string

String containing an attribute path describing the target of the operation. The "path" attribute is OPTIONAL for "add" and "replace" and is REQUIRED for "remove" operations. See Section 3.5.2 for details

Remarks

Required

Value

Declaration
[JsonProperty(PropertyName = "value")]
public object Value { get; set; }
Property Value
Type Description
object

The value could be either a simple value attribute e.g. string or number OR complex like map of the attributes to be added or replaced OR multivalues complex attributes.q1

In this article
Back to top