SoftwarePackageFile

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

Bases: object

A file associated with a package.

Methods:

__init__(**kwargs)

Initializes a new SoftwarePackageFile object with values from keyword arguments.

Attributes:

checksum

Gets the checksum of this SoftwarePackageFile.

checksum_type

Gets the checksum_type of this SoftwarePackageFile.

path

Gets the path of this SoftwarePackageFile.

size_in_bytes

Gets the size_in_bytes of this SoftwarePackageFile.

time_modified

Gets the time_modified of this SoftwarePackageFile.

type

Gets the type of this SoftwarePackageFile.

__init__(**kwargs)

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

Parameters
  • path (str) – The value to assign to the path property of this SoftwarePackageFile.

  • type (str) – The value to assign to the type property of this SoftwarePackageFile.

  • time_modified (datetime) – The value to assign to the time_modified property of this SoftwarePackageFile.

  • checksum (str) – The value to assign to the checksum property of this SoftwarePackageFile.

  • checksum_type (str) – The value to assign to the checksum_type property of this SoftwarePackageFile.

  • size_in_bytes (int) – The value to assign to the size_in_bytes property of this SoftwarePackageFile.

property checksum

Gets the checksum of this SoftwarePackageFile. Checksum of the file.

Returns

The checksum of this SoftwarePackageFile.

Return type

str

property checksum_type

Gets the checksum_type of this SoftwarePackageFile. Type of the checksum.

Returns

The checksum_type of this SoftwarePackageFile.

Return type

str

property path

Gets the path of this SoftwarePackageFile. File path.

Returns

The path of this SoftwarePackageFile.

Return type

str

property size_in_bytes

Gets the size_in_bytes of this SoftwarePackageFile. Size of the file in bytes.

Returns

The size_in_bytes of this SoftwarePackageFile.

Return type

int

property time_modified

Gets the time_modified of this SoftwarePackageFile. The date and time the file was last modified (in RFC 3339 format).

Returns

The time_modified of this SoftwarePackageFile.

Return type

datetime

property type

Gets the type of this SoftwarePackageFile. Type of the file.

Returns

The type of this SoftwarePackageFile.

Return type

str