Artifact
Object Hierarchy:
Description:
Namespace: AppStream
Package: appstream
Content:
Creation methods:
- public Artifact ()
Creates a new Artifact.
Methods:
- public void add_checksum (Checksum cs)
Add a checksum for the file associated with this artifact.
- public void add_location (string location)
Adds a artifact location.
- public BundleKind get_bundle_kind ()
Gets the bundle kind of this artifact.
- public unowned Checksum? get_checksum (ChecksumKind kind)
Gets the artifact checksum
- public unowned GenericArray<Checksum> get_checksums ()
Get a list of all checksums we have for this artifact.
- public unowned string get_filename ()
Gets a suggested filename for the downloaded artifact, or null if none is suggested.
- public ArtifactKind get_kind ()
Gets the artifact kind.
- public unowned GenericArray<string> get_locations ()
Gets the artifact locations, typically URLs.
- public unowned string get_platform ()
Gets the artifact platform string (e.
- public uint64 get_size (SizeKind kind)
Gets the artifact size.
- public void set_bundle_kind (BundleKind kind)
Sets the bundle kind for this release artifact.
- public void set_filename (string filename)
Sets a suggested filename for this artifact after it has been downloaded.
- public void set_kind (ArtifactKind kind)
Sets the artifact kind.
- public void set_platform (string platform)
Sets the artifact platform triplet or identifier string.
- public void set_size (uint64 size, SizeKind kind)
Sets the artifact size for the given kind.
Inherited Members:
All known members inherited from class GLib.Object