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 ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zdd� Z dd� Zdd� ZdS )� EndpointProxyz: An object containing the endpoint proxy details. �NONE� BASIC_AUTH�TOKENc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a? Initializes a new EndpointProxy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param url: The value to assign to the url property of this EndpointProxy. :type url: str :param credential_name: The value to assign to the credential_name property of this EndpointProxy. :type credential_name: str :param credential_type: The value to assign to the credential_type property of this EndpointProxy. Allowed values for this property are: "NONE", "BASIC_AUTH", "TOKEN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type credential_type: str �str)�url�credential_name�credential_typer ZcredentialNameZcredentialTypeN)Z swagger_typesZ attribute_map�_url�_credential_name�_credential_type)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/log_analytics/models/endpoint_proxy.py�__init__ s ��zEndpointProxy.__init__c C s | j S )z� **[Required]** Gets the url of this EndpointProxy. The proxy URL. :return: The url of this EndpointProxy. :rtype: str �r �r r r r r B s zEndpointProxy.urlc C s || _ dS )z� Sets the url of this EndpointProxy. The proxy URL. :param url: The url of this EndpointProxy. :type: str Nr )r r r r r r N s c C s | j S )z� Gets the credential_name of this EndpointProxy. The named credential name on the management agent, containing the proxy credentials. :return: The credential_name of this EndpointProxy. :rtype: str �r r r r r r Z s zEndpointProxy.credential_namec C s || _ dS )z� Sets the credential_name of this EndpointProxy. The named credential name on the management agent, containing the proxy credentials. :param credential_name: The credential_name of this EndpointProxy. :type: str Nr )r r r r r r f s c C s | j S )a Gets the credential_type of this EndpointProxy. The credential type. NONE indicates credentials are not needed to access the proxy. BASIC_AUTH represents a username and password based model. TOKEN represents a token based model. Allowed values for this property are: "NONE", "BASIC_AUTH", "TOKEN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The credential_type of this EndpointProxy. :rtype: str )r r r r r r r s zEndpointProxy.credential_typec C s g d�}t ||�sd}|| _dS )af Sets the credential_type of this EndpointProxy. The credential type. NONE indicates credentials are not needed to access the proxy. BASIC_AUTH represents a username and password based model. TOKEN represents a token based model. :param credential_type: The credential_type of this EndpointProxy. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s t | �S �N)r r r r r �__repr__� s zEndpointProxy.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zEndpointProxy.__eq__c C s | |k S r r r r r r �__ne__� s zEndpointProxy.__ne__N)�__name__� __module__�__qualname__�__doc__ZCREDENTIAL_TYPE_NONEZCREDENTIAL_TYPE_BASIC_AUTHZCREDENTIAL_TYPE_TOKENr �propertyr �setterr r r r r r r r r r s( $ r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn