Class PatchObjectModel
Apply a full patch to the object model. May be used only in non-SPI mode
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DuetAPI.Commands
Assembly: DuetAPI.dll
Syntax
[RequiredPermissions(SbcPermissions.ObjectModelReadWrite)]
public class PatchObjectModel : Command
Properties
Key
Key to update
Declaration
public string Key { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Invalid key specified |
System.InvalidOperationException | DCS is not running in non-SPI mode |
Patch
JSON patch to apply
Declaration
public JsonElement Patch { get; set; }
Property Value
Type | Description |
---|---|
System.Text.Json.JsonElement |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Invalid key specified |
System.InvalidOperationException | DCS is not running in non-SPI mode |