Snapd.Change – snapd-glib-2 Reference Manual
Packages
snapd-glib-2
Snapd
Change
data
error
id
kind
ready
ready_time
spawn_time
status
summary
tasks
Change
get_data
get_error
get_id
get_kind
get_ready
get_ready_time
get_spawn_time
get_status
get_summary
get_tasks
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.
Namespace:
Snapd
Package:
snapd-glib-2
Content:
Properties:
public
ChangeData
data
{
get
;
construct
; }
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:
protected
Change
()
Methods:
public
unowned
ChangeData
get_data
()
Get the data field for this change.
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