ruạṛ
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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�InstallPatchDetailszA The reqeust body while installing a patch to a cluster. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new InstallPatchDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param version: The value to assign to the version property of this InstallPatchDetails. :type version: str :param cluster_admin_password: The value to assign to the cluster_admin_password property of this InstallPatchDetails. :type cluster_admin_password: str :param patching_config: The value to assign to the patching_config property of this InstallPatchDetails. :type patching_config: oci.bds.models.OdhPatchingConfig �strZOdhPatchingConfig)�version�cluster_admin_password�patching_configr ZclusterAdminPasswordZpatchingConfigN)Z swagger_typesZ attribute_map�_version�_cluster_admin_password�_patching_config)�self�kwargs� r �H/usr/lib/python3.9/site-packages/oci/bds/models/install_patch_details.py�__init__ s ��zInstallPatchDetails.__init__c C s | j S )z� **[Required]** Gets the version of this InstallPatchDetails. The version of the patch to be installed. :return: The version of this InstallPatchDetails. :rtype: str �r �r r r r r 4 s zInstallPatchDetails.versionc C s || _ dS )z� Sets the version of this InstallPatchDetails. The version of the patch to be installed. :param version: The version of this InstallPatchDetails. :type: str Nr )r r r r r r @ s c C s | j S )z� **[Required]** Gets the cluster_admin_password of this InstallPatchDetails. Base-64 encoded password for the cluster admin user. :return: The cluster_admin_password of this InstallPatchDetails. :rtype: str �r r r r r r L s z*InstallPatchDetails.cluster_admin_passwordc C s || _ dS )z� Sets the cluster_admin_password of this InstallPatchDetails. Base-64 encoded password for the cluster admin user. :param cluster_admin_password: The cluster_admin_password of this InstallPatchDetails. :type: str Nr )r r r r r r X s c C s | j S )z� Gets the patching_config of this InstallPatchDetails. :return: The patching_config of this InstallPatchDetails. :rtype: oci.bds.models.OdhPatchingConfig �r r r r r r d s z#InstallPatchDetails.patching_configc C s || _ dS )z� Sets the patching_config of this InstallPatchDetails. :param patching_config: The patching_config of this InstallPatchDetails. :type: oci.bds.models.OdhPatchingConfig Nr )r r r r r r n s c C s t | �S �N)r r r r r �__repr__x s zInstallPatchDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__{ s zInstallPatchDetails.__eq__c C s | |k S r r r r r r �__ne__� s zInstallPatchDetails.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"