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.
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.
system_tags Gets the system_tags of this JavaDownloadReportSummary.
time_created [Required] Gets the time_created 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”

__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.
  • 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.
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
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
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
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
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))
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
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
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
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)
id

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

Returns:The id of this JavaDownloadReportSummary.
Return type:str
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
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))
time_created

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

Returns:The time_created of this JavaDownloadReportSummary.
Return type:datetime