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__/oneoff_patch.cpython-39.pyc
a

���flL�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dd
�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��Zd;d<�Z d=d>�Z!d?d@�Z"dAS)B�OneoffPatchzo
    One-off patches are created by specifying a database version, releaseUpdate and one-off patch number.
    �CREATING�	AVAILABLE�UPDATING�INACTIVE�FAILED�EXPIRED�DELETING�DELETED�TERMINATING�
TERMINATEDcKs�dddddddddddddddd�|_dd	d
ddd
dddddddddd�|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
d|_d|_d|_dS)a�

        Initializes a new OneoffPatch 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 OneoffPatch.
        :type id: str

        :param compartment_id:
            The value to assign to the compartment_id property of this OneoffPatch.
        :type compartment_id: str

        :param display_name:
            The value to assign to the display_name property of this OneoffPatch.
        :type display_name: str

        :param db_version:
            The value to assign to the db_version property of this OneoffPatch.
        :type db_version: str

        :param release_update:
            The value to assign to the release_update property of this OneoffPatch.
        :type release_update: str

        :param one_off_patches:
            The value to assign to the one_off_patches property of this OneoffPatch.
        :type one_off_patches: list[str]

        :param size_in_kbs:
            The value to assign to the size_in_kbs property of this OneoffPatch.
        :type size_in_kbs: float

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this OneoffPatch.
            Allowed values for this property are: "CREATING", "AVAILABLE", "UPDATING", "INACTIVE", "FAILED", "EXPIRED", "DELETING", "DELETED", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

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

        :param sha256_sum:
            The value to assign to the sha256_sum property of this OneoffPatch.
        :type sha256_sum: str

        :param time_updated:
            The value to assign to the time_updated property of this OneoffPatch.
        :type time_updated: datetime

        :param time_created:
            The value to assign to the time_created property of this OneoffPatch.
        :type time_created: datetime

        :param time_of_expiration:
            The value to assign to the time_of_expiration property of this OneoffPatch.
        :type time_of_expiration: datetime

        :param freeform_tags:
            The value to assign to the freeform_tags property of this OneoffPatch.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this OneoffPatch.
        :type defined_tags: dict(str, dict(str, object))

        �strz	list[str]�floatZdatetimezdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name�
db_version�release_update�one_off_patches�size_in_kbs�lifecycle_state�lifecycle_details�
sha256_sum�time_updated�time_created�time_of_expiration�
freeform_tags�defined_tagsrZ
compartmentIdZdisplayNameZ	dbVersionZ
releaseUpdateZ
oneOffPatchesZ	sizeInKBsZlifecycleStateZlifecycleDetailsZ	sha256SumZtimeUpdatedZtimeCreatedZtimeOfExpirationZfreeformTagsZdefinedTagsN)Z
swagger_typesZ
attribute_map�_id�_compartment_id�
_display_name�_db_version�_release_update�_one_off_patches�_size_in_kbs�_lifecycle_state�_lifecycle_details�_sha256_sum�
_time_updated�
_time_created�_time_of_expiration�_freeform_tags�
_defined_tags)�self�kwargs�r3�D/usr/lib/python3.9/site-packages/oci/database/models/oneoff_patch.py�__init__:s^E��zOneoffPatch.__init__cCs|jS)a
        **[Required]** Gets the id of this OneoffPatch.
        The `OCID`__ of the one-off patch.

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


        :return: The id of this OneoffPatch.
        :rtype: str
        �r"�r1r3r3r4r�szOneoffPatch.idcCs
||_dS)z�
        Sets the id of this OneoffPatch.
        The `OCID`__ of the one-off patch.

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


        :param id: The id of this OneoffPatch.
        :type: str
        Nr6)r1rr3r3r4r�scCs|jS)a
        **[Required]** Gets the compartment_id of this OneoffPatch.
        The `OCID`__ of the compartment.

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


        :return: The compartment_id of this OneoffPatch.
        :rtype: str
        �r#r7r3r3r4r�szOneoffPatch.compartment_idcCs
