Change
Object Hierarchy:
Description:
[ CCode ( type_id = "snapd_change_get_type ()" ) ]
[ Version ( since = "1.5" ) ]
public class Change : Object
Change contains information on a current Snap transaction.
Content:
Properties:
- public string error { get; construct; }
- public string id { get; construct; }
- public string kind { get; construct; }
- public bool ready { get; construct; }
- public DateTime ready_time { get; construct; }
- public DateTime spawn_time { get; construct; }
- public string status { get; construct; }
- public string summary { get; construct; }
- public GenericArray<void*> tasks { get; construct; }
Creation methods:
Methods:
- public unowned string? get_error ()
Gets the error string associated with this change.
- public unowned string get_id ()
Get the unique ID for this change.
- public unowned string get_kind ()
Gets the kind of change this is.
- public bool get_ready ()
Get if this change is completed.
- public unowned DateTime? get_ready_time ()
Get the time this task completed or null
if not yet completed.
- public unowned DateTime get_spawn_time ()
Get the time this change started.
- public unowned string get_status ()
Get the status of the change.
- public unowned string get_summary ()
Get a human readable description of the change.
- public unowned GenericArray<Task> get_tasks ()
Get the tasks that are in this change.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref