ruạṛ
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 @ 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� �Zdd� Z dd� Zdd� ZdS )� ResourceUsagez) The resource usage information. c K sP ddddddd�| _ ddddd d d�| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new ResourceUsage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param operations_insights_warehouse_id: The value to assign to the operations_insights_warehouse_id property of this ResourceUsage. :type operations_insights_warehouse_id: str :param id: The value to assign to the id property of this ResourceUsage. :type id: str :param em_instance_count: The value to assign to the em_instance_count property of this ResourceUsage. :type em_instance_count: int :param targets_count: The value to assign to the targets_count property of this ResourceUsage. :type targets_count: int :param em_instances: The value to assign to the em_instances property of this ResourceUsage. :type em_instances: list[oci.em_warehouse.models.EmInstancesDetails] :param schema_name: The value to assign to the schema_name property of this ResourceUsage. :type schema_name: str �str�intzlist[EmInstancesDetails])� operations_insights_warehouse_id�id�em_instance_count� targets_count�em_instances�schema_nameZoperationsInsightsWarehouseIdr ZemInstanceCountZtargetsCountZemInstancesZ schemaNameN)Z swagger_typesZ attribute_map�!_operations_insights_warehouse_id�_id�_em_instance_count�_targets_count� _em_instances�_schema_name)�self�kwargs� r �J/usr/lib/python3.9/site-packages/oci/em_warehouse/models/resource_usage.py�__init__ s( � � zResourceUsage.__init__c C s | j S )z� **[Required]** Gets the operations_insights_warehouse_id of this ResourceUsage. operations Insights Warehouse Identifier :return: The operations_insights_warehouse_id of this ResourceUsage. :rtype: str �r �r r r r r I s z.ResourceUsage.operations_insights_warehouse_idc C s || _ dS )a Sets the operations_insights_warehouse_id of this ResourceUsage. operations Insights Warehouse Identifier :param operations_insights_warehouse_id: The operations_insights_warehouse_id of this ResourceUsage. :type: str Nr )r r r r r r U s c C s | j S )z� **[Required]** Gets the id of this ResourceUsage. Unique identifier that is immutable on creation :return: The id of this ResourceUsage. :rtype: str �r r r r r r a s zResourceUsage.idc C s || _ dS )z� Sets the id of this ResourceUsage. Unique identifier that is immutable on creation :param id: The id of this ResourceUsage. :type: str Nr )r r r r r r m s c C s | j S )z� Gets the em_instance_count of this ResourceUsage. EmInstanceCount :return: The em_instance_count of this ResourceUsage. :rtype: int �r r r r r r y s zResourceUsage.em_instance_countc C s || _ dS )z� Sets the em_instance_count of this ResourceUsage. EmInstanceCount :param em_instance_count: The em_instance_count of this ResourceUsage. :type: int Nr )r r r r r r � s c C s | j S )z� Gets the targets_count of this ResourceUsage. EmInstance Target count :return: The targets_count of this ResourceUsage. :rtype: int �r r r r r r � s zResourceUsage.targets_countc C s || _ dS )z� Sets the targets_count of this ResourceUsage. EmInstance Target count :param targets_count: The targets_count of this ResourceUsage. :type: int Nr )r r r r r r � s c C s | j S )z� Gets the em_instances of this ResourceUsage. List of emInstances :return: The em_instances of this ResourceUsage. :rtype: list[oci.em_warehouse.models.EmInstancesDetails] �r r r r r r � s zResourceUsage.em_instancesc C s || _ dS )z� Sets the em_instances of this ResourceUsage. List of emInstances :param em_instances: The em_instances of this ResourceUsage. :type: list[oci.em_warehouse.models.EmInstancesDetails] Nr )r r r r r r � s c C s | j S )z� Gets the schema_name of this ResourceUsage. schema name :return: The schema_name of this ResourceUsage. :rtype: str �r r r r r r � s zResourceUsage.schema_namec C s || _ dS )z� Sets the schema_name of this ResourceUsage. schema name :param schema_name: The schema_name of this ResourceUsage. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zResourceUsage.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zResourceUsage.__eq__c C s | |k S r! r r$ r r r �__ne__� s zResourceUsage.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r"