Table of Contents

Class SetUpdateStatus

Namespace
DuetAPI.Commands
Assembly
DuetAPI.dll

Override the current status as reported by the object model when performing a software update

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

Constructors

SetUpdateStatus()

public SetUpdateStatus()

Properties

Updating

Whether an update is now in progress

public bool Updating { get; set; }

Property Value

bool

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