ruạṛ
a N��feK � @ 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 d� Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Ze d$d%� �Zejd&d%� �Ze d'd(� �Zejd)d(� �Ze d*d+� �Zejd,d+� �Ze d-d.� �Zejd/d.� �Ze d0d1� �Zejd2d1� �Ze d3d4� �Zejd5d4� �Ze d6d7� �Zejd8d7� �Ze d9d:� �Zejd;d:� �Zd<d=� Zd>d?� Z d@dA� Z!dBS )C� Connectionzb Detailed representation of a connection to a data asset, minus any sensitive properties. �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILED�MOVINGc K s� ddddddddddddddddd�| _ ddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a Initializes a new Connection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param key: The value to assign to the key property of this Connection. :type key: str :param description: The value to assign to the description property of this Connection. :type description: str :param display_name: The value to assign to the display_name property of this Connection. :type display_name: str :param time_created: The value to assign to the time_created property of this Connection. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Connection. :type time_updated: datetime :param created_by_id: The value to assign to the created_by_id property of this Connection. :type created_by_id: str :param updated_by_id: The value to assign to the updated_by_id property of this Connection. :type updated_by_id: str :param custom_property_members: The value to assign to the custom_property_members property of this Connection. :type custom_property_members: list[oci.data_catalog.models.CustomPropertyGetUsage] :param properties: The value to assign to the properties property of this Connection. :type properties: dict(str, dict(str, str)) :param external_key: The value to assign to the external_key property of this Connection. :type external_key: str :param time_status_updated: The value to assign to the time_status_updated property of this Connection. :type time_status_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Connection. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "MOVING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param is_default: The value to assign to the is_default property of this Connection. :type is_default: bool :param data_asset_key: The value to assign to the data_asset_key property of this Connection. :type data_asset_key: str :param type_key: The value to assign to the type_key property of this Connection. :type type_key: str :param uri: The value to assign to the uri property of this Connection. :type uri: str �str�datetimezlist[CustomPropertyGetUsage]zdict(str, dict(str, str))�bool)�key�description�display_name�time_created�time_updated� created_by_id� updated_by_id�custom_property_members� properties�external_key�time_status_updated�lifecycle_state� is_default�data_asset_key�type_key�urir r �displayName�timeCreated�timeUpdated�createdById�updatedById�customPropertyMembersr �externalKey�timeStatusUpdated�lifecycleState� isDefault�dataAssetKey�typeKeyr! N)� swagger_types� attribute_map�_key�_description� _display_name� _time_created� _time_updated�_created_by_id�_updated_by_id�_custom_property_members�_properties� _external_key�_time_status_updated�_lifecycle_state�_is_default�_data_asset_key� _type_key�_uri)�self�kwargs� rB ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_catalog/models/connection.py�__init__0 sd I��zConnection.__init__c C s | j S )z� **[Required]** Gets the key of this Connection. Unique connection key that is immutable. :return: The key of this Connection. :rtype: str �r0 �r@ rB rB rC r � s zConnection.keyc C s || _ dS )z� Sets the key of this Connection. Unique connection key that is immutable. :param key: The key of this Connection. :type: str NrE )r@ r rB rB rC r � s c C s | j S )z� Gets the description of this Connection. A description of the connection. :return: The description of this Connection. :rtype: str �r1 rF rB rB rC r � s zConnection.descriptionc C s || _ dS )z� Sets the description of this Connection. A description of the connection. :param description: The description of this Connection. :type: str NrG )r@ r rB rB rC r � s c C s | j S )a Gets the display_name of this Connection. A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this Connection. :rtype: str �r2 rF rB rB rC r � s zConnection.display_namec C s || _ dS )a Sets the display_name of this Connection. A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this Connection. :type: str NrH )r@ r rB rB rC r � s c C s | j S )aD Gets the time_created of this Connection. The date and time the connection was created, in the format defined by `RFC3339`__. Example: `2019-03-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this Connection. :rtype: datetime �r3 rF rB rB rC r � s zConnection.time_createdc C s || _ dS )aO Sets the time_created of this Connection. The date and time the connection was created, in the format defined by `RFC3339`__. Example: `2019-03-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this Connection. :type: datetime NrI )r@ r rB rB rC r s c C s | j S )a( Gets the time_updated of this Connection. The last time that any change was made to the connection. An `RFC3339`__ formatted datetime string. __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this Connection. :rtype: datetime �r4 rF rB rB rC r s zConnection.time_updatedc C s || _ dS )a3 Sets the time_updated of this Connection. The last time that any change was made to the connection. An `RFC3339`__ formatted datetime string. __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this Connection. :type: datetime NrJ )r@ r rB rB rC r % s c C s | j S )z� Gets the created_by_id of this Connection. OCID of the user who created the connection. :return: The created_by_id of this Connection. :rtype: str �r5 rF rB rB rC r 3 s zConnection.created_by_idc C s || _ dS )z� Sets the created_by_id of this Connection. OCID of the user who created the connection. :param created_by_id: The created_by_id of this Connection. :type: str NrK )r@ r rB rB rC r ? s c C s | j S )z� Gets the updated_by_id of this Connection. OCID of the user who modified the connection. :return: The updated_by_id of this Connection. :rtype: str �r6 rF rB rB rC r K s zConnection.updated_by_idc C s || _ dS )z� Sets the updated_by_id of this Connection. OCID of the user who modified the connection. :param updated_by_id: The updated_by_id of this Connection. :type: str NrL )r@ r rB rB rC r W s c C s | j S )a Gets the custom_property_members of this Connection. The list of customized properties along with the values for this object :return: The custom_property_members of this Connection. :rtype: list[oci.data_catalog.models.CustomPropertyGetUsage] �r7 rF rB rB rC r c s z"Connection.custom_property_membersc C s || _ dS )a4 Sets the custom_property_members of this Connection. The list of customized properties along with the values for this object :param custom_property_members: The custom_property_members of this Connection. :type: list[oci.data_catalog.models.CustomPropertyGetUsage] NrM )r@ r rB rB rC r o s c C s | j S )a� Gets the properties of this Connection. A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` :return: The properties of this Connection. :rtype: dict(str, dict(str, str)) �r8 rF rB rB rC r { s zConnection.propertiesc C s || _ dS )a� Sets the properties of this Connection. A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` :param properties: The properties of this Connection. :type: dict(str, dict(str, str)) NrN )r@ r rB rB rC r � s c C s | j S )z� Gets the external_key of this Connection. Unique external key of this object from the source system. :return: The external_key of this Connection. :rtype: str �r9 rF rB rB rC r � s zConnection.external_keyc C s || _ dS )z� Sets the external_key of this Connection. Unique external key of this object from the source system. :param external_key: The external_key of this Connection. :type: str NrO )r@ r rB rB rC r � s c C s | j S )a/ Gets the time_status_updated of this Connection. Time that the connections status was last updated. An `RFC3339`__ formatted datetime string. __ https://tools.ietf.org/html/rfc3339 :return: The time_status_updated of this Connection. :rtype: datetime �r: rF rB rB rC r � s zConnection.time_status_updatedc C s || _ dS )aA Sets the time_status_updated of this Connection. Time that the connections status was last updated. An `RFC3339`__ formatted datetime string. __ https://tools.ietf.org/html/rfc3339 :param time_status_updated: The time_status_updated of this Connection. :type: datetime NrP )r@ r rB rB rC r � s c C s | j S )a� Gets the lifecycle_state of this Connection. The current state of the connection. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "MOVING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Connection. :rtype: str )r; rF rB rB rC r � s zConnection.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this Connection. The current state of the connection. :param lifecycle_state: The lifecycle_state of this Connection. :type: str )r r r r r r r r �UNKNOWN_ENUM_VALUEN)r r; )r@ r �allowed_valuesrB rB rC r � s c C s | j S )z� Gets the is_default of this Connection. Indicates whether this connection is the default connection. :return: The is_default of this Connection. :rtype: bool �r<