Release
Object Hierarchy:
Description:
Namespace: Fwupd
Package: fwupd
Content:
Static methods:
- public static GenericArray<unowned Release> array_from_variant (Variant value)
Creates an array of new releases using packed data.
- public static ReleaseFlags flag_from_string (string release_flag)
Converts a string to a ReleaseFlags.
- public static unowned string flag_to_string (ReleaseFlags release_flag)
Converts a ReleaseFlags to a string.
- public static Release from_variant (Variant value)
Creates a new release using packed data.
- public static ReleaseUrgency urgency_from_string (string release_urgency)
Converts a string to an enumerated value.
- public static unowned string urgency_to_string (ReleaseUrgency release_urgency)
Converts an enumerated value to a string.
Creation methods:
- public Release ()
Creates a new release.
Methods:
- public void add_category (string category)
Adds the update category.
- public void add_checksum (string checksum)
Sets the update checksum.
- public void add_flag (ReleaseFlags flag)
Adds a specific release flag to the release.
- public void add_issue (string issue)
Adds an resolved issue to this release.
- public void add_location (string location)
Adds an update URI, i.
- public void add_metadata (HashTable<void*,void*> hash)
Sets multiple release metadata items.
- public void add_metadata_item (string key, string value)
Sets a release metadata item.
- public unowned string get_appstream_id ()
Gets the AppStream ID.
- public unowned string get_branch ()
Gets the update branch.
- public unowned GenericArray<string> get_categories ()
Gets the release categories.
- public unowned GenericArray<string> get_checksums ()
Gets the release checksums.
- public uint64 get_created ()
Gets when the update was created.
- public unowned string get_description ()
Gets the update description in AppStream markup format.
- public unowned string get_detach_caption ()
Gets the optional text caption used to manually detach the device.
- public unowned string get_detach_image ()
Gets the optional image used to manually detach the device.
- public unowned string get_details_url ()
Gets the URL for the online update notes.
- public unowned string get_filename ()
Gets the update filename.
- public ReleaseFlags get_flags ()
Gets the release flags.
- public unowned string get_homepage ()
Gets the update homepage.
- public uint32 get_install_duration ()
Gets the time estimate for firmware installation (in seconds)
- public unowned GenericArray<string> get_issues ()
Gets the list of issues fixed in this release.
- public unowned string get_license ()
Gets the update license.
- public unowned GenericArray<string> get_locations ()
Gets the update URI, i.
- public unowned HashTable<void*,void*> get_metadata ()
Gets the release metadata.
- public unowned string get_metadata_item (string key)
Gets a release metadata item.
- public unowned string get_name ()
Gets the update name.
- public unowned string get_name_variant_suffix ()
Gets the update variant suffix.
- public unowned string get_protocol ()
Gets the update protocol.
- public unowned string get_remote_id ()
Gets the remote ID that can be used for downloading.
- public uint64 get_size ()
Gets the update size.
- public unowned string get_source_url ()
Gets the URL of the source code used to build this release.
- public unowned string get_summary ()
Gets the update summary.
- public TrustFlags get_trust_flags ()
Gets the trust level of the release.
- public unowned string get_update_image ()
Gets the update image.
- public unowned string get_update_message ()
Gets the update message.
- public ReleaseUrgency get_urgency ()
Gets the release urgency.
- public unowned string get_uri ()
Gets the default update URI.
- public unowned string get_vendor ()
Gets the update vendor.
- public unowned string get_version ()
Gets the update version.
- public bool has_category (string category)
Finds out if the release has the update category.
- public bool has_checksum (string checksum)
Finds out if the release has the update checksum.
- public bool has_flag (ReleaseFlags flag)
Finds if the release has a specific release flag.
- public void remove_flag (ReleaseFlags flag)
Removes a specific release flag from the release.
- public void set_appstream_id (string appstream_id)
Sets the AppStream ID.
- public void set_branch (string branch)
Sets the alternate branch.
- public void set_created (uint64 created)
Sets when the update was created.
- public void set_description (string description)
Sets the update description.
- public void set_detach_caption (string detach_caption)
Sets the optional text caption used to manually detach the device.
- public void set_detach_image (string detach_image)
Sets the optional image used to manually detach the device.
- public void set_details_url (string details_url)
Sets the URL for the online update notes.
- public void set_filename (string filename)
Sets the update filename.
- public void set_flags (ReleaseFlags flags)
Sets the release flags.
- public void set_homepage (string homepage)
Sets the update homepage.
- public void set_install_duration (uint32 duration)
Sets the time estimate for firmware installation (in seconds)
- public void set_license (string license)
Sets the update license.
- public void set_name (string name)
Sets the update name.
- public void set_name_variant_suffix (string name_variant_suffix)
Sets the update variant suffix.
- public void set_protocol (string protocol)
Sets the update protocol.
- public void set_remote_id (string remote_id)
Sets the remote ID that can be used for downloading.
- public void set_size (uint64 size)
Sets the update size.
- public void set_source_url (string source_url)
Sets the URL of the source code used to build this release.
- public void set_summary (string summary)
Sets the update summary.
- public void set_trust_flags (TrustFlags trust_flags)
Sets the trust level of the release.
- public void set_update_image (string update_image)
Sets the update image.
- public void set_update_message (string update_message)
Sets the update message.
- public void set_urgency (ReleaseUrgency urgency)
Sets the release urgency.
- public void set_uri (string uri)
Sets the update URI, i.
- public void set_vendor (string vendor)
Sets the update vendor.
- public void set_version (string version)
Sets the update version.
- public string to_string ()
Builds a text representation of the object.
- public Variant to_variant ()
Creates a GVariant from the release data.
Inherited Members:
All known members inherited from class GLib.Object