ruạṛ
a ���fz* � @ 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 ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd � Zd!d"� Zd#d$� Zd%S )&�TableUsageSummarya3 TableUsageSummary represents a single usage record, or slice, that includes information about read and write throughput consumed during that period as well as the current information regarding storage capacity. In addition the count of throttling exceptions for the period is reported. c K sn dddddddddd� | _ dddddd d ddd� | _d | _d | _d | _d | _d | _d | _d | _d | _ d | _ d S )a� Initializes a new TableUsageSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param seconds_in_period: The value to assign to the seconds_in_period property of this TableUsageSummary. :type seconds_in_period: int :param read_units: The value to assign to the read_units property of this TableUsageSummary. :type read_units: int :param write_units: The value to assign to the write_units property of this TableUsageSummary. :type write_units: int :param storage_in_g_bs: The value to assign to the storage_in_g_bs property of this TableUsageSummary. :type storage_in_g_bs: int :param read_throttle_count: The value to assign to the read_throttle_count property of this TableUsageSummary. :type read_throttle_count: int :param write_throttle_count: The value to assign to the write_throttle_count property of this TableUsageSummary. :type write_throttle_count: int :param storage_throttle_count: The value to assign to the storage_throttle_count property of this TableUsageSummary. :type storage_throttle_count: int :param max_shard_size_usage_in_percent: The value to assign to the max_shard_size_usage_in_percent property of this TableUsageSummary. :type max_shard_size_usage_in_percent: int :param time_started: The value to assign to the time_started property of this TableUsageSummary. :type time_started: datetime �intZdatetime) �seconds_in_period� read_units�write_units�storage_in_g_bs�read_throttle_count�write_throttle_count�storage_throttle_count�max_shard_size_usage_in_percent�time_startedZsecondsInPeriodZ readUnitsZ writeUnitsZstorageInGBsZreadThrottleCountZwriteThrottleCountZstorageThrottleCountZmaxShardSizeUsageInPercentZtimeStartedN)Z swagger_typesZ attribute_map�_seconds_in_period�_read_units�_write_units�_storage_in_g_bs�_read_throttle_count�_write_throttle_count�_storage_throttle_count� _max_shard_size_usage_in_percent� _time_started)�self�kwargs� r �H/usr/lib/python3.9/site-packages/oci/nosql/models/table_usage_summary.py�__init__ s: +� �zTableUsageSummary.__init__c C s | j S )z� Gets the seconds_in_period of this TableUsageSummary. The length of the sampling period. :return: The seconds_in_period of this TableUsageSummary. :rtype: int �r �r r r r r a s z#TableUsageSummary.seconds_in_periodc C s || _ dS )z� Sets the seconds_in_period of this TableUsageSummary. The length of the sampling period. :param seconds_in_period: The seconds_in_period of this TableUsageSummary. :type: int Nr )r r r r r r m s c C s | j S )z� Gets the read_units of this TableUsageSummary. Read throughput during the sampling period. :return: The read_units of this TableUsageSummary. :rtype: int �r r r r r r y s zTableUsageSummary.read_unitsc C s || _ dS )z� Sets the read_units of this TableUsageSummary. Read throughput during the sampling period. :param read_units: The read_units of this TableUsageSummary. :type: int Nr! )r r r r r r � s c C s | j S )z� Gets the write_units of this TableUsageSummary. Write throughput during the sampling period. :return: The write_units of this TableUsageSummary. :rtype: int �r r r r r r � s zTableUsageSummary.write_unitsc C s || _ dS )z� Sets the write_units of this TableUsageSummary. Write throughput during the sampling period. :param write_units: The write_units of this TableUsageSummary. :type: int Nr"