ruạṛ
a O��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 @ s0 e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dd � Zedd� �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� �Zed8d9� �Zejd:d9� �Zed;d<� �Z e jd=d<� �Z ed>d?� �Z!e!jd@d?� �Z!edAdB� �Z"e"jdCdB� �Z"edDdE� �Z#e#jdFdE� �Z#edGdH� �Z$e$jdIdH� �Z$edJdK� �Z%e%jdLdK� �Z%edMdN� �Z&e&jdOdN� �Z&edPdQ� �Z'e'jdRdQ� �Z'edSdT� �Z(e(jdUdT� �Z(edVdW� �Z)e)jdXdW� �Z)edYdZ� �Z*e*jd[dZ� �Z*ed\d]� �Z+e+jd^d]� �Z+ed_d`� �Z,e,jdad`� �Z,dbdc� Z-ddde� Z.dfdg� Z/dhS )i�CreateRoverNodeDetailsz9 The information required to create a RoverNode. �ORACLE_SHIPPED�CUSTOMER_PICKUP�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILED� RUGGADIZED�NON_RUGGADIZEDc K s, ddddddddddddddddddddddddddddd�| _ d 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%| _d%| _d%| _d%| _d%| _d%| _d%| _d%S )&a% Initializes a new CreateRoverNodeDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this CreateRoverNodeDetails. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this CreateRoverNodeDetails. :type compartment_id: str :param shape: The value to assign to the shape property of this CreateRoverNodeDetails. :type shape: str :param customer_shipping_address: The value to assign to the customer_shipping_address property of this CreateRoverNodeDetails. :type customer_shipping_address: oci.rover.models.ShippingAddress :param node_workloads: The value to assign to the node_workloads property of this CreateRoverNodeDetails. :type node_workloads: list[oci.rover.models.RoverWorkload] :param super_user_password: The value to assign to the super_user_password property of this CreateRoverNodeDetails. :type super_user_password: str :param unlock_passphrase: The value to assign to the unlock_passphrase property of this CreateRoverNodeDetails. :type unlock_passphrase: str :param point_of_contact: The value to assign to the point_of_contact property of this CreateRoverNodeDetails. :type point_of_contact: str :param point_of_contact_phone_number: The value to assign to the point_of_contact_phone_number property of this CreateRoverNodeDetails. :type point_of_contact_phone_number: str :param shipping_preference: The value to assign to the shipping_preference property of this CreateRoverNodeDetails. Allowed values for this property are: "ORACLE_SHIPPED", "CUSTOMER_PICKUP" :type shipping_preference: str :param shipping_vendor: The value to assign to the shipping_vendor property of this CreateRoverNodeDetails. :type shipping_vendor: str :param time_pickup_expected: The value to assign to the time_pickup_expected property of this CreateRoverNodeDetails. :type time_pickup_expected: datetime :param public_key: The value to assign to the public_key property of this CreateRoverNodeDetails. :type public_key: str :param time_return_window_starts: The value to assign to the time_return_window_starts property of this CreateRoverNodeDetails. :type time_return_window_starts: datetime :param time_return_window_ends: The value to assign to the time_return_window_ends property of this CreateRoverNodeDetails. :type time_return_window_ends: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this CreateRoverNodeDetails. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED" :type lifecycle_state: str :param enclosure_type: The value to assign to the enclosure_type property of this CreateRoverNodeDetails. Allowed values for this property are: "RUGGADIZED", "NON_RUGGADIZED" :type enclosure_type: str :param lifecycle_state_details: The value to assign to the lifecycle_state_details property of this CreateRoverNodeDetails. :type lifecycle_state_details: str :param serial_number: The value to assign to the serial_number property of this CreateRoverNodeDetails. :type serial_number: str :param oracle_shipping_tracking_url: The value to assign to the oracle_shipping_tracking_url property of this CreateRoverNodeDetails. :type oracle_shipping_tracking_url: str :param is_import_requested: The value to assign to the is_import_requested property of this CreateRoverNodeDetails. :type is_import_requested: bool :param import_compartment_id: The value to assign to the import_compartment_id property of this CreateRoverNodeDetails. :type import_compartment_id: str :param import_file_bucket: The value to assign to the import_file_bucket property of this CreateRoverNodeDetails. :type import_file_bucket: str :param data_validation_code: The value to assign to the data_validation_code property of this CreateRoverNodeDetails. :type data_validation_code: str :param master_key_id: The value to assign to the master_key_id property of this CreateRoverNodeDetails. :type master_key_id: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateRoverNodeDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateRoverNodeDetails. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this CreateRoverNodeDetails. :type system_tags: dict(str, dict(str, object)) �str�ShippingAddresszlist[RoverWorkload]�datetime�boolzdict(str, str)zdict(str, dict(str, object)))�display_name�compartment_id�shape�customer_shipping_address�node_workloads�super_user_password�unlock_passphrase�point_of_contact�point_of_contact_phone_number�shipping_preference�shipping_vendor�time_pickup_expected� public_key�time_return_window_starts�time_return_window_ends�lifecycle_state�enclosure_type�lifecycle_state_details� serial_number�oracle_shipping_tracking_url�is_import_requested�import_compartment_id�import_file_bucket�data_validation_code� master_key_id� freeform_tags�defined_tags�system_tags�displayName� compartmentIdr �customerShippingAddress� nodeWorkloads�superUserPassword�unlockPassphrase�pointOfContact�pointOfContactPhoneNumber�shippingPreference�shippingVendor�timePickupExpected� publicKey�timeReturnWindowStarts�timeReturnWindowEnds�lifecycleState� enclosureType�lifecycleStateDetails�serialNumber�oracleShippingTrackingUrl�isImportRequested�importCompartmentId�importFileBucket�dataValidationCode�masterKeyId�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map� _display_name�_compartment_id�_shape�_customer_shipping_address�_node_workloads�_super_user_password�_unlock_passphrase�_point_of_contact�_point_of_contact_phone_number�_shipping_preference�_shipping_vendor�_time_pickup_expected�_public_key�_time_return_window_starts�_time_return_window_ends�_lifecycle_state�_enclosure_type�_lifecycle_state_details�_serial_number�_oracle_shipping_tracking_url�_is_import_requested�_import_compartment_id�_import_file_bucket�_data_validation_code�_master_key_id�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rl ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/rover/models/create_rover_node_details.py�__init__8 s� z� �zCreateRoverNodeDetails.__init__c C s | j S )a& **[Required]** Gets the display_name of this CreateRoverNodeDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this CreateRoverNodeDetails. :rtype: str �rN �rj rl rl rm r s z#CreateRoverNodeDetails.display_namec C s || _ dS )a" Sets the display_name of this CreateRoverNodeDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this CreateRoverNodeDetails. :type: str Nro )rj r rl rl rm r s c C s | j S )z� **[Required]** Gets the compartment_id of this CreateRoverNodeDetails. The OCID of the compartment containing the RoverNode. :return: The compartment_id of this CreateRoverNodeDetails. :rtype: str �rO rp rl rl rm r $ s z%CreateRoverNodeDetails.compartment_idc C s || _ dS )z� Sets the compartment_id of this CreateRoverNodeDetails. The OCID of the compartment containing the RoverNode. :param compartment_id: The compartment_id of this CreateRoverNodeDetails. :type: str Nrq )rj r rl rl rm r 0 s c C s | j S )z� Gets the shape of this CreateRoverNodeDetails. The shape of the node. :return: The shape of this CreateRoverNodeDetails. :rtype: str �rP rp rl rl rm r < s zCreateRoverNodeDetails.shapec C s || _ dS )z� Sets the shape of this CreateRoverNodeDetails. The shape of the node. :param shape: The shape of this CreateRoverNodeDetails. :type: str Nrr )rj r rl rl rm r H s c C s | j S )z� Gets the customer_shipping_address of this CreateRoverNodeDetails. :return: The customer_shipping_address of this CreateRoverNodeDetails. :rtype: oci.rover.models.ShippingAddress �rQ rp rl rl rm r T s z0CreateRoverNodeDetails.customer_shipping_addressc C s || _ dS )z� Sets the customer_shipping_address of this CreateRoverNodeDetails. :param customer_shipping_address: The customer_shipping_address of this CreateRoverNodeDetails. :type: oci.rover.models.ShippingAddress Nrs )rj r rl rl rm r ^ s c C s | j S )a Gets the node_workloads of this CreateRoverNodeDetails. List of existing workloads that should be provisioned on the node. :return: The node_workloads of this CreateRoverNodeDetails. :rtype: list[oci.rover.models.RoverWorkload] �rR rp rl rl rm r h s z%CreateRoverNodeDetails.node_workloadsc C s || _ dS )a Sets the node_workloads of this CreateRoverNodeDetails. List of existing workloads that should be provisioned on the node. :param node_workloads: The node_workloads of this CreateRoverNodeDetails. :type: list[oci.rover.models.RoverWorkload] Nrt )rj r rl rl rm r t s c C s | j S )z� Gets the super_user_password of this CreateRoverNodeDetails. Root password for the rover node. :return: The super_user_password of this CreateRoverNodeDetails. :rtype: str �rS rp rl rl rm r � s z*CreateRoverNodeDetails.super_user_passwordc C s || _ dS )z� Sets the super_user_password of this CreateRoverNodeDetails. Root password for the rover node. :param super_user_password: The super_user_password of this CreateRoverNodeDetails. :type: str Nru )rj r rl rl rm r � s c C s | j S )z� Gets the unlock_passphrase of this CreateRoverNodeDetails. Passphrase to unlock the rover node. :return: The unlock_passphrase of this CreateRoverNodeDetails. :rtype: str �rT rp rl rl rm r � s z(CreateRoverNodeDetails.unlock_passphrasec C s || _ dS )z� Sets the unlock_passphrase of this CreateRoverNodeDetails. Passphrase to unlock the rover node. :param unlock_passphrase: The unlock_passphrase of this CreateRoverNodeDetails. :type: str Nrv )rj r rl rl rm r � s c C s | j S )z� Gets the point_of_contact of this CreateRoverNodeDetails. Name of point of contact for this order if customer is picking up. :return: The point_of_contact of this CreateRoverNodeDetails. :rtype: str �rU rp rl rl rm r � s z'CreateRoverNodeDetails.point_of_contactc C s || _ dS )a Sets the point_of_contact of this CreateRoverNodeDetails. Name of point of contact for this order if customer is picking up. :param point_of_contact: The point_of_contact of this CreateRoverNodeDetails. :type: str Nrw )rj r rl rl rm r � s c C s | j S )a Gets the point_of_contact_phone_number of this CreateRoverNodeDetails. Phone number of point of contact for this order if customer is picking up. :return: The point_of_contact_phone_number of this CreateRoverNodeDetails. :rtype: str �rV rp rl rl rm r � s z4CreateRoverNodeDetails.point_of_contact_phone_numberc C s || _ dS )a0 Sets the point_of_contact_phone_number of this CreateRoverNodeDetails. Phone number of point of contact for this order if customer is picking up. :param point_of_contact_phone_number: The point_of_contact_phone_number of this CreateRoverNodeDetails. :type: str Nrx )rj r rl rl rm r � s c C s | j S )a( Gets the shipping_preference of this CreateRoverNodeDetails. Preference for device delivery. Allowed values for this property are: "ORACLE_SHIPPED", "CUSTOMER_PICKUP" :return: The shipping_preference of this CreateRoverNodeDetails. :rtype: str )rW rp rl rl rm r � s z*CreateRoverNodeDetails.shipping_preferencec C s* ddg}t ||�s td�|���|| _dS )z� Sets the shipping_preference of this CreateRoverNodeDetails. Preference for device delivery. :param shipping_preference: The shipping_preference of this CreateRoverNodeDetails. :type: str r r zCInvalid value for `shipping_preference`, must be None or one of {0}N)r � ValueError�formatrW )rj r �allowed_valuesrl rl rm r � s ��c C s | j S )z� Gets the shipping_vendor of this CreateRoverNodeDetails. Shipping vendor of choice for orace to customer shipping. :return: The shipping_vendor of this CreateRoverNodeDetails. :rtype: str �rX rp rl rl rm r s z&CreateRoverNodeDetails.shipping_vendorc C s || _ dS )z� Sets the shipping_vendor of this CreateRoverNodeDetails. Shipping vendor of choice for orace to customer shipping. :param shipping_vendor: The shipping_vendor of this CreateRoverNodeDetails. :type: str Nr| )rj r rl rl rm r s c C s | j S )a Gets the time_pickup_expected of this CreateRoverNodeDetails. Expected date when customer wants to pickup the device if they chose customer pickup. :return: The time_pickup_expected of this CreateRoverNodeDetails. :rtype: datetime �rY rp rl rl rm r s z+CreateRoverNodeDetails.time_pickup_expectedc C s || _ dS )a% Sets the time_pickup_expected of this CreateRoverNodeDetails. Expected date when customer wants to pickup the device if they chose customer pickup. :param time_pickup_expected: The time_pickup_expected of this CreateRoverNodeDetails. :type: datetime Nr} )rj r rl rl rm r $ s c C s | j S )z� Gets the public_key of this CreateRoverNodeDetails. The public key of the resource principal :return: The public_key of this CreateRoverNodeDetails. :rtype: str �rZ rp rl rl rm r! 0 s z!CreateRoverNodeDetails.public_keyc C s || _ dS )z� Sets the public_key of this CreateRoverNodeDetails. The public key of the resource principal :param public_key: The public_key of this CreateRoverNodeDetails. :type: str Nr~ )rj r! rl rl rm r! < s c C s | j S )a Gets the time_return_window_starts of this CreateRoverNodeDetails. Start time for the window to pickup the device from customer. :return: The time_return_window_starts of this CreateRoverNodeDetails. :rtype: datetime �r[ rp rl rl rm r"