File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/log_analytics/models/overlapping_recall_summary.py
Back
# coding: utf-8 # Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200601 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class OverlappingRecallSummary(object): """ This is the information about overlapping recall requests """ #: A constant which can be used with the status property of a OverlappingRecallSummary. #: This constant has a value of "RECALLED" STATUS_RECALLED = "RECALLED" #: A constant which can be used with the status property of a OverlappingRecallSummary. #: This constant has a value of "PENDING" STATUS_PENDING = "PENDING" #: A constant which can be used with the status property of a OverlappingRecallSummary. #: This constant has a value of "FAILED" STATUS_FAILED = "FAILED" #: A constant which can be used with the status property of a OverlappingRecallSummary. #: This constant has a value of "PARTIAL_RECALLED" STATUS_PARTIAL_RECALLED = "PARTIAL_RECALLED" def __init__(self, **kwargs): """ Initializes a new OverlappingRecallSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param time_data_started: The value to assign to the time_data_started property of this OverlappingRecallSummary. :type time_data_started: datetime :param time_data_ended: The value to assign to the time_data_ended property of this OverlappingRecallSummary. :type time_data_ended: datetime :param time_started: The value to assign to the time_started property of this OverlappingRecallSummary. :type time_started: datetime :param status: The value to assign to the status property of this OverlappingRecallSummary. Allowed values for this property are: "RECALLED", "PENDING", "FAILED", "PARTIAL_RECALLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param purpose: The value to assign to the purpose property of this OverlappingRecallSummary. :type purpose: str :param query_string: The value to assign to the query_string property of this OverlappingRecallSummary. :type query_string: str :param log_sets: The value to assign to the log_sets property of this OverlappingRecallSummary. :type log_sets: str :param created_by: The value to assign to the created_by property of this OverlappingRecallSummary. :type created_by: str :param collection_id: The value to assign to the collection_id property of this OverlappingRecallSummary. :type collection_id: int :param recall_id: The value to assign to the recall_id property of this OverlappingRecallSummary. :type recall_id: int """ self.swagger_types = { 'time_data_started': 'datetime', 'time_data_ended': 'datetime', 'time_started': 'datetime', 'status': 'str', 'purpose': 'str', 'query_string': 'str', 'log_sets': 'str', 'created_by': 'str', 'collection_id': 'int', 'recall_id': 'int' } self.attribute_map = { 'time_data_started': 'timeDataStarted', 'time_data_ended': 'timeDataEnded', 'time_started': 'timeStarted', 'status': 'status', 'purpose': 'purpose', 'query_string': 'queryString', 'log_sets': 'logSets', 'created_by': 'createdBy', 'collection_id': 'collectionId', 'recall_id': 'recallId' } self._time_data_started = None self._time_data_ended = None self._time_started = None self._status = None self._purpose = None self._query_string = None self._log_sets = None self._created_by = None self._collection_id = None self._recall_id = None @property def time_data_started(self): """ **[Required]** Gets the time_data_started of this OverlappingRecallSummary. This is the start of the time range of the archival data :return: The time_data_started of this OverlappingRecallSummary. :rtype: datetime """ return self._time_data_started @time_data_started.setter def time_data_started(self, time_data_started): """ Sets the time_data_started of this OverlappingRecallSummary. This is the start of the time range of the archival data :param time_data_started: The time_data_started of this OverlappingRecallSummary. :type: datetime """ self._time_data_started = time_data_started @property def time_data_ended(self): """ **[Required]** Gets the time_data_ended of this OverlappingRecallSummary. This is the end of the time range of the archival data :return: The time_data_ended of this OverlappingRecallSummary. :rtype: datetime """ return self._time_data_ended @time_data_ended.setter def time_data_ended(self, time_data_ended): """ Sets the time_data_ended of this OverlappingRecallSummary. This is the end of the time range of the archival data :param time_data_ended: The time_data_ended of this OverlappingRecallSummary. :type: datetime """ self._time_data_ended = time_data_ended @property def time_started(self): """ **[Required]** Gets the time_started of this OverlappingRecallSummary. This is the time when the recall operation was started for this recall request :return: The time_started of this OverlappingRecallSummary. :rtype: datetime """ return self._time_started @time_started.setter def time_started(self, time_started): """ Sets the time_started of this OverlappingRecallSummary. This is the time when the recall operation was started for this recall request :param time_started: The time_started of this OverlappingRecallSummary. :type: datetime """ self._time_started = time_started @property def status(self): """ **[Required]** Gets the status of this OverlappingRecallSummary. This is the status of the recall Allowed values for this property are: "RECALLED", "PENDING", "FAILED", "PARTIAL_RECALLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this OverlappingRecallSummary. :rtype: str """ return self._status @status.setter def status(self, status): """ Sets the status of this OverlappingRecallSummary. This is the status of the recall :param status: The status of this OverlappingRecallSummary. :type: str """ allowed_values = ["RECALLED", "PENDING", "FAILED", "PARTIAL_RECALLED"] if not value_allowed_none_or_none_sentinel(status, allowed_values): status = 'UNKNOWN_ENUM_VALUE' self._status = status @property def purpose(self): """ **[Required]** Gets the purpose of this OverlappingRecallSummary. This is the purpose of the recall :return: The purpose of this OverlappingRecallSummary. :rtype: str """ return self._purpose @purpose.setter def purpose(self, purpose): """ Sets the purpose of this OverlappingRecallSummary. This is the purpose of the recall :param purpose: The purpose of this OverlappingRecallSummary. :type: str """ self._purpose = purpose @property def query_string(self): """ **[Required]** Gets the query_string of this OverlappingRecallSummary. This is the query associated with the recall :return: The query_string of this OverlappingRecallSummary. :rtype: str """ return self._query_string @query_string.setter def query_string(self, query_string): """ Sets the query_string of this OverlappingRecallSummary. This is the query associated with the recall :param query_string: The query_string of this OverlappingRecallSummary. :type: str """ self._query_string = query_string @property def log_sets(self): """ **[Required]** Gets the log_sets of this OverlappingRecallSummary. This is the list of logsets associated with this recall :return: The log_sets of this OverlappingRecallSummary. :rtype: str """ return self._log_sets @log_sets.setter def log_sets(self, log_sets): """ Sets the log_sets of this OverlappingRecallSummary. This is the list of logsets associated with this recall :param log_sets: The log_sets of this OverlappingRecallSummary. :type: str """ self._log_sets = log_sets @property def created_by(self): """ **[Required]** Gets the created_by of this OverlappingRecallSummary. This is the user who initiated the recall request :return: The created_by of this OverlappingRecallSummary. :rtype: str """ return self._created_by @created_by.setter def created_by(self, created_by): """ Sets the created_by of this OverlappingRecallSummary. This is the user who initiated the recall request :param created_by: The created_by of this OverlappingRecallSummary. :type: str """ self._created_by = created_by @property def collection_id(self): """ **[Required]** Gets the collection_id of this OverlappingRecallSummary. This is the id of the associated recalled data collection :return: The collection_id of this OverlappingRecallSummary. :rtype: int """ return self._collection_id @collection_id.setter def collection_id(self, collection_id): """ Sets the collection_id of this OverlappingRecallSummary. This is the id of the associated recalled data collection :param collection_id: The collection_id of this OverlappingRecallSummary. :type: int """ self._collection_id = collection_id @property def recall_id(self): """ **[Required]** Gets the recall_id of this OverlappingRecallSummary. This is the id for the recall request :return: The recall_id of this OverlappingRecallSummary. :rtype: int """ return self._recall_id @recall_id.setter def recall_id(self, recall_id): """ Sets the recall_id of this OverlappingRecallSummary. This is the id for the recall request :param recall_id: The recall_id of this OverlappingRecallSummary. :type: int """ self._recall_id = recall_id def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings