Flatpak.RemoteRef

g Flatpak.Ref Flatpak.Ref Flatpak.RemoteRef Flatpak.RemoteRef Flatpak.Ref->Flatpak.RemoteRef GObject.Object GObject.Object GObject.Object->Flatpak.Ref

Subclasses:

None

Methods

Inherited:

Flatpak.Ref (9), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_download_size ()

get_eol ()

get_eol_rebase ()

get_installed_size ()

get_metadata ()

get_remote_name ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

Flatpak.Ref (6)

Name

Type

Flags

Short Description

download-size

int

r/w/co

The download size of the application

end-of-life

str

r/w/co

The reason for the ref to be end of life

end-of-life-rebase

str

r/w/co

The new ref for the end of lifeed ref

installed-size

int

r/w/co

The installed size of the application

metadata

GLib.Bytes

r/w/co

The metadata info for the application

remote-name

str

r/w/co

The name of the remote

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Flatpak.Ref

r

Class Details

class Flatpak.RemoteRef(**kwargs)
Bases:

Flatpak.Ref

Abstract:

No

Structure:

Flatpak.RemoteRefClass

get_download_size()
Returns:

the download size

Return type:

int

Returns the download size of the ref.

get_eol()
Returns:

the end-of-life reason or None

Return type:

str

Returns the end-of-life reason string, or None if the ref is not end-of-lifed.

get_eol_rebase()
Returns:

the end-of-life rebased ref or None

Return type:

str

Returns the end-of-life rebased ref, or None if the ref is not end-of-lifed.

get_installed_size()
Returns:

the installed size

Return type:

int

Returns the installed size of the ref.

get_metadata()
Returns:

a GLib.Bytes with the metadata file contents or None

Return type:

GLib.Bytes or None

Returns the app metadata from the metadata cache of the ref.

get_remote_name()
Returns:

the remote name

Return type:

str

Gets the remote name of the ref.

Property Details

Flatpak.RemoteRef.props.download_size
Name:

download-size

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The download size of the application

Flatpak.RemoteRef.props.end_of_life
Name:

end-of-life

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The reason for the ref to be end of life

Flatpak.RemoteRef.props.end_of_life_rebase
Name:

end-of-life-rebase

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The new ref for the end of lifeed ref

Flatpak.RemoteRef.props.installed_size
Name:

installed-size

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The installed size of the application

Flatpak.RemoteRef.props.metadata
Name:

metadata

Type:

GLib.Bytes

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The metadata info for the application

Flatpak.RemoteRef.props.remote_name
Name:

remote-name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The name of the remote