||_dS)a
        Sets the compartment_id of this OneoffPatch.
        The `OCID`__ of the compartment.

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


        :param compartment_id: The compartment_id of this OneoffPatch.
        :type: str
        Nr8)r1rr3r3r4r�scCs|jS)z�
        **[Required]** Gets the display_name of this OneoffPatch.
        One-off patch name.


        :return: The display_name of this OneoffPatch.
        :rtype: str
        �r$r7r3r3r4r�s
zOneoffPatch.display_namecCs
||_dS)z�
        Sets the display_name of this OneoffPatch.
        One-off patch name.


        :param display_name: The display_name of this OneoffPatch.
        :type: str
        Nr9)r1rr3r3r4r�s
cCs|jS)am
        **[Required]** Gets the db_version of this OneoffPatch.
        A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.

        This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.


        :return: The db_version of this OneoffPatch.
        :rtype: str
        �r%r7r3r3r4rszOneoffPatch.db_versioncCs
||_dS)ag
        Sets the db_version of this OneoffPatch.
        A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.

        This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.


        :param db_version: The db_version of this OneoffPatch.
        :type: str
        Nr:)r1rr3r3r4rscCs|jS)a
        **[Required]** Gets the release_update of this OneoffPatch.
        The PSU or PBP or Release Updates. To get a list of supported versions, use the :func:`list_db_versions` operation.


        :return: The release_update of this OneoffPatch.
        :rtype: str
        �r&r7r3r3r4rs
zOneoffPatch.release_updatecCs
||_dS)a
        Sets the release_update of this OneoffPatch.
        The PSU or PBP or Release Updates. To get a list of supported versions, use the :func:`list_db_versions` operation.


        :param release_update: The release_update of this OneoffPatch.
        :type: str
        Nr;)r1rr3r3r4r*s
cCs|jS)z�
        Gets the one_off_patches of this OneoffPatch.
        List of one-off patches for Database Homes.


        :return: The one_off_patches of this OneoffPatch.
        :rtype: list[str]
        �r'r7r3r3r4r6s
zOneoffPatch.one_off_patchescCs
||_dS)z�
        Sets the one_off_patches of this OneoffPatch.
        List of one-off patches for Database Homes.


        :param one_off_patches: The one_off_patches of this OneoffPatch.
        :type: list[str]
        Nr<)r1rr3r3r4rBs
cCs|jS)z�
        Gets the size_in_kbs of this OneoffPatch.
        The size of one-off patch in kilobytes.


        :return: The size_in_kbs of this OneoffPatch.
        :rtype: float
        �r(r7r3r3r4rNs
zOneoffPatch.size_in_kbscCs
||_dS)z�
        Sets the size_in_kbs of this OneoffPatch.
        The size of one-off patch in kilobytes.


        :param size_in_kbs: The size_in_kbs of this OneoffPatch.
        :type: float
        Nr=)r1rr3r3r4rZs
cCs|jS)a�
        **[Required]** Gets the lifecycle_state of this OneoffPatch.
        The current state of the one-off patch.

        Allowed values for this property are: "CREATING", "AVAILABLE", "UPDATING", "INACTIVE", "FAILED", "EXPIRED", "DELETING", "DELETED", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this OneoffPatch.
        :rtype: str
        )r)r7r3r3r4rfs
zOneoffPatch.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this OneoffPatch.
        The current state of the one-off patch.


        :param lifecycle_state: The lifecycle_state of this OneoffPatch.
        :type: str
        )
rrr	r
rrr
rrrZUNKNOWN_ENUM_VALUEN)rr))r1rZallowed_valuesr3r3r4rus

cCs|jS)z�
        Gets the lifecycle_details of this OneoffPatch.
        Detailed message for the lifecycle state.


        :return: The lifecycle_details of this OneoffPatch.
        :rtype: str
        �r*r7r3r3r4r�s
zOneoffPatch.lifecycle_detailscCs
||_dS)z�
        Sets the lifecycle_details of this OneoffPatch.
        Detailed message for the lifecycle state.


        :param lifecycle_details: The lifecycle_details of this OneoffPatch.
        :type: str
        Nr>)r1rr3r3r4r�s
