Table of Contents

Class SetPluginProcess

Namespace
DuetAPI.Commands
Assembly
DuetAPI.dll

Command to update the process identifier of a given plugin. Reserved for internal purposes, do not use

[RequiredPermissions(SbcPermissions.ServicePlugins)]
public class SetPluginProcess : Command
Inheritance
SetPluginProcess
Derived
Inherited Members

Constructors

SetPluginProcess()

public SetPluginProcess()

Properties

Pid

New process identifier of the plugin

public int Pid { get; set; }

Property Value

int

Plugin

Identifier of the plugin to update

public string Plugin { get; set; }

Property Value

string

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