ruạṛ
a N��fa8 � @ 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 @ sV e Zd ZdZdZdZdZdZdZdZ dZ dZdZdZ dZd Zd ZdZdZd 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 K sn dddddddddd� | _ ddddd d ddd 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]�datetime) �id�description�last_action�available_actions�update_type�lifecycle_details�lifecycle_state� time_released�versionr r � lastAction�availableActions� updateType�lifecycleDetails�lifecycleState�timeReleasedr N)� swagger_types� attribute_map�_id�_description�_last_action�_available_actions�_update_type�_lifecycle_details�_lifecycle_state�_time_released�_version)�self�kwargs� r0 �~/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/update.py�__init__L s: 3� �zUpdate.__init__c C s | j S )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. r0 r0 r1 r � s z Update.idc C s || _ 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 Nr3 )r. r r0 r0 r1 r � s c C s | j S )z� **[Required]** Gets the description of this Update. Details of the maintenance update package. :return: The description of this Update. :rtype: str �r&