ruạṛ
a N��f� � @ 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 ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zdd� Z dd� Zdd� ZdS )�PatchHistorySummaryz( Patch history of this cluster. � INSTALLING� INSTALLED�FAILEDc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )ae Initializes a new PatchHistorySummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param version: The value to assign to the version property of this PatchHistorySummary. :type version: str :param lifecycle_state: The value to assign to the lifecycle_state property of this PatchHistorySummary. Allowed values for this property are: "INSTALLING", "INSTALLED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param time_updated: The value to assign to the time_updated property of this PatchHistorySummary. :type time_updated: datetime �str�datetime)�version�lifecycle_state�time_updatedr �lifecycleState�timeUpdatedN)� swagger_types� attribute_map�_version�_lifecycle_state� _time_updated)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/bds/models/patch_history_summary.py�__init__ s ��zPatchHistorySummary.__init__c C s | j S )z� **[Required]** Gets the version of this PatchHistorySummary. The version of the patch. :return: The version of this PatchHistorySummary. :rtype: str �r �r r r r r @ s zPatchHistorySummary.versionc C s || _ dS )z� Sets the version of this PatchHistorySummary. The version of the patch. :param version: The version of this PatchHistorySummary. :type: str Nr )r r r r r r L s c C s | j S )a� **[Required]** Gets the lifecycle_state of this PatchHistorySummary. The status of this patch. Allowed values for this property are: "INSTALLING", "INSTALLED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this PatchHistorySummary. :rtype: str )r r r r r r X s z#PatchHistorySummary.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this PatchHistorySummary. The status of this patch. :param lifecycle_state: The lifecycle_state of this PatchHistorySummary. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r g s c C s | j S )z� **[Required]** Gets the time_updated of this PatchHistorySummary. The time when the patch history was last updated. :return: The time_updated of this PatchHistorySummary. :rtype: datetime �r r r r r r v s z PatchHistorySummary.time_updatedc C s || _ dS )z� Sets the time_updated of this PatchHistorySummary. The time when the patch history was last updated. :param time_updated: The time_updated of this PatchHistorySummary. :type: datetime Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zPatchHistorySummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zPatchHistorySummary.__eq__c C s | |k S r r r# r r r �__ne__� s zPatchHistorySummary.__ne__N)�__name__� __module__�__qualname__�__doc__�LIFECYCLE_STATE_INSTALLING�LIFECYCLE_STATE_INSTALLED�LIFECYCLE_STATE_FAILEDr �propertyr �setterr r r! r% r&