LicensingRelease class

Constructors

LicensingRelease({String? appId, String? artifactRef, String? cosignCert, String? cosignSignature, int? createdAt, String? id, List<String> minFeatures = const [], String? platform, String? product, String? sha256, String? version, bool? yanked})
Returns a new LicensingRelease instance.

Properties

appId ↔ String?
AppID scopes the release to an app build ("hanzo" | "lux" | "zoo").
getter/setter pair
artifactRef ↔ String?
ArtifactRef is where the binary lives (object-store key / OCI ref / path).
getter/setter pair
cosignCert ↔ String?
CosignCert is the cosign/Fulcio cert (keyless) or public key ref used to verify CosignSignature. The download response hands this to the client.
getter/setter pair
cosignSignature ↔ String?
CosignSignature is the base64 cosign signature over the artifact digest.
getter/setter pair
createdAt ↔ int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the release identifier, e.g. "engine-rocm-0.4.2-linux-amd64". The accelerator belongs here — one product is built several ways — and never in Product below.
getter/setter pair
minFeatures ↔ List<String>
MinFeatures, when set, are features the license must include to download.
getter/setter pair
platform ↔ String?
Platform is "
getter/setter pair
product ↔ String?
Product is the licensed product this artifact belongs to (commerce SKU): "engine" for every one of those builds.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sha256 ↔ String?
SHA256 is the hex digest of the artifact (integrity + cosign subject).
getter/setter pair
version ↔ String?
Version is the semantic version of the binary.
getter/setter pair
yanked ↔ bool?
Yanked marks a pulled release (download refused; tokens may be revoked release-scoped too).
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → LicensingRelease?
Returns a new LicensingRelease instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<LicensingRelease>
mapFromJson(dynamic json) → Map<String, LicensingRelease>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<LicensingRelease>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.