JavaDownloadReportSummary

class oci.jms_java_downloads.models.JavaDownloadReportSummary(**kwargs)

Bases: object

A summary of the Java download report in a tenancy.

Attributes:

CHECKSUM_TYPE_SHA256

A constant which can be used with the checksum_type property of a JavaDownloadReportSummary.

FORMAT_CSV

A constant which can be used with the format property of a JavaDownloadReportSummary.

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a JavaDownloadReportSummary.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a JavaDownloadReportSummary.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a JavaDownloadReportSummary.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a JavaDownloadReportSummary.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a JavaDownloadReportSummary.

LIFECYCLE_STATE_NEEDS_ATTENTION

A constant which can be used with the lifecycle_state property of a JavaDownloadReportSummary.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a JavaDownloadReportSummary.

SORT_BY_DOWNLOAD_SOURCE_ID

A constant which can be used with the sort_by property of a JavaDownloadReportSummary.

SORT_BY_DOWNLOAD_TYPE

A constant which can be used with the sort_by property of a JavaDownloadReportSummary.

SORT_BY_TIME_DOWNLOADED

A constant which can be used with the sort_by property of a JavaDownloadReportSummary.

SORT_ORDER_ASC

A constant which can be used with the sort_order property of a JavaDownloadReportSummary.

SORT_ORDER_DESC

A constant which can be used with the sort_order property of a JavaDownloadReportSummary.

checksum_type

[Required] Gets the checksum_type of this JavaDownloadReportSummary.

checksum_value

[Required] Gets the checksum_value of this JavaDownloadReportSummary.

compartment_id

[Required] Gets the compartment_id of this JavaDownloadReportSummary.

created_by

[Required] Gets the created_by of this JavaDownloadReportSummary.

defined_tags

Gets the defined_tags of this JavaDownloadReportSummary.

display_name

[Required] Gets the display_name of this JavaDownloadReportSummary.

file_size_in_bytes

[Required] Gets the file_size_in_bytes of this JavaDownloadReportSummary.

format

[Required] Gets the format of this JavaDownloadReportSummary.

freeform_tags

Gets the freeform_tags of this JavaDownloadReportSummary.

id

[Required] Gets the id of this JavaDownloadReportSummary.

lifecycle_state

[Required] Gets the lifecycle_state of this JavaDownloadReportSummary.

sort_by

Gets the sort_by of this JavaDownloadReportSummary.

sort_order

Gets the sort_order of this JavaDownloadReportSummary.

system_tags

Gets the system_tags of this JavaDownloadReportSummary.

time_created

[Required] Gets the time_created of this JavaDownloadReportSummary.

time_end

Gets the time_end of this JavaDownloadReportSummary.

time_start

Gets the time_start of this JavaDownloadReportSummary.

Methods:

__init__(**kwargs)

Initializes a new JavaDownloadReportSummary object with values from keyword arguments.

CHECKSUM_TYPE_SHA256 = 'SHA256'

A constant which can be used with the checksum_type property of a JavaDownloadReportSummary. This constant has a value of “SHA256”

FORMAT_CSV = 'CSV'

A constant which can be used with the format property of a JavaDownloadReportSummary. This constant has a value of “CSV”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a JavaDownloadReportSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a JavaDownloadReportSummary. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a JavaDownloadReportSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a JavaDownloadReportSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a JavaDownloadReportSummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a JavaDownloadReportSummary. This constant has a value of “NEEDS_ATTENTION”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a JavaDownloadReportSummary. This constant has a value of “UPDATING”

SORT_BY_DOWNLOAD_SOURCE_ID = 'downloadSourceId'

A constant which can be used with the sort_by property of a JavaDownloadReportSummary. This constant has a value of “downloadSourceId”

SORT_BY_DOWNLOAD_TYPE = 'downloadType'

A constant which can be used with the sort_by property of a JavaDownloadReportSummary. This constant has a value of “downloadType”

SORT_BY_TIME_DOWNLOADED = 'timeDownloaded'

A constant which can be used with the sort_by property of a JavaDownloadReportSummary. This constant has a value of “timeDownloaded”

SORT_ORDER_ASC = 'ASC'

A constant which can be used with the sort_order property of a JavaDownloadReportSummary. This constant has a value of “ASC”

SORT_ORDER_DESC = 'DESC'

A constant which can be used with the sort_order property of a JavaDownloadReportSummary. This constant has a value of “DESC”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this JavaDownloadReportSummary.

  • display_name (str) – The value to assign to the display_name property of this JavaDownloadReportSummary.

  • format (str) – The value to assign to the format property of this JavaDownloadReportSummary. Allowed values for this property are: “CSV”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • file_size_in_bytes (int) – The value to assign to the file_size_in_bytes property of this JavaDownloadReportSummary.

  • checksum_type (str) – The value to assign to the checksum_type property of this JavaDownloadReportSummary. Allowed values for this property are: “SHA256”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • checksum_value (str) – The value to assign to the checksum_value property of this JavaDownloadReportSummary.

  • compartment_id (str) – The value to assign to the compartment_id property of this JavaDownloadReportSummary.

  • created_by (oci.jms_java_downloads.models.Principal) – The value to assign to the created_by property of this JavaDownloadReportSummary.

  • time_created (datetime) – The value to assign to the time_created property of this JavaDownloadReportSummary.

  • time_start (datetime) – The value to assign to the time_start property of this JavaDownloadReportSummary.

  • time_end (datetime) – The value to assign to the time_end property of this JavaDownloadReportSummary.

  • sort_by (str) – The value to assign to the sort_by property of this JavaDownloadReportSummary. Allowed values for this property are: “timeDownloaded”, “downloadSourceId”, “downloadType”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • sort_order (str) – The value to assign to the sort_order property of this JavaDownloadReportSummary. Allowed values for this property are: “ASC”, “DESC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this JavaDownloadReportSummary. Allowed values for this property are: “ACTIVE”, “CREATING”, “DELETED”, “DELETING”, “FAILED”, “NEEDS_ATTENTION”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this JavaDownloadReportSummary.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this JavaDownloadReportSummary.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this JavaDownloadReportSummary.

property checksum_type

[Required] Gets the checksum_type of this JavaDownloadReportSummary. The algorithm used for calculating the checksum.

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

Returns

The checksum_type of this JavaDownloadReportSummary.

Return type

str

property checksum_value

[Required] Gets the checksum_value of this JavaDownloadReportSummary. The checksum value of the Java download report file.

Returns

The checksum_value of this JavaDownloadReportSummary.

Return type

str

property compartment_id

[Required] Gets the compartment_id of this JavaDownloadReportSummary. The OCID of the tenancy scoped to the Java download report.

Returns

The compartment_id of this JavaDownloadReportSummary.

Return type

str

property created_by

[Required] Gets the created_by of this JavaDownloadReportSummary.

Returns

The created_by of this JavaDownloadReportSummary.

Return type

oci.jms_java_downloads.models.Principal

property defined_tags

Gets the defined_tags of this JavaDownloadReportSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}. (See Understanding Free-form Tags).

Returns

The defined_tags of this JavaDownloadReportSummary.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this JavaDownloadReportSummary. Display name for the Java download report.

Returns

The display_name of this JavaDownloadReportSummary.

Return type

str

property file_size_in_bytes

[Required] Gets the file_size_in_bytes of this JavaDownloadReportSummary. Approximate size of the Java download report file in bytes.

Returns

The file_size_in_bytes of this JavaDownloadReportSummary.

Return type

int

property format

[Required] Gets the format of this JavaDownloadReportSummary. The file format of the Java download report.

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

Returns

The format of this JavaDownloadReportSummary.

Return type

str

property freeform_tags

Gets the freeform_tags of this JavaDownloadReportSummary. Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}. (See Managing Tags and Tag Namespaces.)

Returns

The freeform_tags of this JavaDownloadReportSummary.

Return type

dict(str, str)

property id

[Required] Gets the id of this JavaDownloadReportSummary. The OCID of the Java download report.

Returns

The id of this JavaDownloadReportSummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this JavaDownloadReportSummary. The current state of the Java download report.

Allowed values for this property are: “ACTIVE”, “CREATING”, “DELETED”, “DELETING”, “FAILED”, “NEEDS_ATTENTION”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this JavaDownloadReportSummary.

Return type

str

property sort_by

Gets the sort_by of this JavaDownloadReportSummary. The property used for sorting the records.

Allowed values for this property are: “timeDownloaded”, “downloadSourceId”, “downloadType”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The sort_by of this JavaDownloadReportSummary.

Return type

str

property sort_order

Gets the sort_order of this JavaDownloadReportSummary. The sort order for the records.

Allowed values for this property are: “ASC”, “DESC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The sort_order of this JavaDownloadReportSummary.

Return type

str

property system_tags

Gets the system_tags of this JavaDownloadReportSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.

Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this JavaDownloadReportSummary.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this JavaDownloadReportSummary. The time the Java download report was created, displayed as an RFC3339 formatted datetime string.

Returns

The time_created of this JavaDownloadReportSummary.

Return type

datetime

property time_end

Gets the time_end of this JavaDownloadReportSummary. The end time until when the download records are included (formatted according to RFC3339).

Returns

The time_end of this JavaDownloadReportSummary.

Return type

datetime

property time_start

Gets the time_start of this JavaDownloadReportSummary. The start time from when the download records are included (formatted according to RFC3339).

Returns

The time_start of this JavaDownloadReportSummary.

Return type

datetime