📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
usage_api
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/usage_api/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: request_summarized_usages_details.cpython-39.opt-1.pyc
a ���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 @ sr e Zd ZdZdZdZdZdZdZdZ dZ d Zd Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zd.d/� Zd0d1� Zd2d3� Zd4S )5�RequestSummarizedUsagesDetailsz) Details for the '/usage' query. �HOURLY�DAILY�MONTHLY�TOTAL�USAGE�COST�CREDIT� EXPIREDCREDIT� ALLCREDITc K s� dddddddddddd �| _ d ddd dddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a Initializes a new RequestSummarizedUsagesDetails 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 RequestSummarizedUsagesDetails. :type tenant_id: str :param time_usage_started: The value to assign to the time_usage_started property of this RequestSummarizedUsagesDetails. :type time_usage_started: datetime :param time_usage_ended: The value to assign to the time_usage_ended property of this RequestSummarizedUsagesDetails. :type time_usage_ended: datetime :param granularity: The value to assign to the granularity property of this RequestSummarizedUsagesDetails. Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "TOTAL" :type granularity: str :param is_aggregate_by_time: The value to assign to the is_aggregate_by_time property of this RequestSummarizedUsagesDetails. :type is_aggregate_by_time: bool :param forecast: The value to assign to the forecast property of this RequestSummarizedUsagesDetails. :type forecast: oci.usage_api.models.Forecast :param query_type: The value to assign to the query_type property of this RequestSummarizedUsagesDetails. Allowed values for this property are: "USAGE", "COST", "CREDIT", "EXPIREDCREDIT", "ALLCREDIT" :type query_type: str :param group_by: The value to assign to the group_by property of this RequestSummarizedUsagesDetails. :type group_by: list[str] :param group_by_tag: The value to assign to the group_by_tag property of this RequestSummarizedUsagesDetails. :type group_by_tag: list[oci.usage_api.models.Tag] :param compartment_depth: The value to assign to the compartment_depth property of this RequestSummarizedUsagesDetails. :type compartment_depth: float :param filter: The value to assign to the filter property of this RequestSummarizedUsagesDetails. :type filter: oci.usage_api.models.Filter �strZdatetime�boolZForecastz list[str]z list[Tag]�floatZFilter)� tenant_id�time_usage_started�time_usage_ended�granularity�is_aggregate_by_time�forecast� query_type�group_by�group_by_tag�compartment_depth�filterZtenantIdZtimeUsageStartedZtimeUsageEndedr ZisAggregateByTimer Z queryTypeZgroupByZ groupByTagZcompartmentDepthr N) Z swagger_typesZ 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)�self�kwargs� r+ �Z/usr/lib/python3.9/site-packages/oci/usage_api/models/request_summarized_usages_details.py�__init__6 sF 5��z'RequestSummarizedUsagesDetails.__init__c C s | j S )z� **[Required]** Gets the tenant_id of this RequestSummarizedUsagesDetails. Tenant ID. :return: The tenant_id of this RequestSummarizedUsagesDetails. :rtype: str �r �r) r+ r+ r, r � s z(RequestSummarizedUsagesDetails.tenant_idc C s || _ dS )z� Sets the tenant_id of this RequestSummarizedUsagesDetails. Tenant ID. :param tenant_id: The tenant_id of this RequestSummarizedUsagesDetails. :type: str Nr. )r) r r+ r+ r, r � s c C s | j S )z� **[Required]** Gets the time_usage_started of this RequestSummarizedUsagesDetails. The usage start time. :return: The time_usage_started of this RequestSummarizedUsagesDetails. :rtype: datetime �r r/ r+ r+ r, r � s z1RequestSummarizedUsagesDetails.time_usage_startedc C s || _ dS )z� Sets the time_usage_started of this RequestSummarizedUsagesDetails. The usage start time. :param time_usage_started: The time_usage_started of this RequestSummarizedUsagesDetails. :type: datetime Nr0 )r) r r+ r+ r, r � s c C s | j S )z� **[Required]** Gets the time_usage_ended of this RequestSummarizedUsagesDetails. The usage end time. :return: The time_usage_ended of this RequestSummarizedUsagesDetails. :rtype: datetime �r r/ r+ r+ r, r � s z/RequestSummarizedUsagesDetails.time_usage_endedc C s || _ dS )z� Sets the time_usage_ended of this RequestSummarizedUsagesDetails. The usage end time. :param time_usage_ended: The time_usage_ended of this RequestSummarizedUsagesDetails. :type: datetime Nr1 )r) r r+ r+ r, r � s c C s | j S )a� **[Required]** Gets the granularity of this RequestSummarizedUsagesDetails. The usage granularity. HOURLY - Hourly data aggregation. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. TOTAL - Not yet supported. Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "TOTAL" :return: The granularity of this RequestSummarizedUsagesDetails. :rtype: str )r! r/ r+ r+ r, r � s z*RequestSummarizedUsagesDetails.granularityc C s* g d�}t ||�s td|� ���|| _dS )aw Sets the granularity of this RequestSummarizedUsagesDetails. The usage granularity. HOURLY - Hourly data aggregation. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. TOTAL - Not yet supported. :param granularity: The granularity of this RequestSummarizedUsagesDetails. :type: str )r r r r z8Invalid value for `granularity`, must be None or one of N)r � ValueErrorr! )r) r �allowed_valuesr+ r+ r, r � s �c C s | j S )a> Gets the is_aggregate_by_time of this RequestSummarizedUsagesDetails. Whether aggregated by time. If isAggregateByTime is true, all usage/cost over the query time period will be added up. :return: The is_aggregate_by_time of this RequestSummarizedUsagesDetails. :rtype: bool �r"