File: //lib/python3.9/site-packages/oci/database/models/__pycache__/node_details.cpython-39.opt-1.pyc
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 ZdZdZdZdZdZdZdZ dZ
d Zd
ZdZ
dd
� 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�FAILEDc K sP ddddddd�| _ 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_idr r ZvipHostnamer ZlifecycleStateZ
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__c C s | j S )z�
**[Required]** Gets the hostname of this NodeDetails.
The node host name.
:return: The hostname of this NodeDetails.
:rtype: str
�r �r r r r! r s s
zNodeDetails.hostnamec C s
|| _ dS )z�
Sets the hostname of this NodeDetails.
The node host name.
:param hostname: The hostname of this NodeDetails.
:type: str
Nr# )r r r r r! r s
c C s | j S )z�
**[Required]** Gets the ip of this NodeDetails.
The node IP address.
:return: The ip of this NodeDetails.
:rtype: str
�r r$ r r r! r � s
zNodeDetails.ipc C s
|| _ dS )z�
Sets the ip of this NodeDetails.
The node IP address.
:param ip: The ip of this NodeDetails.
:type: str
Nr% )r r r r r! r � s
c C s | j S )z�
Gets the vip_hostname of this NodeDetails.
The node virtual IP (VIP) host name.
:return: The vip_hostname of this NodeDetails.
:rtype: str
�r r$ r r r! r � s
zNodeDetails.vip_hostnamec C s
|| _ 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&