ruạṛ
a ���f�R � @ 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 ZdZdZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Z e jd+d*� �Z ed,d-� �Z!e!jd.d-� �Z!ed/d0� �Z"e"jd1d0� �Z"ed2d3� �Z#e#jd4d3� �Z#ed5d6� �Z$e$jd7d6� �Z$ed8d9� �Z%e%jd:d9� �Z%ed;d<� �Z&e&jd=d<� �Z&ed>d?� �Z'e'jd@d?� �Z'edAdB� �Z(e(jdCdB� �Z(dDdE� Z)dFdG� Z*dHdI� Z+dJS )K�WorkRequestz- A description of workrequest status �INSTALL�UPDATE�REMOVE� UPDATEALL�ENABLEMODULESTREAM�DISABLEMODULESTREAM�SWITCHMODULESTREAM�INSTALLMODULESTREAMPROFILE�REMOVEMODULESTREAMPROFILE�COMPOUND�ACCEPTED�IN_PROGRESS�FAILED� SUCCEEDED� CANCELLING�CANCELED�LINUX�WINDOWS�ALLc 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 WorkRequest 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 WorkRequest. Allowed values for this property are: "INSTALL", "UPDATE", "REMOVE", "UPDATEALL", "ENABLEMODULESTREAM", "DISABLEMODULESTREAM", "SWITCHMODULESTREAM", "INSTALLMODULESTREAMPROFILE", "REMOVEMODULESTREAMPROFILE", "COMPOUND", '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 WorkRequest. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELLING", "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 WorkRequest. :type id: str :param compartment_id: The value to assign to the compartment_id property of this WorkRequest. :type compartment_id: str :param description: The value to assign to the description property of this WorkRequest. :type description: str :param message: The value to assign to the message property of this WorkRequest. :type message: str :param managed_instance_id: The value to assign to the managed_instance_id property of this WorkRequest. :type managed_instance_id: oci.os_management.models.Id :param resources: The value to assign to the resources property of this WorkRequest. :type resources: list[oci.os_management.models.WorkRequestResource] :param percent_complete: The value to assign to the percent_complete property of this WorkRequest. :type percent_complete: float :param time_accepted: The value to assign to the time_accepted property of this WorkRequest. :type time_accepted: datetime :param time_started: The value to assign to the time_started property of this WorkRequest. :type time_started: datetime :param time_finished: The value to assign to the time_finished property of this WorkRequest. :type time_finished: datetime :param os_family: The value to assign to the os_family property of this WorkRequest. Allowed values for this property are: "LINUX", "WINDOWS", "ALL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type os_family: str :param parent_id: The value to assign to the parent_id property of this WorkRequest. :type parent_id: str :param children_ids: The value to assign to the children_ids property of this WorkRequest. :type children_ids: list[str] �strZIdzlist[WorkRequestResource]�floatZdatetimez list[str])�operation_type�status�id�compartment_id�description�message�managed_instance_id� resources�percent_complete� time_accepted�time_started� time_finished� os_family� parent_id�children_idsZ operationTyper r Z compartmentIdr r! ZmanagedInstanceIdr# ZpercentCompleteZtimeAcceptedZtimeStartedZtimeFinishedZosFamilyZparentIdZchildrenIdsN)Z swagger_typesZ attribute_map�_operation_type�_status�_id�_compartment_id�_description�_message�_managed_instance_id� _resources�_percent_complete�_time_accepted� _time_started�_time_finished� _os_family� _parent_id� _children_ids)�self�kwargs� r<