ruạṛ
a ���flL � @ 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 ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dd � 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� TERMINATEDc K s� dddddddddddddddd�| _ dd d ddd 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_tagsr Z compartmentIdZdisplayNameZ dbVersionZ releaseUpdateZ oneOffPatchesZ sizeInKBsZlifecycleStateZlifecycleDetailsZ sha256SumZtimeUpdatedZtimeCreatedZtimeOfExpirationZfreeformTagsZdefinedTagsN)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__c C s | j S )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"