ruạṛ
a N��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 @ sH e Zd ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze d d!� �Zejd"d!� �Ze d#d$� �Zejd%d$� �Zd&d'� Zd(d)� Zd*d+� Zd,S )-� DpEndpointz( The endpoint for a data asset. �PRIVATE_END_POINT�PUBLIC_END_POINTc K sx ddddddddddd� | _ dddd d ddd ddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _dS )a~ Initializes a new DpEndpoint 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.data_connectivity.models.DpEndpointFromPrivate` * :class:`~oci.data_connectivity.models.DpEndpointFromPublic` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param model_type: The value to assign to the model_type property of this DpEndpoint. Allowed values for this property are: "PRIVATE_END_POINT", "PUBLIC_END_POINT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type model_type: str :param key: The value to assign to the key property of this DpEndpoint. :type key: str :param model_version: The value to assign to the model_version property of this DpEndpoint. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this DpEndpoint. :type parent_ref: oci.data_connectivity.models.ParentReference :param name: The value to assign to the name property of this DpEndpoint. :type name: str :param description: The value to assign to the description property of this DpEndpoint. :type description: str :param object_version: The value to assign to the object_version property of this DpEndpoint. :type object_version: int :param object_status: The value to assign to the object_status property of this DpEndpoint. :type object_status: int :param identifier: The value to assign to the identifier property of this DpEndpoint. :type identifier: str :param data_assets: The value to assign to the data_assets property of this DpEndpoint. :type data_assets: list[oci.data_connectivity.models.DataAsset] �str�ParentReference�intzlist[DataAsset]) � model_type�key� model_version� parent_ref�name�description�object_version� object_status� identifier�data_assets� modelTyper �modelVersion� parentRefr r � objectVersion�objectStatusr � dataAssetsN)� swagger_types� attribute_map�_model_type�_key�_model_version�_parent_ref�_name�_description�_object_version�_object_status�_identifier�_data_assets)�self�kwargs� r* ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_connectivity/models/dp_endpoint.py�__init__ s@ 6�� zDpEndpoint.__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 �DpEndpointFromPrivater �DpEndpointFromPublicr Nr* )�object_dictionary�typer* r* r+ �get_subtyper s zDpEndpoint.get_subtypec C s | j S )a� **[Required]** Gets the model_type of this DpEndpoint. The type of the endpoint. Allowed values for this property are: "PRIVATE_END_POINT", "PUBLIC_END_POINT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The model_type of this DpEndpoint. :rtype: str )r �r( r* r* r+ r � s zDpEndpoint.model_typec C s ddg}t ||�sd}|| _dS )z� Sets the model_type of this DpEndpoint. The type of the endpoint. :param model_type: The model_type of this DpEndpoint. :type: str r r �UNKNOWN_ENUM_VALUEN)r r )r( r �allowed_valuesr* r* r+ r � s c C s | j S )a Gets the key of this DpEndpoint. Generated key that can be used in API calls to identify the endpoint. In scenarios where reference to the endpoint is required, a value can be passed in create. :return: The key of this DpEndpoint. :rtype: str �r r2 r* r* r+ r � s zDpEndpoint.keyc C s || _ dS )a Sets the key of this DpEndpoint. Generated key that can be used in API calls to identify the endpoint. In scenarios where reference to the endpoint is required, a value can be passed in create. :param key: The key of this DpEndpoint. :type: str Nr5 )r( r r* r* r+ r � s c C s | j S )z� Gets the model_version of this DpEndpoint. The model version of an object. :return: The model_version of this DpEndpoint. :rtype: str �r r2 r* r* r+ r � s zDpEndpoint.model_versionc C s || _ dS )z� Sets the model_version of this DpEndpoint. The model version of an object. :param model_version: The model_version of this DpEndpoint. :type: str Nr6 )r( r r* r* r+ r � s c C s | j S )z� Gets the parent_ref of this DpEndpoint. :return: The parent_ref of this DpEndpoint. :rtype: oci.data_connectivity.models.ParentReference �r! r2 r* r* r+ r � s zDpEndpoint.parent_refc C s || _ dS )z� Sets the parent_ref of this DpEndpoint. :param parent_ref: The parent_ref of this DpEndpoint. :type: oci.data_connectivity.models.ParentReference Nr7 )r( r r* r* r+ r � s c C s | j S )a7 Gets the name of this DpEndpoint. Free form text without any restriction on the permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :return: The name of this DpEndpoint. :rtype: str �r"