Table of Contents

Class ProjectLicense

Namespace
McServerLauncher.Models.Modrinth
Assembly
McServerLauncher.dll
public class ProjectLicense
Inheritance
ProjectLicense
Inherited Members

Properties

Id

SPDX id, e.g. "MIT". Modrinth uses "LicenseRef-…" for non-SPDX licences.

[JsonPropertyName("id")]
public string? Id { get; set; }

Property Value

string

Name

Human-readable name. Often empty, in which case Id is what to show.

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

Url

[JsonPropertyName("url")]
public string? Url { get; set; }

Property Value

string