403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.108
Web Server : Apache
System : Linux gator2125.hostgator.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 : cozeellc ( 2980)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /usr/lib/python3.9/site-packages/oci/database/models/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.9/site-packages/oci/database/models/__pycache__/update.cpython-39.pyc
a

���f�8�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@sVeZdZdZdZdZdZdZdZdZ	dZ
dZdZdZ
dZd	Zd
ZdZdZd
d�Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejd d��Zed!d"��Zejd#d"��Zed$d%��Zejd&d%��Zed'd(��Zejd)d(��Zd*d+�Zd,d-�Z d.d/�Z!d0S)1�Updatez
    Update model.
    �
ROLLING_APPLY�NON_ROLLING_APPLY�PRECHECK�ROLLBACK�
GI_UPGRADE�GI_PATCH�	OS_UPDATE�	AVAILABLE�SUCCESS�IN_PROGRESS�FAILEDc
Ksndddddddddd�	|_ddddd	d
ddd
d�	|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
dS)a%	
        Initializes a new Update 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 Update.
        :type id: str

        :param description:
            The value to assign to the description property of this Update.
        :type description: str

        :param last_action:
            The value to assign to the last_action property of this Update.
            Allowed values for this property are: "ROLLING_APPLY", "NON_ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type last_action: str

        :param available_actions:
            The value to assign to the available_actions property of this Update.
            Allowed values for items in this list are: "ROLLING_APPLY", "NON_ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type available_actions: list[str]

        :param update_type:
            The value to assign to the update_type property of this Update.
            Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", "OS_UPDATE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type update_type: str

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this Update.
        :type lifecycle_details: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Update.
            Allowed values for this property are: "AVAILABLE", "SUCCESS", "IN_PROGRESS", "FAILED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param time_released:
            The value to assign to the time_released property of this Update.
        :type time_released: datetime

        :param version:
            The value to assign to the version property of this Update.
        :type version: str

        �strz	list[str]Zdatetime)	�id�description�last_action�available_actions�update_type�lifecycle_details�lifecycle_state�
time_released�versionrrZ
lastActionZavailableActionsZ
updateTypeZlifecycleDetailsZlifecycleStateZtimeReleasedrN)Z
swagger_typesZ
attribute_map�_id�_description�_last_action�_available_actions�_update_type�_lifecycle_details�_lifecycle_state�_time_released�_version)�self�kwargs�r'�>/usr/lib/python3.9/site-packages/oci/database/models/update.py�__init__Ns:3�
�zUpdate.__init__cCs|jS)z�
        **[Required]** Gets the id of this Update.
        The `OCID`__ of the maintenance update.

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


        :return: The id of this Update.
        :rtype: str
        �r�r%r'r'r(r�sz	Update.idcCs
||_dS)z�
        Sets the id of this Update.
        The `OCID`__ of the maintenance update.

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


        :param id: The id of this Update.
        :type: str
        Nr*)r%rr'r'r(r�scCs|jS)z�
        **[Required]** Gets the description of this Update.
        Details of the maintenance update package.


        :return: The description of this Update.
        :rtype: str
        �rr+r'r'r(r�s
zUpdate.descriptioncCs
||_dS)z�
        Sets the description of this Update.
        Details of the maintenance update package.


        :param description: The description of this Update.
        :type: str
        Nr,)r%rr'r'r(r�s
cCs|jS)a�
        Gets the last_action of this Update.
        The previous update action performed.

        Allowed values for this property are: "ROLLING_APPLY", "NON_ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The last_action of this Update.
        :rtype: str
        )rr+r'r'r(r�s
zUpdate.last_actioncCs gd�}t||�sd}||_dS)z�
        Sets the last_action of this Update.
        The previous update action performed.


        :param last_action: The last_action of this Update.
        :type: str
        �rrr	r
�UNKNOWN_ENUM_VALUEN)rr)r%r�allowed_valuesr'r'r(r�s

cCs|jS)a�
        Gets the available_actions of this Update.
        The possible actions performed by the update operation on the infrastructure components.

        Allowed values for items in this list are: "ROLLING_APPLY", "NON_ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The available_actions of this Update.
        :rtype: list[str]
        �rr+r'r'r(r�s
zUpdate.available_actionscs0gd��|r&�fdd�|D�|dd�<||_dS)a
        Sets the available_actions of this Update.
        The possible actions performed by the update operation on the infrastructure components.


        :param available_actions: The available_actions of this Update.
        :type: list[str]
        r-csg|]}t|��sdn|�qS)r.)r)�.0�x�r/r'r(�
