CreateJavaDownloadReportDetails

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

Bases: object

Attributes to create a Java download report.

Attributes

FORMAT_CSV A constant which can be used with the format property of a CreateJavaDownloadReportDetails.
SORT_BY_DOWNLOAD_SOURCE_ID A constant which can be used with the sort_by property of a CreateJavaDownloadReportDetails.
SORT_BY_DOWNLOAD_TYPE A constant which can be used with the sort_by property of a CreateJavaDownloadReportDetails.
SORT_BY_TIME_DOWNLOADED A constant which can be used with the sort_by property of a CreateJavaDownloadReportDetails.
SORT_ORDER_ASC A constant which can be used with the sort_order property of a CreateJavaDownloadReportDetails.
SORT_ORDER_DESC A constant which can be used with the sort_order property of a CreateJavaDownloadReportDetails.
compartment_id [Required] Gets the compartment_id of this CreateJavaDownloadReportDetails.
defined_tags Gets the defined_tags of this CreateJavaDownloadReportDetails.
format [Required] Gets the format of this CreateJavaDownloadReportDetails.
freeform_tags Gets the freeform_tags of this CreateJavaDownloadReportDetails.
sort_by Gets the sort_by of this CreateJavaDownloadReportDetails.
sort_order Gets the sort_order of this CreateJavaDownloadReportDetails.
time_end Gets the time_end of this CreateJavaDownloadReportDetails.
time_start Gets the time_start of this CreateJavaDownloadReportDetails.

Methods

__init__(**kwargs) Initializes a new CreateJavaDownloadReportDetails object with values from keyword arguments.
FORMAT_CSV = 'CSV'

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

SORT_BY_DOWNLOAD_SOURCE_ID = 'downloadSourceId'

A constant which can be used with the sort_by property of a CreateJavaDownloadReportDetails. 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 CreateJavaDownloadReportDetails. 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 CreateJavaDownloadReportDetails. This constant has a value of “timeDownloaded”

SORT_ORDER_ASC = 'ASC'

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

SORT_ORDER_DESC = 'DESC'

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

__init__(**kwargs)

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

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateJavaDownloadReportDetails.
  • time_start (datetime) – The value to assign to the time_start property of this CreateJavaDownloadReportDetails.
  • time_end (datetime) – The value to assign to the time_end property of this CreateJavaDownloadReportDetails.
  • sort_by (str) – The value to assign to the sort_by property of this CreateJavaDownloadReportDetails. Allowed values for this property are: “timeDownloaded”, “downloadSourceId”, “downloadType”
  • sort_order (str) – The value to assign to the sort_order property of this CreateJavaDownloadReportDetails. Allowed values for this property are: “ASC”, “DESC”
  • format (str) – The value to assign to the format property of this CreateJavaDownloadReportDetails. Allowed values for this property are: “CSV”
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateJavaDownloadReportDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateJavaDownloadReportDetails.
compartment_id

[Required] Gets the compartment_id of this CreateJavaDownloadReportDetails. The compartment OCID here should be the tenancy OCID.

Returns:The compartment_id of this CreateJavaDownloadReportDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateJavaDownloadReportDetails. 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 CreateJavaDownloadReportDetails.
Return type:dict(str, dict(str, object))
format

[Required] Gets the format of this CreateJavaDownloadReportDetails. The format of the report that is generated.

Allowed values for this property are: “CSV”

Returns:The format of this CreateJavaDownloadReportDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateJavaDownloadReportDetails. 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 CreateJavaDownloadReportDetails.
Return type:dict(str, str)
sort_by

Gets the sort_by of this CreateJavaDownloadReportDetails. The property to be used for sorting the records.

Allowed values for this property are: “timeDownloaded”, “downloadSourceId”, “downloadType”

Returns:The sort_by of this CreateJavaDownloadReportDetails.
Return type:str
sort_order

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

Allowed values for this property are: “ASC”, “DESC”

Returns:The sort_order of this CreateJavaDownloadReportDetails.
Return type:str
time_end

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

Returns:The time_end of this CreateJavaDownloadReportDetails.
Return type:datetime
time_start

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

Returns:The time_start of this CreateJavaDownloadReportDetails.
Return type:datetime