HEX
Server: Apache
System: Linux box5936.bluehost.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User: aviatjd3 (1318)
PHP: 8.3.32
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/oci/database/models/__pycache__/patch_details.cpython-39.pyc
a

���f#�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdd�Zedd��Zej	dd��Zed	d
��Z
e
j	dd
��Z
edd
��Zej	dd
��Zdd�Zdd�Z
dd�ZdS)�PatchDetailsz�
    The details about what actions to perform and using what patch to the specified target.
    This is part of an update request that is applied to a version field on the target such
    as DB system, Database Home, etc.
    �APPLY�PRECHECKcKs2dddd�|_dddd�|_d|_d|_d|_dS)a�
        Initializes a new PatchDetails object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param patch_id:
            The value to assign to the patch_id property of this PatchDetails.
        :type patch_id: str

        :param database_software_image_id:
            The value to assign to the database_software_image_id property of this PatchDetails.
        :type database_software_image_id: str

        :param action:
            The value to assign to the action property of this PatchDetails.
            Allowed values for this property are: "APPLY", "PRECHECK"
        :type action: str

        �str)�patch_id�database_software_image_id�actionZpatchIdZdatabaseSoftwareImageIdrN)Z
swagger_typesZ
attribute_map�	_patch_id�_database_software_image_id�_action)�self�kwargs�r�E/usr/lib/python3.9/site-packages/oci/database/models/patch_details.py�__init__s��zPatchDetails.__init__cCs|jS)z�
        Gets the patch_id of this PatchDetails.
        The `OCID`__ of the patch.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The patch_id of this PatchDetails.
        :rtype: str
        �r
�rrrrr
?szPatchDetails.patch_idcCs
||_dS)a
        Sets the patch_id of this PatchDetails.
        The `OCID`__ of the patch.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param patch_id: The patch_id of this PatchDetails.
        :type: str
        Nr)rr
rrrr
MscCs|jS)a/
        Gets the database_software_image_id of this PatchDetails.
        The `OCID`__ of the database software image.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The database_software_image_id of this PatchDetails.
        :rtype: str
        �rrrrrr[sz'PatchDetails.database_software_image_idcCs
||_dS)aH
        Sets the database_software_image_id of this PatchDetails.
        The `OCID`__ of the database software image.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param database_software_image_id: The database_software_image_id of this PatchDetails.
        :type: str
        Nr)rrrrrriscCs|jS)z�
        Gets the action of this PatchDetails.
        The action to perform on the patch.

        Allowed values for this property are: "APPLY", "PRECHECK"


        :return: The action of this PatchDetails.
        :rtype: str
        )rrrrrrwszPatchDetails.actioncCs*ddg}t||�s td|����||_dS)z�
        Sets the action of this PatchDetails.
        The action to perform on the patch.


        :param action: The action of this PatchDetails.
        :type: str
        rrz3Invalid value for `action`, must be None or one of N)r�
ValueErrorr)rrZallowed_valuesrrrr�s

�cCst|�S�N)rrrrr�__repr__�szPatchDetails.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherrrr�__eq__�szPatchDetails.__eq__cCs
||kSrrrrrr�__ne__�szPatchDetails.__ne__N)�__name__�
__module__�__qualname__�__doc__ZACTION_APPLYZACTION_PRECHECKr�propertyr
�setterrrrrrrrrrrs&#










rN)Zoci.utilrrrZoci.decoratorsr�objectrrrrr�<module>s