Snapd.AutorefreshChangeData

g GObject.Object GObject.Object Snapd.ChangeData Snapd.ChangeData GObject.Object->Snapd.ChangeData Snapd.AutorefreshChangeData Snapd.AutorefreshChangeData Snapd.ChangeData->Snapd.AutorefreshChangeData

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_refresh_forced ()

get_snap_names ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

refresh-forced

[str]

r/w/co

Names of the snaps that have been forced to autorefresh.

snap-names

[str]

r/w/co

Names of the snaps that have been autorefreshed.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Snapd.AutorefreshChangeData(**kwargs)
Bases:

Snapd.ChangeData

Abstract:

No

Structure:

Snapd.AutorefreshChangeDataClass

#SnapdAutoRefreshChangeData contains the data from the ‘data’ field of a Snapd.Change of kind ‘auto-refresh’.

New in version 1.65.

get_refresh_forced()
Returns:

a GStrv with the snap names, or None if the property wasn’t defined

Return type:

[str]

Returns the list of snaps that were inhibited for too long, and now are having a forced refresh.

New in version 1.65.

get_snap_names()
Returns:

a GStrv with the snap names, or None if the property wasn’t defined

Return type:

[str]

Returns the list of snaps that have a pending update but are inhibited because they have a running program.

New in version 1.65.

Property Details

Snapd.AutorefreshChangeData.props.refresh_forced
Name:

refresh-forced

Type:

[str]

Default Value:

[]

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Contains the list of snaps that were inhibited for too long, and now are having a forced refresh.

New in version 1.65.

Snapd.AutorefreshChangeData.props.snap_names
Name:

snap-names

Type:

[str]

Default Value:

[]

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Contains the list of snaps that have a pending update but are inhibited because they have a running program.

New in version 1.65.