Table of Contents

Class VersionDependency

Namespace
McServerLauncher.Models.Modrinth
Assembly
McServerLauncher.dll

A dependency declared by a version. DependencyType is "required", "optional", "incompatible" or "embedded"; only the project id is guaranteed, so the project itself has to be looked up to show a name.

public class VersionDependency
Inheritance
VersionDependency
Inherited Members

Properties

DependencyType

[JsonPropertyName("dependency_type")]
public string? DependencyType { get; set; }

Property Value

string

FileName

[JsonPropertyName("file_name")]
public string? FileName { get; set; }

Property Value

string

ProjectId

[JsonPropertyName("project_id")]
public string? ProjectId { get; set; }

Property Value

string

VersionId

[JsonPropertyName("version_id")]
public string? VersionId { get; set; }

Property Value

string