PackageNameSummary

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

Bases: object

Provides summary information about a package.

Attributes

ARCHITECTURE_AARCH64 A constant which can be used with the architecture property of a PackageNameSummary.
ARCHITECTURE_I686 A constant which can be used with the architecture property of a PackageNameSummary.
ARCHITECTURE_NOARCH A constant which can be used with the architecture property of a PackageNameSummary.
ARCHITECTURE_SRC A constant which can be used with the architecture property of a PackageNameSummary.
ARCHITECTURE_X86_64 A constant which can be used with the architecture property of a PackageNameSummary.
architecture Gets the architecture of this PackageNameSummary.
display_name [Required] Gets the display_name of this PackageNameSummary.
name [Required] Gets the name of this PackageNameSummary.
type Gets the type of this PackageNameSummary.
version Gets the version of this PackageNameSummary.

Methods

__init__(**kwargs) Initializes a new PackageNameSummary object with values from keyword arguments.
ARCHITECTURE_AARCH64 = 'AARCH64'

A constant which can be used with the architecture property of a PackageNameSummary. This constant has a value of “AARCH64”

ARCHITECTURE_I686 = 'I686'

A constant which can be used with the architecture property of a PackageNameSummary. This constant has a value of “I686”

ARCHITECTURE_NOARCH = 'NOARCH'

A constant which can be used with the architecture property of a PackageNameSummary. This constant has a value of “NOARCH”

ARCHITECTURE_SRC = 'SRC'

A constant which can be used with the architecture property of a PackageNameSummary. This constant has a value of “SRC”

ARCHITECTURE_X86_64 = 'X86_64'

A constant which can be used with the architecture property of a PackageNameSummary. This constant has a value of “X86_64”

__init__(**kwargs)

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this PackageNameSummary.
  • name (str) – The value to assign to the name property of this PackageNameSummary.
  • type (str) – The value to assign to the type property of this PackageNameSummary.
  • version (str) – The value to assign to the version property of this PackageNameSummary.
  • architecture (str) – The value to assign to the architecture property of this PackageNameSummary. Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
architecture

Gets the architecture of this PackageNameSummary. The CPU architecture type for which this package was built.

Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The architecture of this PackageNameSummary.
Return type:str
display_name

[Required] Gets the display_name of this PackageNameSummary. Full package name in NERVA format. This value should be unique.

Returns:The display_name of this PackageNameSummary.
Return type:str
name

[Required] Gets the name of this PackageNameSummary. The name of the software package.

Returns:The name of this PackageNameSummary.
Return type:str
type

Gets the type of this PackageNameSummary. Type of the package.

Returns:The type of this PackageNameSummary.
Return type:str
version

Gets the version of this PackageNameSummary. The version of the software package.

Returns:The version of this PackageNameSummary.
Return type:str