Class

AppStreamArtifact

[]

Description

class AppStream.Artifact : GObject.Object
{
  /* No available fields */
}

No description available.

[]

Hierarchy

hierarchy this AsArtifact ancestor_0 GObject ancestor_0--this
[]

Ancestors

[]

Constructors

as_artifact_new

Creates a new AsArtifact.

[]

Instance methods

as_artifact_add_checksum

Add a checksum for the file associated with this artifact.

as_artifact_add_location

Adds a artifact location.

as_artifact_get_bundle_kind

Gets the bundle kind of this artifact.

as_artifact_get_checksum

Gets the artifact checksum.

as_artifact_get_checksums

Get a list of all checksums we have for this artifact.

as_artifact_get_filename

Gets a suggested filename for the downloaded artifact, or NULL if none is suggested.

as_artifact_get_kind

Gets the artifact kind.

as_artifact_get_locations

Gets the artifact locations, typically URLs.

as_artifact_get_platform

Gets the artifact platform string (e.g. a triplet like “x86_64-linux-gnu”).

as_artifact_get_size

Gets the artifact size.

as_artifact_set_bundle_kind

Sets the bundle kind for this release artifact.

as_artifact_set_filename

Sets a suggested filename for this artifact after it has been downloaded.

as_artifact_set_kind

Sets the artifact kind.

as_artifact_set_platform

Sets the artifact platform triplet or identifier string.

as_artifact_set_size

Sets the artifact size for the given kind.

Methods inherited from GObject (43)
[]

Signals

Signals inherited from GObject (1)

Class structure