📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
network_firewall
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/network_firewall/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_service_details.cpython-39.pyc
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 @ sx e Zd ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Zdd� Z dd� Zdd� ZdS )�CreateServiceDetailsz: Request for creating a service against a policy. �TCP_SERVICE�UDP_SERVICEc K s( ddd�| _ ddd�| _d| _d| _dS )a` Initializes a new CreateServiceDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.network_firewall.models.CreateUdpServiceDetails` * :class:`~oci.network_firewall.models.CreateTcpServiceDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this CreateServiceDetails. :type name: str :param type: The value to assign to the type property of this CreateServiceDetails. Allowed values for this property are: "TCP_SERVICE", "UDP_SERVICE" :type type: str �str)�name�typer r N)Z swagger_typesZ attribute_map�_name�_type)�self�kwargs� r �V/usr/lib/python3.9/site-packages/oci/network_firewall/models/create_service_details.py�__init__ s ��zCreateServiceDetails.__init__c C s( | d }|dkrdS |dkr dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZCreateUdpServiceDetailsr ZCreateTcpServiceDetailsr Nr )Zobject_dictionaryr r r r �get_subtype; s z CreateServiceDetails.get_subtypec C s | j S )z� **[Required]** Gets the name of this CreateServiceDetails. Name of the service :return: The name of this CreateServiceDetails. :rtype: str �r �r r r r r K s zCreateServiceDetails.namec C s || _ dS )z� Sets the name of this CreateServiceDetails. Name of the service :param name: The name of this CreateServiceDetails. :type: str Nr )r r r r r r W s c C s | j S )z� Gets the type of this CreateServiceDetails. Describes the type of Service. Allowed values for this property are: "TCP_SERVICE", "UDP_SERVICE" :return: The type of this CreateServiceDetails. :rtype: str )r r r r r r c s zCreateServiceDetails.typec C s* ddg}t ||�s td|� ���|| _dS )z� Sets the type of this CreateServiceDetails. Describes the type of Service. :param type: The type of this CreateServiceDetails. :type: str r r z1Invalid value for `type`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r q s �c C s t | �S �N)r r r r r �__repr__� s zCreateServiceDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zCreateServiceDetails.__eq__c C s | |k S r r r r r r �__ne__� s zCreateServiceDetails.__ne__N)�__name__� __module__�__qualname__�__doc__ZTYPE_TCP_SERVICEZTYPE_UDP_SERVICEr �staticmethodr �propertyr �setterr r r r r r r r r s"