ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�HostPerformanceMetricGroup� )�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 dd� Zdd� Zdd� Z dS )�HostContainersz! Host Containers details c K sV ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d| _d S )a� Initializes a new HostContainers object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostContainers.metric_name` attribute of this class is ``HOST_CONTAINERS`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param metric_name: The value to assign to the metric_name property of this HostContainers. Allowed values for this property are: "HOST_CPU_USAGE", "HOST_MEMORY_USAGE", "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE", "HOST_GPU_USAGE", "HOST_GPU_PROCESSES", "HOST_IO_USAGE", "HOST_CONTAINERS" :type metric_name: str :param time_collected: The value to assign to the time_collected property of this HostContainers. :type time_collected: datetime :param container_id: The value to assign to the container_id property of this HostContainers. :type container_id: str :param container_name: The value to assign to the container_name property of this HostContainers. :type container_name: str :param container_image: The value to assign to the container_image property of this HostContainers. :type container_image: str :param container_ports: The value to assign to the container_ports property of this HostContainers. :type container_ports: str �strZdatetime)Zmetric_nameZtime_collected�container_id�container_name�container_image�container_portsZ metricNameZ timeCollectedZcontainerIdZ containerNameZcontainerImageZcontainerPortsNZHOST_CONTAINERS)Z swagger_typesZ attribute_mapZ_metric_nameZ_time_collected� _container_id�_container_name�_container_image�_container_ports)�self�kwargs� r �C/usr/lib/python3.9/site-packages/oci/opsi/models/host_containers.py�__init__ s* !� � zHostContainers.__init__c C s | j S )z� Gets the container_id of this HostContainers. Container Id (full) :return: The container_id of this HostContainers. :rtype: str �r �r r r r r L s zHostContainers.container_idc C s || _ dS )z� Sets the container_id of this HostContainers. Container Id (full) :param container_id: The container_id of this HostContainers. :type: str Nr )r r r r r r X s c C s | j S )z� Gets the container_name of this HostContainers. Container Name :return: The container_name of this HostContainers. :rtype: str �r r r r r r d s zHostContainers.container_namec C s || _ dS )z� Sets the container_name of this HostContainers. Container Name :param container_name: The container_name of this HostContainers. :type: str Nr )r r r r r r p s c C s | j S )z� Gets the container_image of this HostContainers. Container Image (may include tag version) :return: The container_image of this HostContainers. :rtype: str �r r r r r r | s zHostContainers.container_imagec C s || _ dS )z� Sets the container_image of this HostContainers. Container Image (may include tag version) :param container_image: The container_image of this HostContainers. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the container_ports of this HostContainers. Container open ports :return: The container_ports of this HostContainers. :rtype: str �r r r r r r � s zHostContainers.container_portsc C s || _ dS )z� Sets the container_ports of this HostContainers. Container open ports :param container_ports: The container_ports of this HostContainers. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zHostContainers.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zHostContainers.__eq__c C s | |k S r r r r r r �__ne__� s zHostContainers.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r! r"