ruạṛ
a N��f�A � @ 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 d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zd8d9� Zd:d;� Zd<d=� Zd>S )?�Nodez, The properties that define a node. �CREATING�ACTIVE�UPDATING�DELETING�DELETED�FAILING�INACTIVEc K s� dddddddddddddddd�| _ dddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )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 id: The value to assign to the id property of this Node. :type id: str :param name: The value to assign to the name property of this Node. :type name: str :param kubernetes_version: The value to assign to the kubernetes_version property of this Node. :type kubernetes_version: str :param availability_domain: The value to assign to the availability_domain property of this Node. :type availability_domain: str :param subnet_id: The value to assign to the subnet_id property of this Node. :type subnet_id: str :param node_pool_id: The value to assign to the node_pool_id property of this Node. :type node_pool_id: str :param fault_domain: The value to assign to the fault_domain property of this Node. :type fault_domain: str :param private_ip: The value to assign to the private_ip property of this Node. :type private_ip: str :param public_ip: The value to assign to the public_ip property of this Node. :type public_ip: str :param node_error: The value to assign to the node_error property of this Node. :type node_error: oci.container_engine.models.NodeError :param freeform_tags: The value to assign to the freeform_tags property of this Node. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Node. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this Node. :type system_tags: dict(str, dict(str, object)) :param lifecycle_state: The value to assign to the lifecycle_state property of this Node. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILING", "INACTIVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this Node. :type lifecycle_details: str �str� NodeErrorzdict(str, str)zdict(str, dict(str, object)))�id�name�kubernetes_version�availability_domain� subnet_id�node_pool_id�fault_domain� private_ip� public_ip� node_error� freeform_tags�defined_tags�system_tags�lifecycle_state�lifecycle_detailsr r �kubernetesVersion�availabilityDomain�subnetId� nodePoolId�faultDomain� privateIp�publicIp� nodeError�freeformTags�definedTags� systemTags�lifecycleState�lifecycleDetailsN)� swagger_types� attribute_map�_id�_name�_kubernetes_version�_availability_domain� _subnet_id� _node_pool_id� _fault_domain�_private_ip� _public_ip�_node_error�_freeform_tags� _defined_tags�_system_tags�_lifecycle_state�_lifecycle_details)�self�kwargs� r? ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/container_engine/models/node.py�__init__, s^ E��z Node.__init__c C s | j S )z� Gets the id of this Node. The OCID of the compute instance backing this node. :return: The id of this Node. :rtype: str �r. �r= r? r? r@ r � s zNode.idc C s || _ dS )z� Sets the id of this Node. The OCID of the compute instance backing this node. :param id: The id of this Node. :type: str NrB )r= r r? r? r@ r � s c C s | j S )z� Gets the name of this Node. The name of the node. :return: The name of this Node. :rtype: str �r/ rC r? r? r@ r � s z Node.namec C s || _ dS )z� Sets the name of this Node. The name of the node. :param name: The name of this Node. :type: str NrD )r= r r? r? r@ r � s c C s | j S )z� Gets the kubernetes_version of this Node. The version of Kubernetes this node is running. :return: The kubernetes_version of this Node. :rtype: str �r0 rC r? r? r@ r � s zNode.kubernetes_versionc C s || _ dS )z� Sets the kubernetes_version of this Node. The version of Kubernetes this node is running. :param kubernetes_version: The kubernetes_version of this Node. :type: str NrE )r= r r? r? r@ r � s c C s | j S )z� Gets the availability_domain of this Node. The name of the availability domain in which this node is placed. :return: The availability_domain of this Node. :rtype: str �r1 rC r? r? r@ r � s zNode.availability_domainc C s || _ dS )z� Sets the availability_domain of this Node. The name of the availability domain in which this node is placed. :param availability_domain: The availability_domain of this Node. :type: str NrF )r= r r? r? r@ r � s c C s | j S )z� Gets the subnet_id of this Node. The OCID of the subnet in which this node is placed. :return: The subnet_id of this Node. :rtype: str �r2 rC r? r? r@ r s zNode.subnet_idc C s || _ dS )z� Sets the subnet_id of this Node. The OCID of the subnet in which this node is placed. :param subnet_id: The subnet_id of this Node. :type: str NrG )r= r r? r? r@ r s c C s | j S )z� Gets the node_pool_id of this Node. The OCID of the node pool to which this node belongs. :return: The node_pool_id of this Node. :rtype: str �r3 rC r? r? r@ r s zNode.node_pool_idc C s || _ dS )z� Sets the node_pool_id of this Node. The OCID of the node pool to which this node belongs. :param node_pool_id: The node_pool_id of this Node. :type: str NrH )r= r r? r? r@ r ( s c C s | j S )z� Gets the fault_domain of this Node. The fault domain of this node. :return: The fault_domain of this Node. :rtype: str �r4 rC r? r? r@ r 4 s zNode.fault_domainc C s || _ dS )z� Sets the fault_domain of this Node. The fault domain of this node. :param fault_domain: The fault_domain of this Node. :type: str NrI )r= r r? r? r@ r @ s c C s | j S )z� Gets the private_ip of this Node. The private IP address of this node. :return: The private_ip of this Node. :rtype: str �r5 rC r? r? r@ r L s zNode.private_ipc C s || _ dS )z� Sets the private_ip of this Node. The private IP address of this node. :param private_ip: The private_ip of this Node. :type: str NrJ )r= r r? r? r@ r X s c C s | j S )z� Gets the public_ip of this Node. The public IP address of this node. :return: The public_ip of this Node. :rtype: str �r6 rC r? r? r@ r d s zNode.public_ipc C s || _ dS )z� Sets the public_ip of this Node. The public IP address of this node. :param public_ip: The public_ip of this Node. :type: str NrK )r= r r? r? r@ r p s c C s | j S )z� Gets the node_error of this Node. An error that may be associated with the node. :return: The node_error of this Node. :rtype: oci.container_engine.models.NodeError �r7 rC r? r? r@ r | s zNode.node_errorc C s || _ dS )z� Sets the node_error of this Node. An error that may be associated with the node. :param node_error: The node_error of this Node. :type: oci.container_engine.models.NodeError NrL )r= r r? r? r@ r � s c C s | j S )a� Gets the freeform_tags of this Node. 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 Node. :rtype: dict(str, str) �r8 rC r? r? r@ r � s zNode.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this Node. 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 Node. :type: dict(str, str) NrM )r= r r? r? r@ r � s c C s | j S )a� Gets the defined_tags of this Node. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this Node. :rtype: dict(str, dict(str, object)) �r9 rC r? r? r@ r � s zNode.defined_tagsc C s || _ dS )a� Sets the defined_tags of this Node. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this Node. :type: dict(str, dict(str, object)) NrN )r= r r? r? r@ r � s c C s | j S )a& Gets the system_tags of this Node. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` :return: The system_tags of this Node. :rtype: dict(str, dict(str, object)) �r: rC r? r? r@ r � s zNode.system_tagsc C s || _ dS )a0 Sets the system_tags of this Node. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` :param system_tags: The system_tags of this Node. :type: dict(str, dict(str, object)) NrO )r= r r? r? r@ r � s c C s | j S )a� Gets the lifecycle_state of this Node. The state of the node. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILING", "INACTIVE", '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 )r; rC r? r? r@ r � 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 �UNKNOWN_ENUM_VALUEN)r r; )r= r �allowed_valuesr? r? r@ r � s c C s | j S )z� Gets the lifecycle_details of this Node. Details about the state of the node. :return: The lifecycle_details of this Node. :rtype: str �r<