ruạṛ
a N��f+M � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dd � Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zd8d9� Zd:d;� Z d<d=� Z!d>S )?�DataSourceSummaryz Summary of Data Source �LOGGINGQUERY�ENABLED�DISABLED�CREATING�UPDATING�ACTIVE�INACTIVE�DELETING�DELETED�FAILEDc K s� ddddddddddddddd�| _ dd d ddd ddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )al Initializes a new DataSourceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this DataSourceSummary. :type id: str :param display_name: The value to assign to the display_name property of this DataSourceSummary. :type display_name: str :param data_source_feed_provider: The value to assign to the data_source_feed_provider property of this DataSourceSummary. Allowed values for this property are: "LOGGINGQUERY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type data_source_feed_provider: str :param compartment_id: The value to assign to the compartment_id property of this DataSourceSummary. :type compartment_id: str :param data_source_summary_details: The value to assign to the data_source_summary_details property of this DataSourceSummary. :type data_source_summary_details: oci.cloud_guard.models.DataSourceSummaryDetails :param time_created: The value to assign to the time_created property of this DataSourceSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DataSourceSummary. :type time_updated: datetime :param status: The value to assign to the status property of this DataSourceSummary. Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param logging_query_details: The value to assign to the logging_query_details property of this DataSourceSummary. :type logging_query_details: oci.cloud_guard.models.LoggingQueryDetails :param lifecycle_state: The value to assign to the lifecycle_state property of this DataSourceSummary. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this DataSourceSummary. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this DataSourceSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DataSourceSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this DataSourceSummary. :type system_tags: dict(str, dict(str, object)) �str�DataSourceSummaryDetails�datetime�LoggingQueryDetailszdict(str, str)zdict(str, dict(str, object)))�id�display_name�data_source_feed_provider�compartment_id�data_source_summary_details�time_created�time_updated�status�logging_query_details�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr �displayName�dataSourceFeedProvider� compartmentId�dataSourceSummaryDetails�timeCreated�timeUpdatedr �loggingQueryDetails�lifecycleState�lifecycleDetails�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map�_id� _display_name�_data_source_feed_provider�_compartment_id�_data_source_summary_details� _time_created� _time_updated�_status�_logging_query_details�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rA ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/cloud_guard/models/data_source_summary.py�__init__8 sX E��zDataSourceSummary.__init__c C s | j S )z� **[Required]** Gets the id of this DataSourceSummary. Ocid for Data Source :return: The id of this DataSourceSummary. :rtype: str �r1 �r? rA rA rB r � s zDataSourceSummary.idc C s || _ dS )z� Sets the id of this DataSourceSummary. Ocid for Data Source :param id: The id of this DataSourceSummary. :type: str NrD )r? r rA rA rB r � s c C s | j S )z� **[Required]** Gets the display_name of this DataSourceSummary. DisplayName of Data Source :return: The display_name of this DataSourceSummary. :rtype: str �r2 rE rA rA rB r � s zDataSourceSummary.display_namec C s || _ dS )z� Sets the display_name of this DataSourceSummary. DisplayName of Data Source :param display_name: The display_name of this DataSourceSummary. :type: str NrF )r? r rA rA rB r � s c C s | j S )a� **[Required]** Gets the data_source_feed_provider of this DataSourceSummary. Possible type of dataSourceFeed Provider(LoggingQuery) Allowed values for this property are: "LOGGINGQUERY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The data_source_feed_provider of this DataSourceSummary. :rtype: str )r3 rE rA rA rB r � s z+DataSourceSummary.data_source_feed_providerc C s dg}t ||�sd}|| _dS )a Sets the data_source_feed_provider of this DataSourceSummary. Possible type of dataSourceFeed Provider(LoggingQuery) :param data_source_feed_provider: The data_source_feed_provider of this DataSourceSummary. :type: str r �UNKNOWN_ENUM_VALUEN)r r3 )r? r �allowed_valuesrA rA rB r � s c C s | j S )z� **[Required]** Gets the compartment_id of this DataSourceSummary. CompartmentId of Data Source. :return: The compartment_id of this DataSourceSummary. :rtype: str �r4 rE rA rA rB r � s z DataSourceSummary.compartment_idc C s || _ dS )z� Sets the compartment_id of this DataSourceSummary. CompartmentId of Data Source. :param compartment_id: The compartment_id of this DataSourceSummary. :type: str NrI )r? r rA rA rB r s c C s | j S )z� Gets the data_source_summary_details of this DataSourceSummary. :return: The data_source_summary_details of this DataSourceSummary. :rtype: oci.cloud_guard.models.DataSourceSummaryDetails �r5 rE rA rA rB r s z-DataSourceSummary.data_source_summary_detailsc C s || _ dS )z� Sets the data_source_summary_details of this DataSourceSummary. :param data_source_summary_details: The data_source_summary_details of this DataSourceSummary. :type: oci.cloud_guard.models.DataSourceSummaryDetails NrJ )r? r rA rA rB r s c C s | j S )z� Gets the time_created of this DataSourceSummary. The date and time the data source was created. Format defined by RFC3339. :return: The time_created of this DataSourceSummary. :rtype: datetime �r6 rE rA rA rB r ' s zDataSourceSummary.time_createdc C s || _ dS )z� Sets the time_created of this DataSourceSummary. The date and time the data source was created. Format defined by RFC3339. :param time_created: The time_created of this DataSourceSummary. :type: datetime NrK )r? r rA rA rB r 3 s c C s | j S )z� Gets the time_updated of this DataSourceSummary. The date and time the data source was updated. Format defined by RFC3339. :return: The time_updated of this DataSourceSummary. :rtype: datetime �r7 rE rA rA rB r ? s zDataSourceSummary.time_updatedc C s || _ dS )z� Sets the time_updated of this DataSourceSummary. The date and time the data source was updated. Format defined by RFC3339. :param time_updated: The time_updated of this DataSourceSummary. :type: datetime NrL )r? r rA rA rB r K s c C s | j S )aa Gets the status of this DataSourceSummary. Status of data Source Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this DataSourceSummary. :rtype: str )r8 rE rA rA rB r W s zDataSourceSummary.statusc C s ddg}t ||�sd}|| _dS )z� Sets the status of this DataSourceSummary. Status of data Source :param status: The status of this DataSourceSummary. :type: str r r rG N)r r8 )r? r rH rA rA rB r f s c C s | j S )z� Gets the logging_query_details of this DataSourceSummary. :return: The logging_query_details of this DataSourceSummary. :rtype: oci.cloud_guard.models.LoggingQueryDetails �r9 rE rA rA rB r u s z'DataSourceSummary.logging_query_detailsc C s || _ dS )z� Sets the logging_query_details of this DataSourceSummary. :param logging_query_details: The logging_query_details of this DataSourceSummary. :type: oci.cloud_guard.models.LoggingQueryDetails NrM )r? r rA rA rB r s c C s | j S )a� Gets the lifecycle_state of this DataSourceSummary. The current state of the resource. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this DataSourceSummary. :rtype: str )r: rE rA rA rB r � s z!DataSourceSummary.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this DataSourceSummary. The current state of the resource. :param lifecycle_state: The lifecycle_state of this DataSourceSummary. :type: str )r r r r r r r rG N)r r: )r? r rH rA rA rB r � s c C s | j S )a@ Gets the lifecycle_details of this DataSourceSummary. A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the `Failed` state. :return: The lifecycle_details of this DataSourceSummary. :rtype: str �r; rE rA rA rB r � s z#DataSourceSummary.lifecycle_detailsc C s || _ dS )aP Sets the lifecycle_details of this DataSourceSummary. A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the `Failed` state. :param lifecycle_details: The lifecycle_details of this DataSourceSummary. :type: str NrN )r? r rA rA rB r � s c C s | j S )a{ Gets the freeform_tags of this DataSourceSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` Avoid entering confidential information. :return: The freeform_tags of this DataSourceSummary. :rtype: dict(str, str) �r<