ruạṛ
a ���fEM � @ 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 dZd ZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Zejd)d(� �Zed*d+� �Zejd,d+� �Zed-d.� �Z e jd/d.� �Z ed0d1� �Z!e!jd2d1� �Z!ed3d4� �Z"e"jd5d4� �Z"ed6d7� �Z#e#jd8d7� �Z#d9d:� Z$d;d<� Z%d=d>� Z&d?S )@�WorkRequestSummaryz4 A summary of the status of a work request. �CREATE_REMEDIATION_RECIPE�DELETE_REMEDIATION_RECIPE�MOVE_REMEDIATION_RECIPE�UPDATE_REMEDIATION_RECIPE�ACTIVATE_REMEDIATION_RECIPE�DEACTIVATE_REMEDIATION_RECIPE�CREATE_KNOWLEDGE_BASE�DELETE_KNOWLEDGE_BASE�MOVE_KNOWLEDGE_BASE�UPDATE_KNOWLEDGE_BASE�ACCEPTED�IN_PROGRESS�WAITING�FAILED� SUCCEEDED� CANCELING�CANCELEDc K s� ddddddddddddd�| _ dd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a� Initializes a new WorkRequestSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param operation_type: The value to assign to the operation_type property of this WorkRequestSummary. Allowed values for this property are: "CREATE_REMEDIATION_RECIPE", "DELETE_REMEDIATION_RECIPE", "MOVE_REMEDIATION_RECIPE", "UPDATE_REMEDIATION_RECIPE", "ACTIVATE_REMEDIATION_RECIPE", "DEACTIVATE_REMEDIATION_RECIPE", "CREATE_KNOWLEDGE_BASE", "DELETE_KNOWLEDGE_BASE", "MOVE_KNOWLEDGE_BASE", "UPDATE_KNOWLEDGE_BASE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operation_type: str :param status: The value to assign to the status property of this WorkRequestSummary. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param id: The value to assign to the id property of this WorkRequestSummary. :type id: str :param compartment_id: The value to assign to the compartment_id property of this WorkRequestSummary. :type compartment_id: str :param resources: The value to assign to the resources property of this WorkRequestSummary. :type resources: list[oci.adm.models.WorkRequestResource] :param percent_complete: The value to assign to the percent_complete property of this WorkRequestSummary. :type percent_complete: float :param time_accepted: The value to assign to the time_accepted property of this WorkRequestSummary. :type time_accepted: datetime :param time_started: The value to assign to the time_started property of this WorkRequestSummary. :type time_started: datetime :param time_finished: The value to assign to the time_finished property of this WorkRequestSummary. :type time_finished: datetime :param freeform_tags: The value to assign to the freeform_tags property of this WorkRequestSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this WorkRequestSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this WorkRequestSummary. :type system_tags: dict(str, dict(str, object)) �strzlist[WorkRequestResource]�floatZdatetimezdict(str, str)zdict(str, dict(str, object)))�operation_type�status�id�compartment_id� resources�percent_complete� time_accepted�time_started� time_finished� freeform_tags�defined_tags�system_tagsZ operationTyper r Z compartmentIdr ZpercentCompleteZtimeAcceptedZtimeStartedZtimeFinishedZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_operation_type�_status�_id�_compartment_id� _resources�_percent_complete�_time_accepted� _time_started�_time_finished�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r4 �G/usr/lib/python3.9/site-packages/oci/adm/models/work_request_summary.py�__init__V sL ;��zWorkRequestSummary.__init__c C s | j S )a� **[Required]** Gets the operation_type of this WorkRequestSummary. Type of the work request Allowed values for this property are: "CREATE_REMEDIATION_RECIPE", "DELETE_REMEDIATION_RECIPE", "MOVE_REMEDIATION_RECIPE", "UPDATE_REMEDIATION_RECIPE", "ACTIVATE_REMEDIATION_RECIPE", "DEACTIVATE_REMEDIATION_RECIPE", "CREATE_KNOWLEDGE_BASE", "DELETE_KNOWLEDGE_BASE", "MOVE_KNOWLEDGE_BASE", "UPDATE_KNOWLEDGE_BASE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The operation_type of this WorkRequestSummary. :rtype: str )r&