ruạṛ
a ���f�n � @ 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 dZd ZdZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Z e jd-d,� �Z ed.d/� �Z!e!jd0d/� �Z!ed1d2� �Z"e"jd3d2� �Z"ed4d5� �Z#e#jd6d5� �Z#ed7d8� �Z$e$jd9d8� �Z$ed:d;� �Z%e%jd<d;� �Z%ed=d>� �Z&e&jd?d>� �Z&ed@dA� �Z'e'jdBdA� �Z'edCdD� �Z(e(jdEdD� �Z(edFdG� �Z)e)jdHdG� �Z)edIdJ� �Z*e*jdKdJ� �Z*edLdM� �Z+e+jdNdM� �Z+edOdP� �Z,e,jdQdP� �Z,edRdS� �Z-e-jdTdS� �Z-edUdV� �Z.e.jdWdV� �Z.edXdY� �Z/e/jdZdY� �Z/ed[d\� �Z0e0jd]d\� �Z0ed^d_� �Z1e1jd`d_� �Z1dadb� Z2dcdd� Z3dedf� Z4dgS )h�Nodez Details about a node. �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILED�STOPPED�STOPPING�STARTING�MASTER�EDGE�UTILITY�WORKER�COMPUTE_ONLY_WORKER�KAFKA_BROKER�BURSTING� CLOUD_SQLc K s dddddddddddddddddddddddddd�| _ dd d ddd ddddddddddddddddddd d�| _d!| _d!| _d!| _d!| _d!| _d!| _d!| _d!| _ d!| _ d!| _d!| _d!| _ d!| _d!| _d!| _d!| _d!| _d!| _d!| _d!| _d!| _d!| _d!| _d!| _d!| _d!S )"a� Initializes a new Node object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param instance_id: The value to assign to the instance_id property of this Node. :type instance_id: str :param display_name: The value to assign to the display_name property of this Node. :type display_name: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Node. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "STOPPED", "STOPPING", "STARTING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param node_type: The value to assign to the node_type property of this Node. Allowed values for this property are: "MASTER", "EDGE", "UTILITY", "WORKER", "COMPUTE_ONLY_WORKER", "KAFKA_BROKER", "BURSTING", "CLOUD_SQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type node_type: str :param shape: The value to assign to the shape property of this Node. :type shape: str :param attached_block_volumes: The value to assign to the attached_block_volumes property of this Node. :type attached_block_volumes: list[oci.bds.models.VolumeAttachmentDetail] :param subnet_id: The value to assign to the subnet_id property of this Node. :type subnet_id: str :param ip_address: The value to assign to the ip_address property of this Node. :type ip_address: str :param hostname: The value to assign to the hostname property of this Node. :type hostname: str :param image_id: The value to assign to the image_id property of this Node. :type image_id: str :param ssh_fingerprint: The value to assign to the ssh_fingerprint property of this Node. :type ssh_fingerprint: str :param availability_domain: The value to assign to the availability_domain property of this Node. :type availability_domain: str :param fault_domain: The value to assign to the fault_domain property of this Node. :type fault_domain: str :param time_created: The value to assign to the time_created property of this Node. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Node. :type time_updated: datetime :param ocpus: The value to assign to the ocpus property of this Node. :type ocpus: int :param memory_in_gbs: The value to assign to the memory_in_gbs property of this Node. :type memory_in_gbs: int :param nvmes: The value to assign to the nvmes property of this Node. :type nvmes: int :param local_disks_total_size_in_gbs: The value to assign to the local_disks_total_size_in_gbs property of this Node. :type local_disks_total_size_in_gbs: float :param time_maintenance_reboot_due: The value to assign to the time_maintenance_reboot_due property of this Node. :type time_maintenance_reboot_due: datetime :param os_version: The value to assign to the os_version property of this Node. :type os_version: str :param is_reboot_required: The value to assign to the is_reboot_required property of this Node. :type is_reboot_required: bool :param odh_version: The value to assign to the odh_version property of this Node. :type odh_version: str :param time_replaced: The value to assign to the time_replaced property of this Node. :type time_replaced: datetime :param node_backup_id: The value to assign to the node_backup_id property of this Node. :type node_backup_id: str �strzlist[VolumeAttachmentDetail]Zdatetime�int�float�bool)�instance_id�display_name�lifecycle_state� node_type�shape�attached_block_volumes� subnet_id� ip_address�hostname�image_id�ssh_fingerprint�availability_domain�fault_domain�time_created�time_updated�ocpus� memory_in_gbs�nvmes�local_disks_total_size_in_gbs�time_maintenance_reboot_due� os_version�is_reboot_required�odh_version� time_replaced�node_backup_idZ instanceIdZdisplayNameZlifecycleStateZnodeTyper! ZattachedBlockVolumesZsubnetIdZ ipAddressr% ZimageIdZsshFingerprintZavailabilityDomainZfaultDomainZtimeCreatedZtimeUpdatedr, ZmemoryInGBsr. ZlocalDisksTotalSizeInGBsZtimeMaintenanceRebootDueZ osVersionZisRebootRequiredZ odhVersionZtimeReplacedZnodeBackupIdN)Z swagger_typesZ attribute_map�_instance_id� _display_name�_lifecycle_state� _node_type�_shape�_attached_block_volumes� _subnet_id�_ip_address� _hostname� _image_id�_ssh_fingerprint�_availability_domain� _fault_domain� _time_created� _time_updated�_ocpus�_memory_in_gbs�_nvmes�_local_disks_total_size_in_gbs�_time_maintenance_reboot_due�_os_version�_is_reboot_required�_odh_version�_time_replaced�_node_backup_id)�self�kwargs� rQ �7/usr/lib/python3.9/site-packages/oci/bds/models/node.py�__init__Z s� o��z Node.__init__c C s | j S )z� **[Required]** Gets the instance_id of this Node. The OCID of the underlying Oracle Cloud Infrastructure Compute instance. :return: The instance_id of this Node. :rtype: str �r6 �rO rQ rQ rR r s zNode.instance_idc C s || _ dS )z� Sets the instance_id of this Node. The OCID of the underlying Oracle Cloud Infrastructure Compute instance. :param instance_id: The instance_id of this Node. :type: str NrT )rO r rQ rQ rR r & s c C s | j S )z� **[Required]** Gets the display_name of this Node. The name of the node. :return: The display_name of this Node. :rtype: str �r7 rU rQ rQ rR r 2 s zNode.display_namec C s || _ dS )z� Sets the display_name of this Node. The name of the node. :param display_name: The display_name of this Node. :type: str NrV )rO r rQ rQ rR r > s c C s | j S )a� **[Required]** Gets the lifecycle_state of this Node. The state of the node. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "STOPPED", "STOPPING", "STARTING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Node. :rtype: str )r8 rU rQ rQ rR r J s zNode.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this Node. The state of the node. :param lifecycle_state: The lifecycle_state of this Node. :type: str ) r r r r r r r r r r �UNKNOWN_ENUM_VALUEN)r r8 )rO r �allowed_valuesrQ rQ rR r Y s c C s | j S )a� **[Required]** Gets the node_type of this Node. Cluster node type. Allowed values for this property are: "MASTER", "EDGE", "UTILITY", "WORKER", "COMPUTE_ONLY_WORKER", "KAFKA_BROKER", "BURSTING", "CLOUD_SQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The node_type of this Node. :rtype: str )r9 rU rQ rQ rR r h s zNode.node_typec C s g d�}t ||�sd}|| _dS )z� Sets the node_type of this Node. Cluster node type. :param node_type: The node_type of this Node. :type: str )r r r r r r r r rW N)r r9 )rO r rX rQ rQ rR r w s c C s | j S )z� **[Required]** Gets the shape of this Node. Shape of the node. :return: The shape of this Node. :rtype: str �r: rU rQ rQ rR r! � s z Node.shapec C s || _ dS )z� Sets the shape of this Node. Shape of the node. :param shape: The shape of this Node. :type: str NrY )rO r! rQ rQ rR r! � s c C s | j S )z� Gets the attached_block_volumes of this Node. The list of block volumes attached to a given node. :return: The attached_block_volumes of this Node. :rtype: list[oci.bds.models.VolumeAttachmentDetail] �r; rU rQ rQ rR r"