HangarProject

@Serializable
data class HangarProject(val name: String, val description: String? = null, val namespace: HangarProjectNamespace? = null, val stats: HangarProjectStats? = null, val settings: HangarProjectSettings? = null)

Hangarのプロジェクト情報

検索API(/projects)とプロジェクト詳細API(/projects/{slug})の 双方で利用する共通モデル。エンドポイントによって含まれないフィールドが あるため、必須でない項目はnull許容としている。

Parameters

name

プロジェクト名

description

プロジェクトの説明(未設定の場合はnull)

namespace

名前空間(owner/slug)。検索結果でslug組み立てに使用

stats

統計情報(ダウンロード数など)

settings

設定情報(ライセンス・ホームページなど。詳細取得時に使用)

Constructors

Link copied to clipboard
constructor(name: String, description: String? = null, namespace: HangarProjectNamespace? = null, stats: HangarProjectStats? = null, settings: HangarProjectSettings? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard