| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/oci/usage_api/models/__pycache__/ |
Upload File : |
a
���fu � @ 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 @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd
d� Z dd
� Z
dd� ZdS )� Dimensiona5
The dimension used for filtering. Availabe dimensions are: "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", and "tenantName".
For example:
`[{value: "COMPUTE", key: "service"}]`
c K s( ddd�| _ ddd�| _d| _d| _dS )a�
Initializes a new Dimension object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param key:
The value to assign to the key property of this Dimension.
:type key: str
:param value:
The value to assign to the value property of this Dimension.
:type value: str
�str)�key�valuer r N)Z
swagger_typesZ
attribute_map�_key�_value)�self�kwargs� r �B/usr/lib/python3.9/site-packages/oci/usage_api/models/dimension.py�__init__ s ��zDimension.__init__c C s | j S )z�
**[Required]** Gets the key of this Dimension.
The dimension key.
:return: The key of this Dimension.
:rtype: str
�r
�r r r r r / s
z
Dimension.keyc C s
|| _ dS )z�
Sets the key of this Dimension.
The dimension key.
:param key: The key of this Dimension.
:type: str
Nr )r r r r r r ; s
c C s | j S )z�
**[Required]** Gets the value of this Dimension.
The dimension value.
:return: The value of this Dimension.
:rtype: str
�r r r r r r G s
zDimension.valuec C s
|| _ dS )z�
Sets the value of this Dimension.
The dimension value.
:param value: The value of this Dimension.
:type: str
Nr )r r r r r r S s
c C s t | �S �N)r r r r r �__repr___ s zDimension.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__b s zDimension.__eq__c C s
| |k S r r r r r r �__ne__h s zDimension.__ne__N)�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s
r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s