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__/node_details.cpython-39.opt-1.pyc
a

���f�(�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dd
�Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zd d!�Zd"d#�Zd$d%�Zd&S)'�NodeDetailsz1
    Node details associated with a network.
    �CREATING�REQUIRES_VALIDATION�
VALIDATING�	VALIDATED�VALIDATION_FAILED�UPDATING�	ALLOCATED�TERMINATING�
TERMINATED�FAILEDcKsPddddddd�|_ddddddd�|_d	|_d	|_d	|_d	|_d	|_d	|_d	S)
a(
        Initializes a new NodeDetails object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param hostname:
            The value to assign to the hostname property of this NodeDetails.
        :type hostname: str

        :param ip:
            The value to assign to the ip property of this NodeDetails.
        :type ip: str

        :param vip_hostname:
            The value to assign to the vip_hostname property of this NodeDetails.
        :type vip_hostname: str

        :param vip:
            The value to assign to the vip property of this NodeDetails.
        :type vip: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this NodeDetails.
            Allowed values for this property are: "CREATING", "REQUIRES_VALIDATION", "VALIDATING", "VALIDATED", "VALIDATION_FAILED", "UPDATING", "ALLOCATED", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param db_server_id:
            The value to assign to the db_server_id property of this NodeDetails.
        :type db_server_id: str

        �str)�hostname�ip�vip_hostname�vip�lifecycle_state�db_server_idrrZvipHostnamerZlifecycleStateZ
dbServerIdN)Z
swagger_typesZ
attribute_map�	_hostname�_ip�
_vip_hostname�_vip�_lifecycle_state�
_db_server_id)�self�kwargs�r �D/usr/lib/python3.9/site-packages/oci/database/models/node_details.py�__init__:s(!�
�	zNodeDetails.__init__cCs|jS)z�
        **[Required]** Gets the hostname of this NodeDetails.
        The node host name.


        :return: The hostname of this NodeDetails.
        :rtype: str
        �r�rr r r!rss
zNodeDetails.hostnamecCs
||_dS)z�
        Sets the hostname of this NodeDetails.
        The node host name.


        :param hostname: The hostname of this NodeDetails.
        :type: str
        Nr#)rrr r r!rs
cCs|jS)z�
        **[Required]** Gets the ip of this NodeDetails.
        The node IP address.


        :return: The ip of this NodeDetails.
        :rtype: str
        �rr$r r r!r�s
zNodeDetails.ipcCs
||_dS)z�
        Sets the ip of this NodeDetails.
        The node IP address.


        :param ip: The ip of this NodeDetails.
        :type: str
        Nr%)rrr r r!r�s
cCs|jS)z�
        Gets the vip_hostname of this NodeDetails.
        The node virtual IP (VIP) host name.


        :return: The vip_hostname of this NodeDetails.
        :rtype: str
        �rr$r r r!r�s
zNodeDetails.vip_hostnamecCs
||_dS)z�
        Sets the vip_hostname of this NodeDetails.
        The node virtual IP (VIP) host name.


        :param vip_hostname: The vip_hostname of this NodeDetails.
        :type: str
        Nr&)rrr r r!r�s
cCs|jS)z�
        Gets the vip of this NodeDetails.
        The node virtual IP (VIP) address.


        :return: The vip of this NodeDetails.
        :rtype: str
        �rr$r r r!r�s
zNodeDetails.vipcCs
||_dS)z�
        Sets the vip of this NodeDetails.
        The node virtual IP (VIP) address.


        :param vip: The vip of this NodeDetails.
        :type: str
        Nr')rrr r r!r�s
cCs|jS)a#
        Gets the lifecycle_state of this NodeDetails.
        The current state of the VM cluster network nodes.
        CREATING - The resource is being created
        REQUIRES_VALIDATION - The resource is created and may not be usable until it is validated.
        VALIDATING - The resource is being validated and not available to use.
        VALIDATED - The resource is validated and is available for consumption by VM cluster.
        VALIDATION_FAILED - The resource validation has failed and might require user input to be corrected.
        UPDATING - The resource is being updated and not available to use.
        ALLOCATED - The resource is currently being used by VM cluster.
        TERMINATING - The resource is being deleted and not available to use.
        TERMINATED - The resource is deleted and unavailable.
        FAILED - The resource is in a failed state due to validation or other errors.

        Allowed values for this property are: "CREATING", "REQUIRES_VALIDATION", "VALIDATING", "VALIDATED", "VALIDATION_FAILED", "UPDATING", "ALLOCATED", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this NodeDetails.
        :rtype: str
        )rr$r r r!r�szNodeDetails.lifecycle_statecCs gd�}t||�sd}||_dS)a�
        Sets the lifecycle_state of this NodeDetails.
        The current state of the VM cluster network nodes.
        CREATING - The resource is being created
        REQUIRES_VALIDATION - The resource is created and may not be usable until it is validated.
        VALIDATING - The resource is being validated and not available to use.
        VALIDATED - The resource is validated and is available for consumption by VM cluster.
        VALIDATION_FAILED - The resource validation has failed and might require user input to be corrected.
        UPDATING - The resource is being updated and not available to use.
        ALLOCATED - The resource is currently being used by VM cluster.
        TERMINATING - The resource is being deleted and not available to use.
        TERMINATED - The resource is deleted and unavailable.
        FAILED - The resource is in a failed state due to validation or other errors.


        :param lifecycle_state: The lifecycle_state of this NodeDetails.
        :type: str
        )
rrr	r
rrr
rrrZUNKNOWN_ENUM_VALUEN)rr)rrZallowed_valuesr r r!r�s
cCs|jS)z�
        Gets the db_server_id of this NodeDetails.
        The Db server associated with the node.


        :return: The db_server_id of this NodeDetails.
        :rtype: str
        �rr$r r r!rs
zNodeDetails.db_server_idcCs
||_dS)z�
        Sets the db_server_id of this NodeDetails.
        The Db server associated with the node.


        :param db_server_id: The db_server_id of this NodeDetails.
        :type: str
        Nr()rrr r r!rs
cCst|�S�N)rr$r r r!�__repr__szNodeDetails.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherr r r!�__eq__ szNodeDetails.__eq__cCs
||kSr)r r,r r r!�__ne__&szNodeDetails.__ne__N)�__name__�
__module__�__qualname__�__doc__ZLIFECYCLE_STATE_CREATINGZ#LIFECYCLE_STATE_REQUIRES_VALIDATIONZLIFECYCLE_STATE_VALIDATINGZLIFECYCLE_STATE_VALIDATEDZ!LIFECYCLE_STATE_VALIDATION_FAILEDZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ALLOCATEDZLIFECYCLE_STATE_TERMINATINGZLIFECYCLE_STATE_TERMINATEDZLIFECYCLE_STATE_FAILEDr"�propertyr�setterrrrrrr*r.r/r r r r!rsN9











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