a f>@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZddZeddZ e j d dZ ed d Z e j d d Z ed dZ e j ddZ eddZ e j ddZ eddZej ddZeddZej ddZeddZej ddZeddZej ddZedd Zej d!d Zed"d#Zej d$d#Zed%d&Zej d'd&Zed(d)Zej d*d)Zed+d,Zej d-d,Zed.d/Zej d0d/Zd1d2Zd3d4Zd5d6Zd7S)8 RecalledDataz5 This is the information about recalled data RECALLEDPENDINGFAILEDcKsddddddddddddddd|_ddddd d d d d dddddd|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_dS)a Initializes a new RecalledData object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param time_data_ended: The value to assign to the time_data_ended property of this RecalledData. :type time_data_ended: datetime :param time_data_started: The value to assign to the time_data_started property of this RecalledData. :type time_data_started: datetime :param time_started: The value to assign to the time_started property of this RecalledData. :type time_started: datetime :param status: The value to assign to the status property of this RecalledData. Allowed values for this property are: "RECALLED", "PENDING", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param recall_count: The value to assign to the recall_count property of this RecalledData. :type recall_count: int :param storage_usage_in_bytes: The value to assign to the storage_usage_in_bytes property of this RecalledData. :type storage_usage_in_bytes: int :param not_recalled_data_in_bytes: The value to assign to the not_recalled_data_in_bytes property of this RecalledData. :type not_recalled_data_in_bytes: int :param purpose: The value to assign to the purpose property of this RecalledData. :type purpose: str :param query_string: The value to assign to the query_string property of this RecalledData. :type query_string: str :param log_sets: The value to assign to the log_sets property of this RecalledData. :type log_sets: str :param created_by: The value to assign to the created_by property of this RecalledData. :type created_by: str :param collection_id: The value to assign to the collection_id property of this RecalledData. :type collection_id: int :param time_recalled_data_started: The value to assign to the time_recalled_data_started property of this RecalledData. :type time_recalled_data_started: datetime :param time_recalled_data_ended: The value to assign to the time_recalled_data_ended property of this RecalledData. :type time_recalled_data_ended: datetime Zdatetimestrint)time_data_endedtime_data_started time_startedstatus recall_countstorage_usage_in_bytesnot_recalled_data_in_bytespurpose query_stringlog_sets created_by collection_idtime_recalled_data_startedtime_recalled_data_endedZ timeDataEndedZtimeDataStartedZ timeStartedrZ recallCountZstorageUsageInBytesZnotRecalledDataInBytesrZ queryStringZlogSetsZ createdByZ collectionIdZtimeRecalledDataStartedZtimeRecalledDataEndedN)Z swagger_typesZ attribute_map_time_data_ended_time_data_started _time_started_status _recall_count_storage_usage_in_bytes_not_recalled_data_in_bytes_purpose _query_string _log_sets _created_by_collection_id_time_recalled_data_started_time_recalled_data_ended)selfkwargsr*J/usr/lib/python3.9/site-packages/oci/log_analytics/models/recalled_data.py__init__sXAzRecalledData.__init__cCs|jS)z **[Required]** Gets the time_data_ended of this RecalledData. This is the end of the time range of the related data :return: The time_data_ended of this RecalledData. :rtype: datetime rr(r*r*r+r s zRecalledData.time_data_endedcCs ||_dS)z Sets the time_data_ended of this RecalledData. This is the end of the time range of the related data :param time_data_ended: The time_data_ended of this RecalledData. :type: datetime Nr-)r(r r*r*r+r s cCs|jS)z **[Required]** Gets the time_data_started of this RecalledData. This is the start of the time range of the related data :return: The time_data_started of this RecalledData. :rtype: datetime rr.r*r*r+r s zRecalledData.time_data_startedcCs ||_dS)z Sets the time_data_started of this RecalledData. This is the start of the time range of the related data :param time_data_started: The time_data_started of this RecalledData. :type: datetime Nr/)r(r r*r*r+r s cCs|jS)z **[Required]** Gets the time_started of this RecalledData. This is the time when the first recall operation was started for this RecalledData :return: The time_started of this RecalledData. :rtype: datetime rr.r*r*r+rs zRecalledData.time_startedcCs ||_dS)z Sets the time_started of this RecalledData. This is the time when the first recall operation was started for this RecalledData :param time_started: The time_started of this RecalledData. :type: datetime Nr0)r(rr*r*r+rs cCs|jS)a{ **[Required]** Gets the status of this RecalledData. This is the status of the recall Allowed values for this property are: "RECALLED", "PENDING", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this RecalledData. :rtype: str )rr.r*r*r+rs zRecalledData.statuscCs gd}t||sd}||_dS)z Sets the status of this RecalledData. This is the status of the recall :param status: The status of this RecalledData. :type: str )rrr ZUNKNOWN_ENUM_VALUEN)rr)r(rZallowed_valuesr*r*r+rs  cCs|jS)a| **[Required]** Gets the recall_count of this RecalledData. This is the number of recall operations for this recall. Note one RecalledData can be merged from the results of several recall operations if the time duration of the results of the recall operations overlap. :return: The recall_count of this RecalledData. :rtype: int rr.r*r*r+rs zRecalledData.recall_countcCs ||_dS)ax Sets the recall_count of this RecalledData. This is the number of recall operations for this recall. Note one RecalledData can be merged from the results of several recall operations if the time duration of the results of the recall operations overlap. :param recall_count: The recall_count of this RecalledData. :type: int Nr1)r(rr*r*r+rs cCs|jS)z **[Required]** Gets the storage_usage_in_bytes of this RecalledData. This is the size in bytes :return: The storage_usage_in_bytes of this RecalledData. :rtype: int rr.r*r*r+rs z#RecalledData.storage_usage_in_bytescCs ||_dS)z Sets the storage_usage_in_bytes of this RecalledData. This is the size in bytes :param storage_usage_in_bytes: The storage_usage_in_bytes of this RecalledData. :type: int Nr2)r(rr*r*r+rs cCs|jS)a **[Required]** Gets the not_recalled_data_in_bytes of this RecalledData. This is the size of the archival data not recalled yet within the specified time range :return: The not_recalled_data_in_bytes of this RecalledData. :rtype: int r r.r*r*r+r's z'RecalledData.not_recalled_data_in_bytescCs ||_dS)a Sets the not_recalled_data_in_bytes of this RecalledData. This is the size of the archival data not recalled yet within the specified time range :param not_recalled_data_in_bytes: The not_recalled_data_in_bytes of this RecalledData. :type: int Nr3)r(rr*r*r+r3s cCs|jS)z **[Required]** Gets the purpose of this RecalledData. This is the purpose of the recall :return: The purpose of this RecalledData. :rtype: str r!r.r*r*r+r?s zRecalledData.purposecCs ||_dS)z Sets the purpose of this RecalledData. This is the purpose of the recall :param purpose: The purpose of this RecalledData. :type: str Nr4)r(rr*r*r+rKs cCs|jS)z **[Required]** Gets the query_string of this RecalledData. This is the query associated with the recall :return: The query_string of this RecalledData. :rtype: str r"r.r*r*r+rWs zRecalledData.query_stringcCs ||_dS)z Sets the query_string of this RecalledData. This is the query associated with the recall :param query_string: The query_string of this RecalledData. :type: str Nr5)r(rr*r*r+rcs cCs|jS)z **[Required]** Gets the log_sets of this RecalledData. This is the list of logsets associated with the recall :return: The log_sets of this RecalledData. :rtype: str r#r.r*r*r+ros zRecalledData.log_setscCs ||_dS)z Sets the log_sets of this RecalledData. This is the list of logsets associated with the recall :param log_sets: The log_sets of this RecalledData. :type: str Nr6)r(rr*r*r+r{s cCs|jS)z **[Required]** Gets the created_by of this RecalledData. This is the user who initiated the recall request :return: The created_by of this RecalledData. :rtype: str r$r.r*r*r+rs zRecalledData.created_bycCs ||_dS)z Sets the created_by of this RecalledData. This is the user who initiated the recall request :param created_by: The created_by of this RecalledData. :type: str Nr7)r(rr*r*r+rs cCs|jS)z **[Required]** Gets the collection_id of this RecalledData. This is the id for the recalled data collection :return: The collection_id of this RecalledData. :rtype: int r%r.r*r*r+rs zRecalledData.collection_idcCs ||_dS)z Sets the collection_id of this RecalledData. This is the id for the recalled data collection :param collection_id: The collection_id of this RecalledData. :type: int Nr8)r(rr*r*r+rs cCs|jS)z **[Required]** Gets the time_recalled_data_started of this RecalledData. This is the recalled date start time :return: The time_recalled_data_started of this RecalledData. :rtype: datetime r&r.r*r*r+rs z'RecalledData.time_recalled_data_startedcCs ||_dS)z Sets the time_recalled_data_started of this RecalledData. This is the recalled date start time :param time_recalled_data_started: The time_recalled_data_started of this RecalledData. :type: datetime Nr9)r(rr*r*r+rs cCs|jS)z **[Required]** Gets the time_recalled_data_ended of this RecalledData. This is the recalled data end time :return: The time_recalled_data_ended of this RecalledData. :rtype: datetime r'r.r*r*r+rs z%RecalledData.time_recalled_data_endedcCs ||_dS)z Sets the time_recalled_data_ended of this RecalledData. This is the recalled data end time :param time_recalled_data_ended: The time_recalled_data_ended of this RecalledData. :type: datetime Nr:)r(rr*r*r+rs cCst|SN)rr.r*r*r+__repr__szRecalledData.__repr__cCs|dur dS|j|jkS)NF)__dict__r(otherr*r*r+__eq__szRecalledData.__eq__cCs ||k Sr;r*r>r*r*r+__ne__szRecalledData.__ne__N)__name__ __module__ __qualname____doc__ZSTATUS_RECALLEDZSTATUS_PENDINGZ STATUS_FAILEDr,propertyr setterr rrrrrrrrrrrrr<r@rAr*r*r*r+r sq                            rN)Zoci.utilrrrZoci.decoratorsrobjectrr*r*r*r+s