ruạṛ
a ���fx � @ 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 d d� Z dd� Zdd� ZdS )�CleanEnergyUsagez Clean energy usage. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )aH Initializes a new CleanEnergyUsage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param region: The value to assign to the region property of this CleanEnergyUsage. :type region: str :param ad: The value to assign to the ad property of this CleanEnergyUsage. :type ad: str :param usage: The value to assign to the usage property of this CleanEnergyUsage. :type usage: float �str�float)�region�ad�usager r r N)Z swagger_typesZ attribute_map�_region�_ad�_usage)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/usage_api/models/clean_energy_usage.py�__init__ s ��zCleanEnergyUsage.__init__c C s | j S )z� **[Required]** Gets the region of this CleanEnergyUsage. The region. :return: The region of this CleanEnergyUsage. :rtype: str �r �r r r r r 4 s zCleanEnergyUsage.regionc C s || _ dS )z� Sets the region of this CleanEnergyUsage. The region. :param region: The region of this CleanEnergyUsage. :type: str Nr )r r r r r r @ s c C s | j S )z� Gets the ad of this CleanEnergyUsage. The availability domain. :return: The ad of this CleanEnergyUsage. :rtype: str �r r r r r r L s zCleanEnergyUsage.adc C s || _ dS )z� Sets the ad of this CleanEnergyUsage. The availability domain. :param ad: The ad of this CleanEnergyUsage. :type: str Nr )r r r r r r X s c C s | j S )z� **[Required]** Gets the usage of this CleanEnergyUsage. The percentage of clean enery used. :return: The usage of this CleanEnergyUsage. :rtype: float �r r r r r r d s zCleanEnergyUsage.usagec C s || _ dS )z� Sets the usage of this CleanEnergyUsage. The percentage of clean enery used. :param usage: The usage of this CleanEnergyUsage. :type: float Nr )r r r r r r p s c C s t | �S �N)r r r r r �__repr__| s zCleanEnergyUsage.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zCleanEnergyUsage.__eq__c C s | |k S r r r r r r �__ne__� s zCleanEnergyUsage.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"