ruạṛ
a O��f. � @ 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 ZdZdZdZdZdZdZdd� Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Zd!d"� Zd#d$� Zd%d&� Zd'S )(�QueryPropertiesz The query properties. �DAILY�MONTHLY�USAGE�COST�USAGE_AND_COSTc K sd ddddddddd�| _ d d ddd dddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS )aG Initializes a new QueryProperties object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param group_by: The value to assign to the group_by property of this QueryProperties. :type group_by: list[str] :param group_by_tag: The value to assign to the group_by_tag property of this QueryProperties. :type group_by_tag: list[oci.usage_api.models.Tag] :param filter: The value to assign to the filter property of this QueryProperties. :type filter: oci.usage_api.models.Filter :param compartment_depth: The value to assign to the compartment_depth property of this QueryProperties. :type compartment_depth: float :param granularity: The value to assign to the granularity property of this QueryProperties. Allowed values for this property are: "DAILY", "MONTHLY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type granularity: str :param query_type: The value to assign to the query_type property of this QueryProperties. Allowed values for this property are: "USAGE", "COST", "USAGE_AND_COST", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type query_type: str :param is_aggregate_by_time: The value to assign to the is_aggregate_by_time property of this QueryProperties. :type is_aggregate_by_time: bool :param date_range: The value to assign to the date_range property of this QueryProperties. :type date_range: oci.usage_api.models.DateRange z list[str]z list[Tag]�Filter�float�str�bool� DateRange)�group_by�group_by_tag�filter�compartment_depth�granularity� query_type�is_aggregate_by_time� date_range�groupBy� groupByTagr �compartmentDepthr � queryType�isAggregateByTime� dateRangeN) � swagger_types� attribute_map� _group_by� _group_by_tag�_filter�_compartment_depth�_granularity�_query_type�_is_aggregate_by_time�_date_range)�self�kwargs� r+ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/usage_api/models/query_properties.py�__init__$ s4 +��zQueryProperties.__init__c C s | j S )a� Gets the group_by of this QueryProperties. Aggregate the result by. For example: [ "tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName" ] :return: The group_by of this QueryProperties. :rtype: list[str] �r! �r) r+ r+ r, r m s zQueryProperties.group_byc C s || _ dS )a� Sets the group_by of this QueryProperties. Aggregate the result by. For example: [ "tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName" ] :param group_by: The group_by of this QueryProperties. :type: list[str] Nr. )r) r r+ r+ r, r y s c C s | j S )af Gets the group_by_tag of this QueryProperties. GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { "namespace": "oracle", "key": "createdBy" ] :return: The group_by_tag of this QueryProperties. :rtype: list[oci.usage_api.models.Tag] �r"