<listcomp>�z,Update.available_actions.<locals>.<listcomp>Nr0)r%rr'r3r(rs
cCs|jS)a�
        **[Required]** Gets the update_type of this Update.
        The type of cloud VM cluster maintenance update.

        Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", "OS_UPDATE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The update_type of this Update.
        :rtype: str
        )r r+r'r'r(rs
zUpdate.update_typecCs gd�}t||�sd}||_dS)z�
        Sets the update_type of this Update.
        The type of cloud VM cluster maintenance update.


        :param update_type: The update_type of this Update.
        :type: str
        )rrr
r.N)rr )r%rr/r'r'r(r!s

cCs|jS)z�
        Gets the lifecycle_details of this Update.
        Descriptive text providing additional details about the lifecycle state.


        :return: The lifecycle_details of this Update.
        :rtype: str
        �r!r+r'r'r(r0s
zUpdate.lifecycle_detailscCs
||_dS)z�
        Sets the lifecycle_details of this Update.
        Descriptive text providing additional details about the lifecycle state.


        :param lifecycle_details: The lifecycle_details of this Update.
        :type: str
        Nr6)r%rr'r'r(r<s
cCs|jS)a�
        Gets the lifecycle_state of this Update.
        The current state of the maintenance update. Dependent on value of `lastAction`.

        Allowed values for this property are: "AVAILABLE", "SUCCESS", "IN_PROGRESS", "FAILED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Update.
        :rtype: str
        )r"r+r'r'r(rHs
zUpdate.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this Update.
        The current state of the maintenance update. Dependent on value of `lastAction`.


        :param lifecycle_state: The lifecycle_state of this Update.
        :type: str
        )rrrrr.N)rr")r%rr/r'r'r(rWs

cCs|jS)z�
        **[Required]** Gets the time_released of this Update.
        The date and time the maintenance update was released.


        :return: The time_released of this Update.
        :rtype: datetime
        �r#r+r'r'r(rfs
zUpdate.time_releasedcCs
||_dS)z�
        Sets the time_released of this Update.
        The date and time the maintenance update was released.


        :param time_released: The time_released of this Update.
        :type: datetime
        Nr7)r%rr'r'r(rrs
cCs|jS)z�
        **[Required]** Gets the version of this Update.
        The version of the maintenance update package.


        :return: The version of this Update.
        :rtype: str
        �r$r+r'r'r(r~s
zUpdate.versioncCs
||_dS)z�
        Sets the version of this Update.
        The version of the maintenance update package.


        :param version: The version of this Update.
        :type: str
        Nr8)r%rr'r'r(r�s
cCst|�S�N)rr+r'r'r(�__repr__�szUpdate.__repr__cCs|durdS|j|jkS)NF)�__dict__�r%�otherr'r'r(�__eq__�sz
Update.__eq__cCs
||kSr9r'r<r'r'r(�__ne__�sz
Update.__ne__N)"�__name__�
__module__�__qualname__�__doc__ZLAST_ACTION_ROLLING_APPLYZLAST_ACTION_NON_ROLLING_APPLYZLAST_ACTION_PRECHECKZLAST_ACTION_ROLLBACKZAVAILABLE_ACTIONS_ROLLING_APPLYZ#AVAILABLE_ACTIONS_NON_ROLLING_APPLYZAVAILABLE_ACTIONS_PRECHECKZAVAILABLE_ACTIONS_ROLLBACKZUPDATE_TYPE_GI_UPGRADEZUPDATE_TYPE_GI_PATCHZUPDATE_TYPE_OS_UPDATEZLIFECYCLE_STATE_AVAILABLEZLIFECYCLE_STATE_SUCCESSZLIFECYCLE_STATE_IN_PROGRESSZLIFECYCLE_STATE_FAILEDr)�propertyr�setterrrrrrrrrr:r>r?r'r'r'r(rspT



















rN)Zoci.utilrrrZoci.decoratorsr�objectrr'r'r'r(�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit