Class PatchObjectModel
Apply a full patch to the object model. May be used only in non-SPI mode
Inherited Members
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 |
---|---|
string |
Exceptions
Type | Condition |
---|---|
ArgumentException | Invalid key specified |
InvalidOperationException | DCS is not running in non-SPI mode |
Patch
JSON patch to apply
Declaration
public JsonElement Patch { get; set; }
Property Value
Type | Description |
---|---|
JsonElement |
Exceptions
Type | Condition |
---|---|
ArgumentException | Invalid key specified |
InvalidOperationException | DCS is not running in non-SPI mode |