Table of Contents

Class ResolvePath

Namespace
DuetAPI.Commands
Assembly
DuetAPI.dll

Resolve a RepRapFirmware-style path to an actual file path

[RequiredPermissions(SbcPermissions.CommandExecution|SbcPermissions.FileSystemAccess)]
public class ResolvePath : Command<string>
Inheritance
ResolvePath
Derived
Inherited Members

Constructors

ResolvePath()

public ResolvePath()

Properties

BaseDirectory

Optional base directory to resolve the path relative to

public FileDirectory? BaseDirectory { get; set; }

Property Value

FileDirectory?

Path

Path that is RepRapFirmware-compatible

public string Path { 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