📂 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
›
dns
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/dns/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: resolver_endpoint.cpython-39.opt-1.pyc
a ���f4? � @ 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 @ sv e Zd ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zd.d/� Zd0d1� Zd2d3� Zd4S )5�ResolverEndpointz� An OCI DNS resolver endpoint. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. �VNIC�ACTIVE�CREATING�DELETED�DELETING�FAILED�UPDATINGc K s� dddddddddddd�| _ ddddd d ddd ddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a� Initializes a new ResolverEndpoint 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.dns.models.ResolverVnicEndpoint` 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 ResolverEndpoint. :type name: str :param endpoint_type: The value to assign to the endpoint_type property of this ResolverEndpoint. Allowed values for this property are: "VNIC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type endpoint_type: str :param forwarding_address: The value to assign to the forwarding_address property of this ResolverEndpoint. :type forwarding_address: str :param is_forwarding: The value to assign to the is_forwarding property of this ResolverEndpoint. :type is_forwarding: bool :param is_listening: The value to assign to the is_listening property of this ResolverEndpoint. :type is_listening: bool :param listening_address: The value to assign to the listening_address property of this ResolverEndpoint. :type listening_address: str :param compartment_id: The value to assign to the compartment_id property of this ResolverEndpoint. :type compartment_id: str :param time_created: The value to assign to the time_created property of this ResolverEndpoint. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ResolverEndpoint. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this ResolverEndpoint. Allowed values for this property are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "UPDATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param _self: The value to assign to the _self property of this ResolverEndpoint. :type _self: str �str�boolZdatetime)�name� endpoint_type�forwarding_address� is_forwarding�is_listening�listening_address�compartment_id�time_created�time_updated�lifecycle_state�_selfr �endpointTypeZforwardingAddressZisForwardingZisListeningZlisteningAddressZ compartmentIdZtimeCreatedZtimeUpdatedZlifecycleState�selfN) Z swagger_typesZ attribute_map�_name�_endpoint_type�_forwarding_address�_is_forwarding� _is_listening�_listening_address�_compartment_id� _time_created� _time_updated�_lifecycle_state�_ResolverEndpoint__self)r �kwargs� r) �D/usr/lib/python3.9/site-packages/oci/dns/models/resolver_endpoint.py�__init__0 sF ;��zResolverEndpoint.__init__c C s | d }|dkrdS 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 ZResolverVnicEndpointr Nr) )Zobject_dictionary�typer) r) r* �get_subtype� s zResolverEndpoint.get_subtypec C s | j S )z� **[Required]** Gets the name of this ResolverEndpoint. The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver. :return: The name of this ResolverEndpoint. :rtype: str �r �r r) r) r* r � s zResolverEndpoint.namec C s || _ dS )z� Sets the name of this ResolverEndpoint. The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver. :param name: The name of this ResolverEndpoint. :type: str Nr. )r r r) r) r* r � s c C s | j S )a� Gets the endpoint_type of this ResolverEndpoint. The type of resolver endpoint. VNIC is currently the only supported type. Allowed values for this property are: "VNIC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The endpoint_type of this ResolverEndpoint. :rtype: str )r r/ r) r) r* r � s zResolverEndpoint.endpoint_typec C s dg}t ||�sd}|| _dS )z� Sets the endpoint_type of this ResolverEndpoint. The type of resolver endpoint. VNIC is currently the only supported type. :param endpoint_type: The endpoint_type of this ResolverEndpoint. :type: str r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr) r) r* r � s c C s | j S )as Gets the forwarding_address of this ResolverEndpoint. An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true. :return: The forwarding_address of this ResolverEndpoint. :rtype: str �r r/ r) r) r* r � s z#ResolverEndpoint.forwarding_addressc C s || _ dS )a� Sets the forwarding_address of this ResolverEndpoint. An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true. :param forwarding_address: The forwarding_address of this ResolverEndpoint. :type: str Nr2 )r r r) r) r* r � s c C s | j S )z� **[Required]** Gets the is_forwarding of this ResolverEndpoint. A Boolean flag indicating whether or not the resolver endpoint is for forwarding. :return: The is_forwarding of this ResolverEndpoint. :rtype: bool �r r/ r) r) r* r � s zResolverEndpoint.is_forwardingc C s || _ dS )z� Sets the is_forwarding of this ResolverEndpoint. A Boolean flag indicating whether or not the resolver endpoint is for forwarding. :param is_forwarding: The is_forwarding of this ResolverEndpoint. :type: bool Nr3 )r r r) r) r* r � s c C s | j S )z� **[Required]** Gets the is_listening of this ResolverEndpoint. A Boolean flag indicating whether or not the resolver endpoint is for listening. :return: The is_listening of this ResolverEndpoint. :rtype: bool �r! r/ r) r) r* r s zResolverEndpoint.is_listeningc C s || _ dS )z� Sets the is_listening of this ResolverEndpoint. A Boolean flag indicating whether or not the resolver endpoint is for listening. :param is_listening: The is_listening of this ResolverEndpoint. :type: bool Nr4 )r r r) r) r* r s c C s | j S )a^ Gets the listening_address of this ResolverEndpoint. An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true. :return: The listening_address of this ResolverEndpoint. :rtype: str �r"