ruạṛ
a O��f�J � @ 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 ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Z e jd+d*� �Z ed,d-� �Z!e!jd.d-� �Z!ed/d0� �Z"e"jd1d0� �Z"ed2d3� �Z#e#jd4d3� �Z#ed5d6� �Z$e$jd7d6� �Z$ed8d9� �Z%e%jd:d9� �Z%d;d<� Z&d=d>� Z'd?d@� Z(dAS )B�ReportQueryz< The request of the generated Cost Analysis report. �HOURLY�DAILY�MONTHLY�TOTAL�USAGE�COST�CREDIT� EXPIREDCREDIT� ALLCREDIT�LAST_SEVEN_DAYS� LAST_TEN_DAYS�MTD�LAST_TWO_MONTHS�LAST_THREE_MONTHS�ALL�LAST_SIX_MONTHS� LAST_ONE_YEAR�YTD�CUSTOMc K s� ddddddddddddd �| _ d ddd ddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a� Initializes a new ReportQuery object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param tenant_id: The value to assign to the tenant_id property of this ReportQuery. :type tenant_id: str :param time_usage_started: The value to assign to the time_usage_started property of this ReportQuery. :type time_usage_started: datetime :param time_usage_ended: The value to assign to the time_usage_ended property of this ReportQuery. :type time_usage_ended: datetime :param granularity: The value to assign to the granularity property of this ReportQuery. Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "TOTAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type granularity: str :param is_aggregate_by_time: The value to assign to the is_aggregate_by_time property of this ReportQuery. :type is_aggregate_by_time: bool :param forecast: The value to assign to the forecast property of this ReportQuery. :type forecast: oci.usage_api.models.Forecast :param query_type: The value to assign to the query_type property of this ReportQuery. Allowed values for this property are: "USAGE", "COST", "CREDIT", "EXPIREDCREDIT", "ALLCREDIT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type query_type: str :param group_by: The value to assign to the group_by property of this ReportQuery. :type group_by: list[str] :param group_by_tag: The value to assign to the group_by_tag property of this ReportQuery. :type group_by_tag: list[oci.usage_api.models.Tag] :param compartment_depth: The value to assign to the compartment_depth property of this ReportQuery. :type compartment_depth: float :param filter: The value to assign to the filter property of this ReportQuery. :type filter: oci.usage_api.models.Filter :param date_range_name: The value to assign to the date_range_name property of this ReportQuery. Allowed values for this property are: "LAST_SEVEN_DAYS", "LAST_TEN_DAYS", "MTD", "LAST_TWO_MONTHS", "LAST_THREE_MONTHS", "ALL", "LAST_SIX_MONTHS", "LAST_ONE_YEAR", "YTD", "CUSTOM", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type date_range_name: str �str�datetime�bool�Forecastz list[str]z list[Tag]�float�Filter)� tenant_id�time_usage_started�time_usage_ended�granularity�is_aggregate_by_time�forecast� query_type�group_by�group_by_tag�compartment_depth�filter�date_range_name�tenantId�timeUsageStarted�timeUsageEndedr# �isAggregateByTimer% � queryType�groupBy� groupByTag�compartmentDepthr* � dateRangeNameN)� swagger_types� attribute_map� _tenant_id�_time_usage_started�_time_usage_ended�_granularity�_is_aggregate_by_time� _forecast�_query_type� _group_by� _group_by_tag�_compartment_depth�_filter�_date_range_name)�self�kwargs� rE ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/usage_api/models/report_query.py�__init__\ sL =��zReportQuery.__init__c C s | j S )z� **[Required]** Gets the tenant_id of this ReportQuery. Tenant ID. :return: The tenant_id of this ReportQuery. :rtype: str �r7 �rC rE rE rF r � s zReportQuery.tenant_idc C s || _ dS )z� Sets the tenant_id of this ReportQuery. Tenant ID. :param tenant_id: The tenant_id of this ReportQuery. :type: str NrH )rC r rE rE rF r � s c C s | j S )z� Gets the time_usage_started of this ReportQuery. The usage start time. :return: The time_usage_started of this ReportQuery. :rtype: datetime �r8 rI rE rE rF r! � s zReportQuery.time_usage_startedc C s || _ dS )z� Sets the time_usage_started of this ReportQuery. The usage start time. :param time_usage_started: The time_usage_started of this ReportQuery. :type: datetime NrJ )rC r! rE rE rF r! � s c C s | j S )z� Gets the time_usage_ended of this ReportQuery. The usage end time. :return: The time_usage_ended of this ReportQuery. :rtype: datetime �r9 rI rE rE rF r"