ruạṛ
a ���f` � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Action� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�StreamActionz+ Stream action for scheduled task. c K sB ddddd�| _ ddddd�| _d| _d| _d| _d| _d | _dS ) a- Initializes a new StreamAction object with values from keyword arguments. The default value of the :py:attr:`~oci.log_analytics.models.StreamAction.type` attribute of this class is ``STREAM`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this StreamAction. Allowed values for this property are: "STREAM", "PURGE" :type type: str :param saved_search_id: The value to assign to the saved_search_id property of this StreamAction. :type saved_search_id: str :param metric_extraction: The value to assign to the metric_extraction property of this StreamAction. :type metric_extraction: oci.log_analytics.models.MetricExtraction :param saved_search_duration: The value to assign to the saved_search_duration property of this StreamAction. :type saved_search_duration: str �strZMetricExtraction)�type�saved_search_id�metric_extraction�saved_search_durationr Z savedSearchIdZmetricExtractionZsavedSearchDurationNZSTREAM)Z swagger_typesZ attribute_mapZ_type�_saved_search_id�_metric_extraction�_saved_search_duration)�self�kwargs� r �J/usr/lib/python3.9/site-packages/oci/log_analytics/models/stream_action.py�__init__ s ��zStreamAction.__init__c C s | j S )z� Gets the saved_search_id of this StreamAction. The ManagementSavedSearch id [OCID] utilized in the action. :return: The saved_search_id of this StreamAction. :rtype: str �r �r r r r r >