ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�MetricExtensionQueryProperties� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zdd� Z dd� Zdd� ZdS )�SqlQueryPropertieszF Query Properties applicable to SQL type of collection method � STATEMENT� SQL_SCRIPTc K sL dddddd�| _ dddd d d�| _d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new SqlQueryProperties object with values from keyword arguments. The default value of the :py:attr:`~oci.stack_monitoring.models.SqlQueryProperties.collection_method` attribute of this class is ``SQL`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param collection_method: The value to assign to the collection_method property of this SqlQueryProperties. Allowed values for this property are: "OS_COMMAND", "SQL", "JMX", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type collection_method: str :param sql_type: The value to assign to the sql_type property of this SqlQueryProperties. Allowed values for this property are: "STATEMENT", "SQL_SCRIPT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type sql_type: str :param sql_details: The value to assign to the sql_details property of this SqlQueryProperties. :type sql_details: oci.stack_monitoring.models.SqlDetails :param in_param_details: The value to assign to the in_param_details property of this SqlQueryProperties. :type in_param_details: list[oci.stack_monitoring.models.SqlInParamDetails] :param out_param_details: The value to assign to the out_param_details property of this SqlQueryProperties. :type out_param_details: oci.stack_monitoring.models.SqlOutParamDetails �strZ SqlDetailszlist[SqlInParamDetails]ZSqlOutParamDetails)Zcollection_method�sql_type�sql_details�in_param_details�out_param_detailsZcollectionMethodZsqlTypeZ sqlDetailsZinParamDetailsZoutParamDetailsNZSQL)Z swagger_typesZ attribute_mapZ_collection_method� _sql_type�_sql_details�_in_param_details�_out_param_details)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/stack_monitoring/models/sql_query_properties.py�__init__ s$ � �zSqlQueryProperties.__init__c C s | j S )a� **[Required]** Gets the sql_type of this SqlQueryProperties. Type of SQL data collection method i.e. either a Statement or SQL Script File Allowed values for this property are: "STATEMENT", "SQL_SCRIPT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The sql_type of this SqlQueryProperties. :rtype: str )r �r r r r r P s zSqlQueryProperties.sql_typec C s ddg}t ||�sd}|| _dS )z� Sets the sql_type of this SqlQueryProperties. Type of SQL data collection method i.e. either a Statement or SQL Script File :param sql_type: The sql_type of this SqlQueryProperties. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r _ s c C s | j S )z� **[Required]** Gets the sql_details of this SqlQueryProperties. :return: The sql_details of this SqlQueryProperties. :rtype: oci.stack_monitoring.models.SqlDetails �r r r r r r n s zSqlQueryProperties.sql_detailsc C s || _ dS )z� Sets the sql_details of this SqlQueryProperties. :param sql_details: The sql_details of this SqlQueryProperties. :type: oci.stack_monitoring.models.SqlDetails Nr )r r r r r r x s c C s | j S )a Gets the in_param_details of this SqlQueryProperties. List of values and position of PL/SQL procedure IN parameters :return: The in_param_details of this SqlQueryProperties. :rtype: list[oci.stack_monitoring.models.SqlInParamDetails] �r r r r r r � s z#SqlQueryProperties.in_param_detailsc C s || _ dS )a$ Sets the in_param_details of this SqlQueryProperties. List of values and position of PL/SQL procedure IN parameters :param in_param_details: The in_param_details of this SqlQueryProperties. :type: list[oci.stack_monitoring.models.SqlInParamDetails] Nr )r r r r r r � s c C s | j S )z� Gets the out_param_details of this SqlQueryProperties. :return: The out_param_details of this SqlQueryProperties. :rtype: oci.stack_monitoring.models.SqlOutParamDetails �r r r r r r � s z$SqlQueryProperties.out_param_detailsc C s || _ dS )z� Sets the out_param_details of this SqlQueryProperties. :param out_param_details: The out_param_details of this SqlQueryProperties. :type: oci.stack_monitoring.models.SqlOutParamDetails Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zSqlQueryProperties.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zSqlQueryProperties.__eq__c C s | |k S r r r r r r �__ne__� s zSqlQueryProperties.__ne__N)�__name__� __module__�__qualname__�__doc__ZSQL_TYPE_STATEMENTZSQL_TYPE_SQL_SCRIPTr �propertyr �setterr r r r r"