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__/patch.cpython-39.opt-1.pyc
a

���f�,�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s eZdZdZdZdZdZdZdZdZ	dZ
dZdd	�Ze
d
d��Zejdd��Ze
d
d��Zejdd��Ze
dd��Zejdd��Ze
dd��Zejdd��Ze
dd��Zejdd��Ze
dd��Zejdd��Ze
dd��Zejdd��Ze
dd ��Zejd!d ��Zd"d#�Zd$d%�Zd&d'�Zd(S))�Patchz
    Patch model.
    �APPLY�PRECHECK�	AVAILABLE�SUCCESS�IN_PROGRESS�FAILEDc	Ksdddddddddd�|_ddddd	d
ddd�|_d
|_d
|_d
|_d
|_d
|_d
|_d
|_d
|_	d
S)aq
        Initializes a new Patch 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 Patch.
        :type id: str

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

        :param last_action:
            The value to assign to the last_action property of this Patch.
            Allowed values for this property are: "APPLY", "PRECHECK", '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 Patch.
            Allowed values for items in this list are: "APPLY", "PRECHECK", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type available_actions: list[str]

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

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Patch.
            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 Patch.
        :type time_released: datetime

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

        �strz	list[str]Zdatetime)�id�description�last_action�available_actions�lifecycle_details�lifecycle_state�
time_released�versionrrZ
lastActionZavailableActionsZlifecycleDetailsZlifecycleStateZtimeReleasedrN)
Z
swagger_typesZ
attribute_map�_id�_description�_last_action�_available_actions�_lifecycle_details�_lifecycle_state�_time_released�_version)�self�kwargs�r �=/usr/lib/python3.9/site-packages/oci/database/models/patch.py�__init__2s4-��zPatch.__init__cCs|jS)z�
        **[Required]** Gets the id of this Patch.
        The `OCID`__ of the patch.

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


        :return: The id of this Patch.
        :rtype: str
        �r�rr r r!r}szPatch.idcCs
||_dS)z�
        Sets the id of this Patch.
        The `OCID`__ of the patch.

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


        :param id: The id of this Patch.
        :type: str
        Nr#)rrr r r!r�scCs|jS)z�
        **[Required]** Gets the description of this Patch.
        The text describing this patch package.


        :return: The description of this Patch.
        :rtype: str
        �rr$r r r!r�s
zPatch.descriptioncCs
||_dS)z�
        Sets the description of this Patch.
        The text describing this patch package.


        :param description: The description of this Patch.
        :type: str
        Nr%)rrr r r!r�s
cCs|jS)a{
        Gets the last_action of this Patch.
        Action that is currently being performed or was completed last.

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


        :return: The last_action of this Patch.
        :rtype: str
        )rr$r r r!r�s
zPatch.last_actioncCs ddg}t||�sd}||_dS)z�
        Sets the last_action of this Patch.
        Action that is currently being performed or was completed last.


        :param last_action: The last_action of this Patch.
        :type: str
        rr�UNKNOWN_ENUM_VALUEN)rr)rr�allowed_valuesr r r!r�s

cCs|jS)a�
        Gets the available_actions of this Patch.
        Actions that can possibly be performed using this patch.

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


        :return: The available_actions of this Patch.
        :rtype: list[str]
        �rr$r r r!r�s
zPatch.available_actionscs0ddg�|r&�fdd�|D�|dd�<||_dS)z�
        Sets the available_actions of this Patch.
        Actions that can possibly be performed using this patch.


        :param available_actions: The available_actions of this Patch.
        :type: list[str]
        rrcsg|]}t|��sdn|�qS)r&)r)�.0�x�r'r r!�
<listcomp>��z+Patch.available_actions.<locals>.<listcomp>Nr()rrr r+r!r�s
cCs|jS)a
        Gets the lifecycle_details of this Patch.
        A descriptive text associated with the lifecycleState.
        Typically can contain additional displayable text.


        :return: The lifecycle_details of this Patch.
        :rtype: str
        �rr$r r r!r�szPatch.lifecycle_detailscCs
||_dS)a
        Sets the lifecycle_details of this Patch.
        A descriptive text associated with the lifecycleState.
        Typically can contain additional displayable text.


        :param lifecycle_details: The lifecycle_details of this Patch.
        :type: str
        Nr.)rrr r r!r�scCs|jS)a�
        Gets the lifecycle_state of this Patch.
        The current state of the patch as a result 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 Patch.
        :rtype: str
        )rr$r r r!rs
zPatch.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this Patch.
        The current state of the patch as a result of lastAction.


        :param lifecycle_state: The lifecycle_state of this Patch.
        :type: str
        )r	r
rrr&N)rr)rrr'r r r!rs

cCs|jS)z�
        **[Required]** Gets the time_released of this Patch.
        The date and time that the patch was released.


        :return: The time_released of this Patch.
        :rtype: datetime
        �rr$r r r!r%s
zPatch.time_releasedcCs
||_dS)z�
        Sets the time_released of this Patch.
        The date and time that the patch was released.


        :param time_released: The time_released of this Patch.
        :type: datetime
        Nr/)rrr r r!r1s
cCs|jS)z�
        **[Required]** Gets the version of this Patch.
        The version of this patch package.


        :return: The version of this Patch.
        :rtype: str
        �rr$r r r!r=s
z
Patch.versioncCs
||_dS)z�
        Sets the version of this Patch.
        The version of this patch package.


        :param version: The version of this Patch.
        :type: str
        Nr0)rrr r r!rIs
cCst|�S�N)rr$r r r!�__repr__UszPatch.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherr r r!�__eq__XszPatch.__eq__cCs
||kSr1r r4r r r!�__ne__^szPatch.__ne__N)�__name__�
__module__�__qualname__�__doc__ZLAST_ACTION_APPLYZLAST_ACTION_PRECHECKZAVAILABLE_ACTIONS_APPLYZAVAILABLE_ACTIONS_PRECHECKZLIFECYCLE_STATE_AVAILABLEZLIFECYCLE_STATE_SUCCESSZLIFECYCLE_STATE_IN_PROGRESSZLIFECYCLE_STATE_FAILEDr"�propertyr�setterrrrrrrrr2r6r7r r r r!rsZK

















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

Youez - 2016 - github.com/yon3zu
LinuXploit