LicenseWithRules

data class LicenseWithRules(val id: String? = null, val type: String? = null, val isSpdx: Boolean? = null, val name: String? = null, val url: String? = null, val description: String? = null, val createdAt: IsoDateTime? = null, val updatedAt: IsoDateTime? = null, val licenseTags: List<String>? = null, val licenseRules: List<LicenseRule>? = null)(source)

A catalog license including its rules, as returned by GET /v1/licenses/{id}.

Constructors

Link copied to clipboard
constructor(id: String? = null, type: String? = null, isSpdx: Boolean? = null, name: String? = null, url: String? = null, description: String? = null, createdAt: IsoDateTime? = null, updatedAt: IsoDateTime? = null, licenseTags: List<String>? = null, licenseRules: List<LicenseRule>? = null)

Properties

Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: IsoDateTime?

Instant the license was added to the catalog.

Link copied to clipboard

License description.

Link copied to clipboard
val id: String?

Unique license identifier, often an SPDX id.

Link copied to clipboard
@SerialName(value = "is_spdx")
val isSpdx: Boolean?

Whether id is an SPDX identifier.

Link copied to clipboard
@SerialName(value = "license_rules")
val licenseRules: List<LicenseRule>?

Permission, condition, and limitation rules.

Link copied to clipboard
@SerialName(value = "license_tags")
val licenseTags: List<String>?

Taxonomy tags associated with the license.

Link copied to clipboard
val name: String?

User-facing license name.

Link copied to clipboard
val type: String?

License category reported by the catalog.

Link copied to clipboard
@SerialName(value = "updated_at")
val updatedAt: IsoDateTime?

Instant the license was last updated.

Link copied to clipboard
val url: String?

URL where the license text can be read.