SnapSummary

class oci.os_management_hub.models.SnapSummary(**kwargs)

Bases: object

Provides summary information for a snap.

Methods:

__init__(**kwargs)

Initializes a new SnapSummary object with values from keyword arguments.

Attributes:

description

Gets the description of this SnapSummary.

name

[Required] Gets the name of this SnapSummary.

publisher

[Required] Gets the publisher of this SnapSummary.

revision

[Required] Gets the revision of this SnapSummary.

store_url

Gets the store_url of this SnapSummary.

time_refreshed

Gets the time_refreshed of this SnapSummary.

tracking

[Required] Gets the tracking of this SnapSummary.

version

[Required] Gets the version of this SnapSummary.

__init__(**kwargs)

Initializes a new SnapSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • description (str) – The value to assign to the description property of this SnapSummary.

  • name (str) – The value to assign to the name property of this SnapSummary.

  • publisher (str) – The value to assign to the publisher property of this SnapSummary.

  • revision (str) – The value to assign to the revision property of this SnapSummary.

  • store_url (str) – The value to assign to the store_url property of this SnapSummary.

  • time_refreshed (datetime) – The value to assign to the time_refreshed property of this SnapSummary.

  • version (str) – The value to assign to the version property of this SnapSummary.

  • tracking (str) – The value to assign to the tracking property of this SnapSummary.

property description

Gets the description of this SnapSummary. The description of of snap.

Returns

The description of this SnapSummary.

Return type

str

property name

[Required] Gets the name of this SnapSummary. The name of the snap.

Returns

The name of this SnapSummary.

Return type

str

property publisher

[Required] Gets the publisher of this SnapSummary. The publisher of the snap.

Returns

The publisher of this SnapSummary.

Return type

str

property revision

[Required] Gets the revision of this SnapSummary. The revision number of the snap channel.

Returns

The revision of this SnapSummary.

Return type

str

property store_url

Gets the store_url of this SnapSummary. The snap’s store url.

Returns

The store_url of this SnapSummary.

Return type

str

property time_refreshed

Gets the time_refreshed of this SnapSummary. The date and time of the snap’s last refresh in RFC 3339 format.

Returns

The time_refreshed of this SnapSummary.

Return type

datetime

property tracking

[Required] Gets the tracking of this SnapSummary. The track this snap is following.

Returns

The tracking of this SnapSummary.

Return type

str

property version

[Required] Gets the version of this SnapSummary. The version of the snap.

Returns

The version of this SnapSummary.

Return type

str