Show / Hide Table of Contents

Class PatchInsertMultipleInstruction

An operation that inserts multiple consecutive values into an array, shifting array items as necessary and handling NOT_FOUND exceptions by creating the implied containing structure.

Inheritance
object
PatchInstruction
PatchInsertMultipleInstruction
Inherited Members
PatchInstruction.Selection
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DemandsignalService.Models
Assembly: OCI.DotNetSDK.Demandsignal.dll
Syntax
public class PatchInsertMultipleInstruction : PatchInstruction

Properties

Position

Declaration
[JsonProperty(PropertyName = "position")]
[JsonConverter(typeof(StringEnumConverter))]
public PatchInsertMultipleInstruction.PositionEnum? Position { get; set; }
Property Value
Type Description
PatchInsertMultipleInstruction.PositionEnum?

Where to insert the values, relative to the first item matched by selectedItem. If selectedItem is unspecified, then "BEFORE" specifies insertion at the first position in an array and "AFTER" specifies insertion at the last position. If selectedItem is specified but results in an empty selection, then both values specify insertion at the last position.

SelectedItem

Declaration
[JsonProperty(PropertyName = "selectedItem")]
public string SelectedItem { get; set; }
Property Value
Type Description
string

A selection to be evaluated against the array for identifying a particular reference item within it, with the same format and semantics as selection.

Values

Declaration
[Required(ErrorMessage = "Values is required.")]
[JsonProperty(PropertyName = "values")]
public List<object> Values { get; set; }
Property Value
Type Description
List<object>

A list of consecutive values to be inserted into the target.

Remarks

Required

In this article
Back to top