ruạṛ
a O��f�C � @ 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 @ sV e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdd� 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.� Zd/d0� Z d1d2� Z!d3S )4�/SummarizeExadataInsightResourceUsageAggregationz> Resource usage summation for the current time period �CPU�STORAGE�IO�MEMORY�IOPS� THROUGHPUT�DATABASE�HOST�STORAGE_SERVER� DISKGROUP�CORES�GB�MBPS�PERCENTc K sn dddddddddd� | _ ddddd d ddd d� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ dS )aJ Initializes a new SummarizeExadataInsightResourceUsageAggregation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param time_interval_start: The value to assign to the time_interval_start property of this SummarizeExadataInsightResourceUsageAggregation. :type time_interval_start: datetime :param time_interval_end: The value to assign to the time_interval_end property of this SummarizeExadataInsightResourceUsageAggregation. :type time_interval_end: datetime :param exadata_resource_metric: The value to assign to the exadata_resource_metric property of this SummarizeExadataInsightResourceUsageAggregation. Allowed values for this property are: "CPU", "STORAGE", "IO", "MEMORY", "IOPS", "THROUGHPUT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type exadata_resource_metric: str :param exadata_resource_type: The value to assign to the exadata_resource_type property of this SummarizeExadataInsightResourceUsageAggregation. Allowed values for this property are: "DATABASE", "HOST", "STORAGE_SERVER", "DISKGROUP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type exadata_resource_type: str :param usage_unit: The value to assign to the usage_unit property of this SummarizeExadataInsightResourceUsageAggregation. Allowed values for this property are: "CORES", "GB", "MBPS", "IOPS", "PERCENT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type usage_unit: str :param usage: The value to assign to the usage property of this SummarizeExadataInsightResourceUsageAggregation. :type usage: float :param capacity: The value to assign to the capacity property of this SummarizeExadataInsightResourceUsageAggregation. :type capacity: float :param usage_change_percent: The value to assign to the usage_change_percent property of this SummarizeExadataInsightResourceUsageAggregation. :type usage_change_percent: float :param total_host_capacity: The value to assign to the total_host_capacity property of this SummarizeExadataInsightResourceUsageAggregation. :type total_host_capacity: float �datetime�str�float) �time_interval_start�time_interval_end�exadata_resource_metric�exadata_resource_type� usage_unit�usage�capacity�usage_change_percent�total_host_capacity�timeIntervalStart�timeIntervalEnd�exadataResourceMetric�exadataResourceType� usageUnitr r �usageChangePercent�totalHostCapacityN)� swagger_types� attribute_map�_time_interval_start�_time_interval_end�_exadata_resource_metric�_exadata_resource_type�_usage_unit�_usage� _capacity�_usage_change_percent�_total_host_capacity)�self�kwargs� r5 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/opsi/models/summarize_exadata_insight_resource_usage_aggregation.py�__init__L s: 1� �z8SummarizeExadataInsightResourceUsageAggregation.__init__c C s | j S )a1 **[Required]** Gets the time_interval_start of this SummarizeExadataInsightResourceUsageAggregation. The start timestamp that was passed into the request. :return: The time_interval_start of this SummarizeExadataInsightResourceUsageAggregation. :rtype: datetime �r* �r3 r5 r5 r6 r � s zCSummarizeExadataInsightResourceUsageAggregation.time_interval_startc C s || _ dS )a4 Sets the time_interval_start of this SummarizeExadataInsightResourceUsageAggregation. The start timestamp that was passed into the request. :param time_interval_start: The time_interval_start of this SummarizeExadataInsightResourceUsageAggregation. :type: datetime Nr8 )r3 r r5 r5 r6 r � s c C s | j S )a+ **[Required]** Gets the time_interval_end of this SummarizeExadataInsightResourceUsageAggregation. The end timestamp that was passed into the request. :return: The time_interval_end of this SummarizeExadataInsightResourceUsageAggregation. :rtype: datetime �r+ r9 r5 r5 r6 r � s zASummarizeExadataInsightResourceUsageAggregation.time_interval_endc C s || _ dS )a, Sets the time_interval_end of this SummarizeExadataInsightResourceUsageAggregation. The end timestamp that was passed into the request. :param time_interval_end: The time_interval_end of this SummarizeExadataInsightResourceUsageAggregation. :type: datetime Nr: )r3 r r5 r5 r6 r � s c C s | j S )a **[Required]** Gets the exadata_resource_metric of this SummarizeExadataInsightResourceUsageAggregation. Defines the type of exadata resource metric (example: CPU, STORAGE) Allowed values for this property are: "CPU", "STORAGE", "IO", "MEMORY", "IOPS", "THROUGHPUT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The exadata_resource_metric of this SummarizeExadataInsightResourceUsageAggregation. :rtype: str )r, r9 r5 r5 r6 r � s zGSummarizeExadataInsightResourceUsageAggregation.exadata_resource_metricc C s g d�}t ||�sd}|| _dS )aI Sets the exadata_resource_metric of this SummarizeExadataInsightResourceUsageAggregation. Defines the type of exadata resource metric (example: CPU, STORAGE) :param exadata_resource_metric: The exadata_resource_metric of this SummarizeExadataInsightResourceUsageAggregation. :type: str )r r r r r r �UNKNOWN_ENUM_VALUEN)r r, )r3 r �allowed_valuesr5 r5 r6 r � s c C s | j S )a/ **[Required]** Gets the exadata_resource_type of this SummarizeExadataInsightResourceUsageAggregation. Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP) Allowed values for this property are: "DATABASE", "HOST", "STORAGE_SERVER", "DISKGROUP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The exadata_resource_type of this SummarizeExadataInsightResourceUsageAggregation. :rtype: str )r- r9 r5 r5 r6 r � s zESummarizeExadataInsightResourceUsageAggregation.exadata_resource_typec C s g d�}t ||�sd}|| _dS )a^ Sets the exadata_resource_type of this SummarizeExadataInsightResourceUsageAggregation. Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP) :param exadata_resource_type: The exadata_resource_type of this SummarizeExadataInsightResourceUsageAggregation. :type: str )r r r r r; N)r r- )r3 r r<