Class InstallPlugin
Install or upgrade a plugin
[RequiredPermissions(SbcPermissions.ManagePlugins)]
public class InstallPlugin : Command
- Inheritance
-
InstallPlugin
- Derived
- Inherited Members
Constructors
InstallPlugin()
public InstallPlugin()
Exceptions
- ArgumentException
Plugin is incompatible
Properties
PluginFile
Absolute file path to the plugin ZIP bundle
public string PluginFile { get; set; }
Property Value
Exceptions
- ArgumentException
Plugin is incompatible
Methods
UpdateFromJson(JsonElement)
Update this instance from a given JSON element
public override void UpdateFromJson(JsonElement jsonElement)
Parameters
jsonElementJsonElementElement 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
readerUtf8JsonReaderReader to update this intance from
Remarks
This method is auto-generated
Exceptions
- JsonException
Failed to deserialize data