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 ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdZdZdZdZdZd Zd ZdZdZd ZdZdZ dZ!dd� Z"e#dd� �Z$e$j%dd� �Z$e#dd� �Z&e&j%dd� �Z&dd� Z'dd� Z(dd� Z)dS ) �ContainerCapabilitieszN Linux Container capabilities to configure capabilities of container. � CAP_CHOWN�CAP_DAC_OVERRIDE� CAP_FSETID� CAP_FOWNER� CAP_MKNOD�CAP_NET_RAW� CAP_SETGID� CAP_SETUID�CAP_SETFCAP�CAP_SETPCAP�CAP_NET_BIND_SERVICE�CAP_SYS_CHROOT�CAP_KILL�CAP_AUDIT_WRITE�ALLc K s( ddd�| _ ddd�| _d| _d| _dS )aP Initializes a new ContainerCapabilities object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param add_capabilities: The value to assign to the add_capabilities property of this ContainerCapabilities. Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type add_capabilities: list[str] :param drop_capabilities: The value to assign to the drop_capabilities property of this ContainerCapabilities. Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type drop_capabilities: list[str] z list[str])�add_capabilities�drop_capabilitiesZaddCapabilitiesZdropCapabilitiesN)Z swagger_typesZ attribute_map�_add_capabilities�_drop_capabilities)�self�kwargs� r �Y/usr/lib/python3.9/site-packages/oci/container_instances/models/container_capabilities.py�__init__� s ��zContainerCapabilities.__init__c C s | j S )ax Gets the add_capabilities of this ContainerCapabilities. A list of additional configurable container capabilities. Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The add_capabilities of this ContainerCapabilities. :rtype: list[str] �r �r r r r r � s z&ContainerCapabilities.add_capabilitiesc s0 g d�� |r&� fdd�|D �|dd�<