ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DataObjectQuery� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�DataObjectStandardQueryz� Information required to execute query on data objects. Query is given in standard SQL syntax providing flexibility to form complex queries such as queries with joins and nested queries. c K sL dddddd�| _ dddd d d�| _d| _d| _d| _d| _d| _d| _dS ) af Initializes a new DataObjectStandardQuery object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.DataObjectStandardQuery.query_type` attribute of this class is ``STANDARD_QUERY`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param query_type: The value to assign to the query_type property of this DataObjectStandardQuery. Allowed values for this property are: "TEMPLATIZED_QUERY", "STANDARD_QUERY" :type query_type: str :param bind_params: The value to assign to the bind_params property of this DataObjectStandardQuery. :type bind_params: list[oci.opsi.models.DataObjectBindParameter] :param query_execution_timeout_in_seconds: The value to assign to the query_execution_timeout_in_seconds property of this DataObjectStandardQuery. :type query_execution_timeout_in_seconds: float :param statement: The value to assign to the statement property of this DataObjectStandardQuery. :type statement: str :param time_filters: The value to assign to the time_filters property of this DataObjectStandardQuery. :type time_filters: oci.opsi.models.DataObjectQueryTimeFilters �strzlist[DataObjectBindParameter]�floatZDataObjectQueryTimeFilters)Z query_typeZbind_paramsZ"query_execution_timeout_in_seconds� statement�time_filtersZ queryTypeZ bindParamsZqueryExecutionTimeoutInSecondsr ZtimeFiltersNZSTANDARD_QUERY)Z swagger_typesZ attribute_mapZ_query_typeZ_bind_paramsZ#_query_execution_timeout_in_seconds� _statement� _time_filters)�self�kwargs� r �N/usr/lib/python3.9/site-packages/oci/opsi/models/data_object_standard_query.py�__init__ s$ � �z DataObjectStandardQuery.__init__c C s | j S )a Gets the statement of this DataObjectStandardQuery. SQL query statement with standard Oracle supported SQL syntax. - When Warehouse (e.g: Awr hub) data objects are queried, use the actual names of underlying data objects (e.g: tables, views) in the query. The same query that works through JDBC connection with the OperationsInsightsWarehouseUsers credentials will work here and vice-versa. SCHEMA.VIEW syntax can also be used here. - When OPSI data objects are queried, use name of the respective OPSI data object, just like how views are used in a query. Identifier of the OPSI data object cannot be used in the query. :return: The statement of this DataObjectStandardQuery. :rtype: str �r �r r r r r F s z!DataObjectStandardQuery.statementc C s || _ dS )a Sets the statement of this DataObjectStandardQuery. SQL query statement with standard Oracle supported SQL syntax. - When Warehouse (e.g: Awr hub) data objects are queried, use the actual names of underlying data objects (e.g: tables, views) in the query. The same query that works through JDBC connection with the OperationsInsightsWarehouseUsers credentials will work here and vice-versa. SCHEMA.VIEW syntax can also be used here. - When OPSI data objects are queried, use name of the respective OPSI data object, just like how views are used in a query. Identifier of the OPSI data object cannot be used in the query. :param statement: The statement of this DataObjectStandardQuery. :type: str Nr )r r r r r r W s c C s | j S )z� Gets the time_filters of this DataObjectStandardQuery. :return: The time_filters of this DataObjectStandardQuery. :rtype: oci.opsi.models.DataObjectQueryTimeFilters �r r r r r r h s z$DataObjectStandardQuery.time_filtersc C s || _ dS )z� Sets the time_filters of this DataObjectStandardQuery. :param time_filters: The time_filters of this DataObjectStandardQuery. :type: oci.opsi.models.DataObjectQueryTimeFilters Nr )r r r r r r r s c C s t | �S �N)r r r r r �__repr__| s z DataObjectStandardQuery.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zDataObjectStandardQuery.__eq__c C s | |k S r r r r r r �__ne__� s zDataObjectStandardQuery.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s 3 r N) Zdata_object_queryr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn