HEX
Server: Apache
System: Linux sh00085.hostgator.com 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User: yqegzjte (1064)
PHP: 8.5.8
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/oci/database/models/__pycache__/console_connection.cpython-39.pyc
a

���f74�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@sHeZdZdZdZdZdZdZdZdd�Z	e
d	d
��Zejdd
��Ze
dd
��Z
e
jdd
��Z
e
dd��Zejdd��Ze
dd��Zejdd��Ze
dd��Zejdd��Ze
dd��Zejdd��Ze
dd��Zejdd��Ze
dd��Zejd d��Ze
d!d"��Zejd#d"��Ze
d$d%��Zejd&d%��Zd'd(�Zd)d*�Zd+d,�Zd-S).�ConsoleConnectionz"
    ConsoleConnection model.
    �ACTIVE�CREATING�DELETED�DELETING�FAILEDcKsxddddddddddd�
|_ddddd	d
ddd
dd�
|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_dS)a�
        Initializes a new ConsoleConnection object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param id:
            The value to assign to the id property of this ConsoleConnection.
        :type id: str

        :param compartment_id:
            The value to assign to the compartment_id property of this ConsoleConnection.
        :type compartment_id: str

        :param db_node_id:
            The value to assign to the db_node_id property of this ConsoleConnection.
        :type db_node_id: str

        :param connection_string:
            The value to assign to the connection_string property of this ConsoleConnection.
        :type connection_string: str

        :param fingerprint:
            The value to assign to the fingerprint property of this ConsoleConnection.
        :type fingerprint: str

        :param service_host_key_fingerprint:
            The value to assign to the service_host_key_fingerprint property of this ConsoleConnection.
        :type service_host_key_fingerprint: str

        :param freeform_tags:
            The value to assign to the freeform_tags property of this ConsoleConnection.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this ConsoleConnection.
        :type defined_tags: dict(str, dict(str, object))

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this ConsoleConnection.
        :type lifecycle_details: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this ConsoleConnection.
            Allowed values for this property are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        �strzdict(str, str)zdict(str, dict(str, object)))
�id�compartment_id�
db_node_id�connection_string�fingerprint�service_host_key_fingerprint�
freeform_tags�defined_tags�lifecycle_details�lifecycle_stater
Z
compartmentIdZdbNodeIdZconnectionStringrZserviceHostKeyFingerprintZfreeformTagsZdefinedTagsZlifecycleDetailsZlifecycleStateN)Z
swagger_typesZ
attribute_map�_id�_compartment_id�_db_node_id�_connection_string�_fingerprint�_service_host_key_fingerprint�_freeform_tags�
_defined_tags�_lifecycle_details�_lifecycle_state)�self�kwargs�r#�J/usr/lib/python3.9/site-packages/oci/database/models/console_connection.py�__init__&s@1��
zConsoleConnection.__init__cCs|jS)z�
        **[Required]** Gets the id of this ConsoleConnection.
        The OCID of the console connection.


        :return: The id of this ConsoleConnection.
        :rtype: str
        �r�r!r#r#r$r
{s
zConsoleConnection.idcCs
||_dS)z�
        Sets the id of this ConsoleConnection.
        The OCID of the console connection.


        :param id: The id of this ConsoleConnection.
        :type: str
        Nr&)r!r
r#r#r$r
�s
cCs|jS)z�
        **[Required]** Gets the compartment_id of this ConsoleConnection.
        The OCID of the compartment to contain the console connection.


        :return: The compartment_id of this ConsoleConnection.
        :rtype: str
        �rr'r#r#r$r�s
z ConsoleConnection.compartment_idcCs
||_dS)z�
        Sets the compartment_id of this ConsoleConnection.
        The OCID of the compartment to contain the console connection.


        :param compartment_id: The compartment_id of this ConsoleConnection.
        :type: str
        Nr()r!rr#r#r$r�s
cCs|jS)z�
        **[Required]** Gets the db_node_id of this ConsoleConnection.
        The OCID of the database node.


        :return: The db_node_id of this ConsoleConnection.
        :rtype: str
        �rr'r#r#r$r�s
zConsoleConnection.db_node_idcCs
||_dS)z�
        Sets the db_node_id of this ConsoleConnection.
        The OCID of the database node.


        :param db_node_id: The db_node_id of this ConsoleConnection.
        :type: str
        Nr))r!rr#r#r$r�s
cCs|jS)z�
        **[Required]** Gets the connection_string of this ConsoleConnection.
        The SSH connection string for the console connection.


        :return: The connection_string of this ConsoleConnection.
        :rtype: str
        �rr'r#r#r$r�s
z#ConsoleConnection.connection_stringcCs
||_dS)z�
        Sets the connection_string of this ConsoleConnection.
        The SSH connection string for the console connection.


        :param connection_string: The connection_string of this ConsoleConnection.
        :type: str
        Nr*)r!rr#r#r$r�s
cCs|jS)z�
        **[Required]** Gets the fingerprint of this ConsoleConnection.
        The SSH public key fingerprint for the console connection.


        :return: The fingerprint of this ConsoleConnection.
        :rtype: str
        �rr'r#r#r$r�s
zConsoleConnection.fingerprintcCs
||_dS)z�
        Sets the fingerprint of this ConsoleConnection.
        The SSH public key fingerprint for the console connection.


        :param fingerprint: The fingerprint of this ConsoleConnection.
        :type: str
        Nr+)r!rr#r#r$r�s
cCs|jS)a
        Gets the service_host_key_fingerprint of this ConsoleConnection.
        The SSH public key's fingerprint for the console connection service host.


        :return: The service_host_key_fingerprint of this ConsoleConnection.
        :rtype: str
        �rr'r#r#r$r�s
z.ConsoleConnection.service_host_key_fingerprintcCs
||_dS)a"
        Sets the service_host_key_fingerprint of this ConsoleConnection.
        The SSH public key's fingerprint for the console connection service host.


        :param service_host_key_fingerprint: The service_host_key_fingerprint of this ConsoleConnection.
        :type: str
        Nr,)r!rr#r#r$r�s
cCs|jS)a�
        Gets the freeform_tags of this ConsoleConnection.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this ConsoleConnection.
        :rtype: dict(str, str)
        �rr'r#r#r$rszConsoleConnection.freeform_tagscCs
||_dS)a�
        Sets the freeform_tags of this ConsoleConnection.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this ConsoleConnection.
        :type: dict(str, str)
        Nr-)r!rr#r#r$rscCs|jS)a�
        Gets the defined_tags of this ConsoleConnection.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this ConsoleConnection.
        :rtype: dict(str, dict(str, object))
        �rr'r#r#r$r-s
zConsoleConnection.defined_tagscCs
||_dS)a�
        Sets the defined_tags of this ConsoleConnection.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this ConsoleConnection.
        :type: dict(str, dict(str, object))
        Nr.)r!rr#r#r$r<s
cCs|jS)z�
        Gets the lifecycle_details of this ConsoleConnection.
        Information about the current lifecycle state.


        :return: The lifecycle_details of this ConsoleConnection.
        :rtype: str
        �rr'r#r#r$rKs
z#ConsoleConnection.lifecycle_detailscCs
||_dS)z�
        Sets the lifecycle_details of this ConsoleConnection.
        Information about the current lifecycle state.


        :param lifecycle_details: The lifecycle_details of this ConsoleConnection.
        :type: str
        Nr/)r!rr#r#r$rWs
cCs|jS)a�
        **[Required]** Gets the lifecycle_state of this ConsoleConnection.
        The current state of the console connection.

        Allowed values for this property are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this ConsoleConnection.
        :rtype: str
        )r r'r#r#r$rcs
z!ConsoleConnection.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this ConsoleConnection.
        The current state of the console connection.


        :param lifecycle_state: The lifecycle_state of this ConsoleConnection.
        :type: str
        )rrr	r
rZUNKNOWN_ENUM_VALUEN)rr )r!rZallowed_valuesr#r#r$rrs

cCst|�S�N)rr'r#r#r$�__repr__�szConsoleConnection.__repr__cCs|durdS|j|jkS)NF)�__dict__�r!�otherr#r#r$�__eq__�szConsoleConnection.__eq__cCs
||kSr0r#r3r#r#r$�__ne__�szConsoleConnection.__ne__N)�__name__�
__module__�__qualname__�__doc__ZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_FAILEDr%�propertyr
�setterrrrrrrrrrr1r5r6r#r#r#r$rsdU



















rN)Zoci.utilrrrZoci.decoratorsr�objectrr#r#r#r$�<module>s