Table of Contents

Class UnlockObjectModel

Namespace
DuetAPI.Commands
Assembly
DuetAPI.dll

Unlock the machine model after obtaining read/write access. This is mandatory after LockObjectModel has been invoked

[RequiredPermissions(SbcPermissions.ObjectModelReadWrite)]
public class UnlockObjectModel : Command
Inheritance
UnlockObjectModel
Derived
Inherited Members

Constructors

UnlockObjectModel()

public UnlockObjectModel()

Methods

UpdateFromJson(JsonElement)

Update this instance from a given JSON element

public override void UpdateFromJson(JsonElement jsonElement)

Parameters

jsonElement JsonElement

Element to update this intance from

Remarks

This method is auto-generated

Exceptions

JsonException

Failed to deserialize data

UpdateFromJsonReader(ref Utf8JsonReader)

Update this instance from a given JSON element

public override void UpdateFromJsonReader(ref Utf8JsonReader reader)

Parameters

reader Utf8JsonReader

Reader to update this intance from

Remarks

This method is auto-generated

Exceptions

JsonException

Failed to deserialize data