| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/oci/usage_api/models/__pycache__/ |
Upload File : |
a
���fQ � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed
d� �Z e jdd� �Z d
d� Z
dd� Zdd� ZdS )�Queryz,
The query to filter and aggregate.
c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )at
Initializes a new Query 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 Query.
:type id: str
:param compartment_id:
The value to assign to the compartment_id property of this Query.
:type compartment_id: str
:param query_definition:
The value to assign to the query_definition property of this Query.
:type query_definition: oci.usage_api.models.QueryDefinition
�strZQueryDefinition)�id�compartment_id�query_definitionr Z
compartmentIdZqueryDefinitionN)Z
swagger_typesZ
attribute_map�_id�_compartment_id�_query_definition)�self�kwargs� r �>/usr/lib/python3.9/site-packages/oci/usage_api/models/query.py�__init__ s ��zQuery.__init__c C s | j S )z�
**[Required]** Gets the id of this Query.
The query OCID.
:return: The id of this Query.
:rtype: str
�r �r r r r r 4 s
zQuery.idc C s
|| _ dS )z�
Sets the id of this Query.
The query OCID.
:param id: The id of this Query.
:type: str
Nr )r r r r r r @ s
c C s | j S )z�
**[Required]** Gets the compartment_id of this Query.
The compartment OCID.
:return: The compartment_id of this Query.
:rtype: str
�r r r r r r L s
zQuery.compartment_idc C s
|| _ dS )z�
Sets the compartment_id of this Query.
The compartment OCID.
:param compartment_id: The compartment_id of this Query.
:type: str
Nr )r r r r r r X s
c C s | j S )z�
**[Required]** Gets the query_definition of this Query.
:return: The query_definition of this Query.
:rtype: oci.usage_api.models.QueryDefinition
�r
r r r r r
d s zQuery.query_definitionc C s
|| _ dS )z�
Sets the query_definition of this Query.
:param query_definition: The query_definition of this Query.
:type: oci.usage_api.models.QueryDefinition
Nr )r r
r r r r
n s c C s t | �S �N)r r r r r �__repr__x s zQuery.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__{ s zQuery.__eq__c C s
| |k S r r r r r r �__ne__� s zQuery.__ne__N)
�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r
r r r r r r r r s"