JavaDownloadReport¶
- class oci.jms_java_downloads.models.JavaDownloadReport(**kwargs)¶
Bases:
objectDetails about a Java download report in a tenancy. The report is a file in Object Storage. It contains the download records in a specific format.
Attributes:
A constant which can be used with the checksum_type property of a JavaDownloadReport.
A constant which can be used with the format property of a JavaDownloadReport.
A constant which can be used with the lifecycle_state property of a JavaDownloadReport.
A constant which can be used with the lifecycle_state property of a JavaDownloadReport.
A constant which can be used with the lifecycle_state property of a JavaDownloadReport.
A constant which can be used with the lifecycle_state property of a JavaDownloadReport.
A constant which can be used with the lifecycle_state property of a JavaDownloadReport.
A constant which can be used with the lifecycle_state property of a JavaDownloadReport.
A constant which can be used with the lifecycle_state property of a JavaDownloadReport.
A constant which can be used with the sort_by property of a JavaDownloadReport.
A constant which can be used with the sort_by property of a JavaDownloadReport.
A constant which can be used with the sort_by property of a JavaDownloadReport.
A constant which can be used with the sort_order property of a JavaDownloadReport.
A constant which can be used with the sort_order property of a JavaDownloadReport.
[Required] Gets the checksum_type of this JavaDownloadReport.
[Required] Gets the checksum_value of this JavaDownloadReport.
[Required] Gets the compartment_id of this JavaDownloadReport.
[Required] Gets the created_by of this JavaDownloadReport.
Gets the defined_tags of this JavaDownloadReport.
[Required] Gets the display_name of this JavaDownloadReport.
[Required] Gets the file_size_in_bytes of this JavaDownloadReport.
[Required] Gets the format of this JavaDownloadReport.
Gets the freeform_tags of this JavaDownloadReport.
[Required] Gets the id of this JavaDownloadReport.
[Required] Gets the lifecycle_state of this JavaDownloadReport.
Gets the sort_by of this JavaDownloadReport.
Gets the sort_order of this JavaDownloadReport.
Gets the system_tags of this JavaDownloadReport.
[Required] Gets the time_created of this JavaDownloadReport.
Gets the time_end of this JavaDownloadReport.
Gets the time_start of this JavaDownloadReport.
Methods:
__init__(**kwargs)Initializes a new JavaDownloadReport object with values from keyword arguments.
- CHECKSUM_TYPE_SHA256 = 'SHA256'¶
A constant which can be used with the checksum_type property of a JavaDownloadReport. This constant has a value of “SHA256”
- FORMAT_CSV = 'CSV'¶
A constant which can be used with the format property of a JavaDownloadReport. This constant has a value of “CSV”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a JavaDownloadReport. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a JavaDownloadReport. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a JavaDownloadReport. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a JavaDownloadReport. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a JavaDownloadReport. 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 JavaDownloadReport. 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 JavaDownloadReport. 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 JavaDownloadReport. 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 JavaDownloadReport. 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 JavaDownloadReport. This constant has a value of “timeDownloaded”
- SORT_ORDER_ASC = 'ASC'¶
A constant which can be used with the sort_order property of a JavaDownloadReport. This constant has a value of “ASC”
- SORT_ORDER_DESC = 'DESC'¶
A constant which can be used with the sort_order property of a JavaDownloadReport. This constant has a value of “DESC”
- __init__(**kwargs)¶
Initializes a new JavaDownloadReport 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 JavaDownloadReport.
display_name (str) – The value to assign to the display_name property of this JavaDownloadReport.
format (str) – The value to assign to the format property of this JavaDownloadReport. 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 JavaDownloadReport.
checksum_type (str) – The value to assign to the checksum_type property of this JavaDownloadReport. 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 JavaDownloadReport.
compartment_id (str) – The value to assign to the compartment_id property of this JavaDownloadReport.
created_by (oci.jms_java_downloads.models.Principal) – The value to assign to the created_by property of this JavaDownloadReport.
time_created (datetime) – The value to assign to the time_created property of this JavaDownloadReport.
time_start (datetime) – The value to assign to the time_start property of this JavaDownloadReport.
time_end (datetime) – The value to assign to the time_end property of this JavaDownloadReport.
sort_by (str) – The value to assign to the sort_by property of this JavaDownloadReport. 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 JavaDownloadReport. 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 JavaDownloadReport. 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 JavaDownloadReport.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this JavaDownloadReport.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this JavaDownloadReport.
- property checksum_type¶
[Required] Gets the checksum_type of this JavaDownloadReport. 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 JavaDownloadReport.
- Return type
str
- property checksum_value¶
[Required] Gets the checksum_value of this JavaDownloadReport. The checksum value of the Java download report file.
- Returns
The checksum_value of this JavaDownloadReport.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this JavaDownloadReport. The OCID of the tenancy scoped to the Java download report.
- Returns
The compartment_id of this JavaDownloadReport.
- Return type
str
- property created_by¶
[Required] Gets the created_by of this JavaDownloadReport.
- Returns
The created_by of this JavaDownloadReport.
- Return type
- property defined_tags¶
Gets the defined_tags of this JavaDownloadReport. 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 JavaDownloadReport.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this JavaDownloadReport. Display name for the Java download report.
- Returns
The display_name of this JavaDownloadReport.
- Return type
str
- property file_size_in_bytes¶
[Required] Gets the file_size_in_bytes of this JavaDownloadReport. Approximate size of the Java download report file in bytes.
- Returns
The file_size_in_bytes of this JavaDownloadReport.
- Return type
int
- property format¶
[Required] Gets the format of this JavaDownloadReport. 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 JavaDownloadReport.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this JavaDownloadReport. 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 JavaDownloadReport.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this JavaDownloadReport. The OCID of the Java download report.
- Returns
The id of this JavaDownloadReport.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this JavaDownloadReport. 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 JavaDownloadReport.
- Return type
str
- property sort_by¶
Gets the sort_by of this JavaDownloadReport. 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 JavaDownloadReport.
- Return type
str
- property sort_order¶
Gets the sort_order of this JavaDownloadReport. 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 JavaDownloadReport.
- Return type
str
- property system_tags¶
Gets the system_tags of this JavaDownloadReport. 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 JavaDownloadReport.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this JavaDownloadReport. The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- Returns
The time_created of this JavaDownloadReport.
- Return type
datetime