PlatformVersions

class oci.core.models.PlatformVersions(**kwargs)

Bases: object

A platform’s pinned firmware versions.

Methods:

__init__(**kwargs)

Initializes a new PlatformVersions object with values from keyword arguments.

Attributes:

platform

Gets the platform of this PlatformVersions.

versions

Gets the versions of this PlatformVersions.

__init__(**kwargs)

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

Parameters
  • platform (str) – The value to assign to the platform property of this PlatformVersions.

  • versions (list[oci.core.models.ComponentVersion]) – The value to assign to the versions property of this PlatformVersions.

property platform

Gets the platform of this PlatformVersions. The name of the platform supported by this bundle.

Returns

The platform of this PlatformVersions.

Return type

str

property versions

Gets the versions of this PlatformVersions. An array of pinned components and their respective firmware versions.

Returns

The versions of this PlatformVersions.

Return type

list[oci.core.models.ComponentVersion]