SoftwarePackage

class oci.os_management.models.SoftwarePackage(**kwargs)

Bases: object

The details for a software package

Methods

__init__(**kwargs) Initializes a new SoftwarePackage object with values from keyword arguments.

Attributes

architecture Gets the architecture of this SoftwarePackage.
checksum Gets the checksum of this SoftwarePackage.
checksum_type Gets the checksum_type of this SoftwarePackage.
dependencies Gets the dependencies of this SoftwarePackage.
description Gets the description of this SoftwarePackage.
display_name [Required] Gets the display_name of this SoftwarePackage.
files Gets the files of this SoftwarePackage.
last_modified_date Gets the last_modified_date of this SoftwarePackage.
name [Required] Gets the name of this SoftwarePackage.
size_in_bytes Gets the size_in_bytes of this SoftwarePackage.
software_sources Gets the software_sources of this SoftwarePackage.
type [Required] Gets the type of this SoftwarePackage.
version [Required] Gets the version of this SoftwarePackage.
__init__(**kwargs)

Initializes a new SoftwarePackage 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 SoftwarePackage.
  • name (str) – The value to assign to the name property of this SoftwarePackage.
  • type (str) – The value to assign to the type property of this SoftwarePackage.
  • version (str) – The value to assign to the version property of this SoftwarePackage.
  • architecture (str) – The value to assign to the architecture property of this SoftwarePackage.
  • last_modified_date (str) – The value to assign to the last_modified_date property of this SoftwarePackage.
  • checksum (str) – The value to assign to the checksum property of this SoftwarePackage.
  • checksum_type (str) – The value to assign to the checksum_type property of this SoftwarePackage.
  • description (str) – The value to assign to the description property of this SoftwarePackage.
  • size_in_bytes (int) – The value to assign to the size_in_bytes property of this SoftwarePackage.
  • dependencies (list[oci.os_management.models.SoftwarePackageDependency]) – The value to assign to the dependencies property of this SoftwarePackage.
  • files (list[oci.os_management.models.SoftwarePackageFile]) – The value to assign to the files property of this SoftwarePackage.
  • software_sources (list[oci.os_management.models.SoftwareSourceId]) – The value to assign to the software_sources property of this SoftwarePackage.
architecture

Gets the architecture of this SoftwarePackage. the architecture for which this software was built

Returns:The architecture of this SoftwarePackage.
Return type:str
checksum

Gets the checksum of this SoftwarePackage. checksum of the package

Returns:The checksum of this SoftwarePackage.
Return type:str
checksum_type

Gets the checksum_type of this SoftwarePackage. type of the checksum

Returns:The checksum_type of this SoftwarePackage.
Return type:str
dependencies

Gets the dependencies of this SoftwarePackage. list of dependencies for the software package

Returns:The dependencies of this SoftwarePackage.
Return type:list[oci.os_management.models.SoftwarePackageDependency]
description

Gets the description of this SoftwarePackage. description of the package

Returns:The description of this SoftwarePackage.
Return type:str
display_name

[Required] Gets the display_name of this SoftwarePackage. Package name

Returns:The display_name of this SoftwarePackage.
Return type:str
files

Gets the files of this SoftwarePackage. list of files for the software package

Returns:The files of this SoftwarePackage.
Return type:list[oci.os_management.models.SoftwarePackageFile]
last_modified_date

Gets the last_modified_date of this SoftwarePackage. date of the last update to the package

Returns:The last_modified_date of this SoftwarePackage.
Return type:str
name

[Required] Gets the name of this SoftwarePackage. Unique identifier for the package. NOTE - This is not an OCID

Returns:The name of this SoftwarePackage.
Return type:str
size_in_bytes

Gets the size_in_bytes of this SoftwarePackage. size of the package in bytes

Returns:The size_in_bytes of this SoftwarePackage.
Return type:int
software_sources

Gets the software_sources of this SoftwarePackage. list of software sources that provide the software package

Returns:The software_sources of this SoftwarePackage.
Return type:list[oci.os_management.models.SoftwareSourceId]
type

[Required] Gets the type of this SoftwarePackage. Type of the package

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

[Required] Gets the version of this SoftwarePackage. Version of the package

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