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 d d� Z dd� Zdd� ZdS )�PlacementConfigurationzM The information of virtual node placement in the virtual node pool. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new PlacementConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param availability_domain: The value to assign to the availability_domain property of this PlacementConfiguration. :type availability_domain: str :param fault_domain: The value to assign to the fault_domain property of this PlacementConfiguration. :type fault_domain: list[str] :param subnet_id: The value to assign to the subnet_id property of this PlacementConfiguration. :type subnet_id: str �strz list[str])�availability_domain�fault_domain� subnet_idZavailabilityDomainZfaultDomainZsubnetIdN)Z swagger_typesZ attribute_map�_availability_domain� _fault_domain� _subnet_id)�self�kwargs� r �W/usr/lib/python3.9/site-packages/oci/container_engine/models/placement_configuration.py�__init__ s ��zPlacementConfiguration.__init__c C s | j S )a Gets the availability_domain of this PlacementConfiguration. The availability domain in which to place virtual nodes. Example: `Uocm:PHX-AD-1` :return: The availability_domain of this PlacementConfiguration. :rtype: str �r �r r r r r 4 s z*PlacementConfiguration.availability_domainc C s || _ dS )a! Sets the availability_domain of this PlacementConfiguration. The availability domain in which to place virtual nodes. Example: `Uocm:PHX-AD-1` :param availability_domain: The availability_domain of this PlacementConfiguration. :type: str Nr )r r r r r r A s c C s | j S )z� Gets the fault_domain of this PlacementConfiguration. The fault domain of this virtual node. :return: The fault_domain of this PlacementConfiguration. :rtype: list[str] �r r r r r r N s z#PlacementConfiguration.fault_domainc C s || _ dS )z� Sets the fault_domain of this PlacementConfiguration. The fault domain of this virtual node. :param fault_domain: The fault_domain of this PlacementConfiguration. :type: list[str] Nr )r r r r r r Z s c C s | j S )z� Gets the subnet_id of this PlacementConfiguration. The OCID of the subnet in which to place virtual nodes. :return: The subnet_id of this PlacementConfiguration. :rtype: str �r r r r r r f s z PlacementConfiguration.subnet_idc C s || _ dS )z� Sets the subnet_id of this PlacementConfiguration. The OCID of the subnet in which to place virtual nodes. :param subnet_id: The subnet_id of this PlacementConfiguration. :type: str Nr )r r r r r r r s c C s t | �S �N)r r r r r �__repr__~ s zPlacementConfiguration.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zPlacementConfiguration.__eq__c C s | |k S r r r r r r �__ne__� s zPlacementConfiguration.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"