cCs|jS)z�
        Gets the sha256_sum of this OneoffPatch.
        SHA-256 checksum of the one-off patch.


        :return: The sha256_sum of this OneoffPatch.
        :rtype: str
        �r+r7r3r3r4r�s
zOneoffPatch.sha256_sumcCs
||_dS)z�
        Sets the sha256_sum of this OneoffPatch.
        SHA-256 checksum of the one-off patch.


        :param sha256_sum: The sha256_sum of this OneoffPatch.
        :type: str
        Nr?)r1rr3r3r4r�s
cCs|jS)z�
        Gets the time_updated of this OneoffPatch.
        The date and time one-off patch was updated.


        :return: The time_updated of this OneoffPatch.
        :rtype: datetime
        �r,r7r3r3r4r�s
zOneoffPatch.time_updatedcCs
||_dS)z�
        Sets the time_updated of this OneoffPatch.
        The date and time one-off patch was updated.


        :param time_updated: The time_updated of this OneoffPatch.
        :type: datetime
        Nr@)r1rr3r3r4r�s
cCs|jS)z�
        **[Required]** Gets the time_created of this OneoffPatch.
        The date and time one-off patch was created.


        :return: The time_created of this OneoffPatch.
        :rtype: datetime
        �r-r7r3r3r4r�s
zOneoffPatch.time_createdcCs
||_dS)z�
        Sets the time_created of this OneoffPatch.
        The date and time one-off patch was created.


        :param time_created: The time_created of this OneoffPatch.
        :type: datetime
        NrA)r1rr3r3r4r�s
cCs|jS)z�
        Gets the time_of_expiration of this OneoffPatch.
        The date and time until which the one-off patch will be available for download.


        :return: The time_of_expiration of this OneoffPatch.
        :rtype: datetime
        �r.r7r3r3r4r�s
zOneoffPatch.time_of_expirationcCs
||_dS)a
        Sets the time_of_expiration of this OneoffPatch.
        The date and time until which the one-off patch will be available for download.


        :param time_of_expiration: The time_of_expiration of this OneoffPatch.
        :type: datetime
        NrB)r1rr3r3r4r�s
cCs|jS)a�
        Gets the freeform_tags of this OneoffPatch.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Department": "Finance"}`

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


        :return: The freeform_tags of this OneoffPatch.
        :rtype: dict(str, str)
        �r/r7r3r3r4r �szOneoffPatch.freeform_tagscCs
||_dS)a�
        Sets the freeform_tags of this OneoffPatch.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Department": "Finance"}`

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


        :param freeform_tags: The freeform_tags of this OneoffPatch.
        :type: dict(str, str)
        NrC)r1r r3r3r4r 
scCs|jS)a�
        Gets the defined_tags of this OneoffPatch.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

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


        :return: The defined_tags of this OneoffPatch.
        :rtype: dict(str, dict(str, object))
        �r0r7r3r3r4r!s
zOneoffPatch.defined_tagscCs
||_dS)a�
        Sets the defined_tags of this OneoffPatch.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

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


        :param defined_tags: The defined_tags of this OneoffPatch.
        :type: dict(str, dict(str, object))
        NrD)r1r!r3r3r4r!-s
cCst|�S�N)rr7r3r3r4�__repr__<szOneoffPatch.__repr__cCs|durdS|j|jkS)NF)�__dict__�r1�otherr3r3r4�__eq__?szOneoffPatch.__eq__cCs
||kSrEr3rHr3r3r4�__ne__EszOneoffPatch.__ne__N)#�__name__�
__module__�__qualname__�__doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_AVAILABLEZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_EXPIREDZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_TERMINATINGZLIFECYCLE_STATE_TERMINATEDr5�propertyr�setterrrrrrrrrrrrrr r!rFrJrKr3r3r3r4rs�x



































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

Youez - 2016 - github.com/yon3zu
LinuXploit