ruạṛ
a ���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 ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.d-d.� Z/e0d/d0� �Z1e1j2d1d0� �Z1e0d2d3� �Z3e3j2d4d3� �Z3e0d5d6� �Z4e4j2d7d6� �Z4e0d8d9� �Z5e5j2d:d9� �Z5e0d;d<� �Z6e6j2d=d<� �Z6e0d>d?� �Z7e7j2d@d?� �Z7e0dAdB� �Z8e8j2dCdB� �Z8e0dDdE� �Z9e9j2dFdE� �Z9e0dGdH� �Z:e:j2dIdH� �Z:e0dJdK� �Z;e;j2dLdK� �Z;e0dMdN� �Z<e<j2dOdN� �Z<e0dPdQ� �Z=e=j2dRdQ� �Z=e0dSdT� �Z>e>j2dUdT� �Z>e0dVdW� �Z?e?j2dXdW� �Z?e0dYdZ� �Z@e@j2d[dZ� �Z@e0d\d]� �ZAeAj2d^d]� �ZAe0d_d`� �ZBeBj2dad`� �ZBe0dbdc� �ZCeCj2dddc� �ZCe0dedf� �ZDeDj2dgdf� �ZDe0dhdi� �ZEeEj2djdi� �ZEe0dkdl� �ZFeFj2dmdl� �ZFe0dndo� �ZGeGj2dpdo� �ZGe0dqdr� �ZHeHj2dsdr� �ZHe0dtdu� �ZIeIj2dvdu� �ZIe0dwdx� �ZJeJj2dydx� �ZJe0dzd{� �ZKeKj2d|d{� �ZKe0d}d~� �ZLeLj2dd~� �ZLd�d�� ZMd�d�� ZNd�d�� ZOd�S )��WorkRequestz0 An object that defines a work request. �INSTALL_PACKAGES�REMOVE_PACKAGES�UPDATE_PACKAGES�UPDATE_ALL_PACKAGES�UPDATE_SECURITY� UPDATE_BUGFIX�UPDATE_ENHANCEMENT�UPDATE_OTHER�UPDATE_KSPLICE_KERNEL�UPDATE_KSPLICE_USERSPACE�ENABLE_MODULE_STREAMS�DISABLE_MODULE_STREAMS�SWITCH_MODULE_STREAM�INSTALL_MODULE_PROFILES�REMOVE_MODULE_PROFILES�SET_SOFTWARE_SOURCES� LIST_PACKAGES�SET_MANAGEMENT_STATION_CONFIG�SYNC_MANAGEMENT_STATION_MIRROR�"UPDATE_MANAGEMENT_STATION_SOFTWARE�UPDATE�MODULE_ACTIONS�LIFECYCLE_PROMOTION�CREATE_SOFTWARE_SOURCE�UPDATE_SOFTWARE_SOURCE�IMPORT_CONTENT�SYNC_AGENT_CONFIG�INSTALL_WINDOWS_UPDATES�LIST_WINDOWS_UPDATE�GET_WINDOWS_UPDATE_DETAILS�INSTALL_ALL_WINDOWS_UPDATES� INSTALL_SECURITY_WINDOWS_UPDATES�INSTALL_BUGFIX_WINDOWS_UPDATES�#INSTALL_ENHANCEMENT_WINDOWS_UPDATES�INSTALL_OTHER_WINDOWS_UPDATES�REMOVE_CONTENT�UNREGISTER_MANAGED_INSTANCE�ACCEPTED�IN_PROGRESS�FAILED� SUCCEEDED� CANCELING�CANCELEDc K s" ddddddddddddddddddddddddddd d �| _ ddd ddddddddddddddddddd d!d"d#d$d%d �| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _ d&| _ d&| _d&| _d&| _ d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&| _d&S )'aH 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_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", '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", "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 WorkRequest. :type id: str :param description: The value to assign to the description property of this WorkRequest. :type description: str :param display_name: The value to assign to the display_name property of this WorkRequest. :type display_name: str :param message: The value to assign to the message property of this WorkRequest. :type message: str :param parent_id: The value to assign to the parent_id property of this WorkRequest. :type parent_id: str :param children_id: The value to assign to the children_id property of this WorkRequest. :type children_id: list[str] :param compartment_id: The value to assign to the compartment_id property of this WorkRequest. :type compartment_id: str :param resources: The value to assign to the resources property of this WorkRequest. :type resources: list[oci.os_management_hub.models.WorkRequestResource] :param package_names: The value to assign to the package_names property of this WorkRequest. :type package_names: list[str] :param windows_update_names: The value to assign to the windows_update_names property of this WorkRequest. :type windows_update_names: list[str] :param module_specs: The value to assign to the module_specs property of this WorkRequest. :type module_specs: list[oci.os_management_hub.models.ModuleSpecDetails] :param percent_complete: The value to assign to the percent_complete property of this WorkRequest. :type percent_complete: float :param time_created: The value to assign to the time_created property of this WorkRequest. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this WorkRequest. :type time_updated: 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 initiator_id: The value to assign to the initiator_id property of this WorkRequest. :type initiator_id: str :param management_station: The value to assign to the management_station property of this WorkRequest. :type management_station: oci.os_management_hub.models.WorkRequestManagementStationDetails :param time_scheduled: The value to assign to the time_scheduled property of this WorkRequest. :type time_scheduled: datetime :param content_location: The value to assign to the content_location property of this WorkRequest. :type content_location: str :param event_id: The value to assign to the event_id property of this WorkRequest. :type event_id: str :param content_checksum: The value to assign to the content_checksum property of this WorkRequest. :type content_checksum: str :param retry_of_id: The value to assign to the retry_of_id property of this WorkRequest. :type retry_of_id: str :param retry_intervals: The value to assign to the retry_intervals property of this WorkRequest. :type retry_intervals: list[int] :param is_managed_by_autonomous_linux: The value to assign to the is_managed_by_autonomous_linux property of this WorkRequest. :type is_managed_by_autonomous_linux: bool �strz list[str]zlist[WorkRequestResource]zlist[ModuleSpecDetails]�floatZdatetimeZ#WorkRequestManagementStationDetailsz list[int]�bool)�operation_type�status�id�description�display_name�message� parent_id�children_id�compartment_id� resources� package_names�windows_update_names�module_specs�percent_complete�time_created�time_updated�time_started� time_finished�initiator_id�management_station�time_scheduled�content_location�event_id�content_checksum�retry_of_id�retry_intervals�is_managed_by_autonomous_linuxZ operationTyper6 r7 r8 ZdisplayNamer: ZparentIdZ childrenIdZ compartmentIdr>