Table of Contents

Class PluginPackageDefinition

Namespace
FoundationaLLM.Common.Models.ResourceProviders.Plugin
Assembly
FoundationaLLM.Common.dll

Provides the model for a plugin package.

public class PluginPackageDefinition : ResourceBase
Inheritance
PluginPackageDefinition
Inherited Members
Extension Methods

Properties

PackageFilePath

Gets or sets the path to the package file.

[JsonPropertyName("package_file_path")]
public required string PackageFilePath { get; set; }

Property Value

string

PackageFileSize

Gets or sets the size of the package file.

[JsonPropertyName("package_file_size")]
public required int PackageFileSize { get; set; }

Property Value

int

PackagePlatform

Gets or sets the platform of the package.

[JsonPropertyName("package_platform")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public required PluginPackagePlatform PackagePlatform { get; set; }

Property Value

PluginPackagePlatform

Remarks

The supported values are defined in the PluginPackagePlatform enum.

PackageVersion

Gets or sets the version of the package.

[JsonPropertyName("package_version")]
[JsonConverter(typeof(JsonStringSemanticVersionConverter))]
public required SemanticVersion PackageVersion { get; set; }

Property Value

SemanticVersion