ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ContainerConfig� )�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� �Zdd� Zdd� Z dd� ZdS )�ContainerInstanceConfigz4 Specifies ContainerInstance configuration. c K sV ddddddd�| _ ddddd d d�| _d| _d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new ContainerInstanceConfig object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.ContainerInstanceConfig.container_config_type` attribute of this class is ``CONTAINER_INSTANCE_CONFIG`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param container_config_type: The value to assign to the container_config_type property of this ContainerInstanceConfig. Allowed values for this property are: "CONTAINER_INSTANCE_CONFIG" :type container_config_type: str :param compartment_id: The value to assign to the compartment_id property of this ContainerInstanceConfig. :type compartment_id: str :param availability_domain: The value to assign to the availability_domain property of this ContainerInstanceConfig. :type availability_domain: str :param shape_name: The value to assign to the shape_name property of this ContainerInstanceConfig. :type shape_name: str :param shape_config: The value to assign to the shape_config property of this ContainerInstanceConfig. :type shape_config: oci.devops.models.ShapeConfig :param network_channel: The value to assign to the network_channel property of this ContainerInstanceConfig. :type network_channel: oci.devops.models.NetworkChannel �strZShapeConfigZNetworkChannel)Zcontainer_config_type�compartment_id�availability_domain� shape_name�shape_config�network_channelZcontainerConfigTypeZ compartmentIdZavailabilityDomainZ shapeNameZshapeConfigZnetworkChannelNZCONTAINER_INSTANCE_CONFIG)Z swagger_typesZ attribute_mapZ_container_config_type�_compartment_id�_availability_domain�_shape_name� _shape_config�_network_channel)�self�kwargs� r �O/usr/lib/python3.9/site-packages/oci/devops/models/container_instance_config.py�__init__ s* !� � z ContainerInstanceConfig.__init__c C s | j S )z� Gets the compartment_id of this ContainerInstanceConfig. The OCID of the compartment where the ContainerInstance will be created. :return: The compartment_id of this ContainerInstanceConfig. :rtype: str �r �r r r r r L s z&ContainerInstanceConfig.compartment_idc C s || _ dS )a Sets the compartment_id of this ContainerInstanceConfig. The OCID of the compartment where the ContainerInstance will be created. :param compartment_id: The compartment_id of this ContainerInstanceConfig. :type: str Nr )r r r r r r X s c C s | j S )z� Gets the availability_domain of this ContainerInstanceConfig. Availability domain where the ContainerInstance will be created. :return: The availability_domain of this ContainerInstanceConfig. :rtype: str �r r r r r r d s z+ContainerInstanceConfig.availability_domainc C s || _ dS )a Sets the availability_domain of this ContainerInstanceConfig. Availability domain where the ContainerInstance will be created. :param availability_domain: The availability_domain of this ContainerInstanceConfig. :type: str Nr )r r r r r r p s c C s | j S )a **[Required]** Gets the shape_name of this ContainerInstanceConfig. The shape of the ContainerInstance. The shape determines the resources available to the ContainerInstance. :return: The shape_name of this ContainerInstanceConfig. :rtype: str �r r r r r r | s z"ContainerInstanceConfig.shape_namec C s || _ dS )a Sets the shape_name of this ContainerInstanceConfig. The shape of the ContainerInstance. The shape determines the resources available to the ContainerInstance. :param shape_name: The shape_name of this ContainerInstanceConfig. :type: str Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the shape_config of this ContainerInstanceConfig. :return: The shape_config of this ContainerInstanceConfig. :rtype: oci.devops.models.ShapeConfig �r r r r r r � s z$ContainerInstanceConfig.shape_configc C s || _ dS )z� Sets the shape_config of this ContainerInstanceConfig. :param shape_config: The shape_config of this ContainerInstanceConfig. :type: oci.devops.models.ShapeConfig Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the network_channel of this ContainerInstanceConfig. :return: The network_channel of this ContainerInstanceConfig. :rtype: oci.devops.models.NetworkChannel �r r r r r r � s z'ContainerInstanceConfig.network_channelc C s || _ dS )z� Sets the network_channel of this ContainerInstanceConfig. :param network_channel: The network_channel of this ContainerInstanceConfig. :type: oci.devops.models.NetworkChannel Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z ContainerInstanceConfig.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zContainerInstanceConfig.__eq__c C s | |k S r r r"