a O•ºf[ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@sæeZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(d)„Z*e+d*d+„ƒZ,e,j-d,d+„ƒZ,e+d-d.„ƒZ.e.j-d/d.„ƒZ.e+d0d1„ƒZ/e/j-d2d1„ƒZ/e+d3d4„ƒZ0e0j-d5d4„ƒZ0e+d6d7„ƒZ1e1j-d8d7„ƒZ1e+d9d:„ƒZ2e2j-d;d:„ƒZ2e+dd=„ƒZ3e+d?d@„ƒZ4e4j-dAd@„ƒZ4e+dBdC„ƒZ5e5j-dDdC„ƒZ5e+dEdF„ƒZ6e6j-dGdF„ƒZ6e+dHdI„ƒZ7e7j-dJdI„ƒZ7dKdL„Z8dMdN„Z9dOdP„Z:dQS)RÚ WorkRequestz@ The description of work request, including its status. ÚCREATE_ODA_INSTANCEÚUPGRADE_ODA_INSTANCEÚDELETE_ODA_INSTANCEÚPURGE_ODA_INSTANCEÚRECOVER_ODA_INSTANCEÚSTOP_ODA_INSTANCEÚSTART_ODA_INSTANCEÚCHANGE_ODA_INSTANCE_COMPARTMENTÚCHANGE_CUST_ENC_KEYÚDEACT_CUST_ENC_KEYÚCREATE_ASSOCIATIONÚDELETE_ASSOCIATIONÚCREATE_PCS_INSTANCEÚUPDATE_ENTITLEMENTS_FOR_CACCTÚLOOKUP_ODA_INSTANCES_FOR_CACCTÚCREATE_ODA_INSTANCE_ATTACHMENTÚUPDATE_ODA_INSTANCE_ATTACHMENTÚDELETE_ODA_INSTANCE_ATTACHMENTÚCREATE_IMPORTED_PACKAGEÚUPDATE_IMPORTED_PACKAGEÚDELETE_IMPORTED_PACKAGEÚ IMPORT_BOTÚ CREATE_SKILLÚ CLONE_SKILLÚ EXTEND_SKILLÚ VERSION_SKILLÚ EXPORT_SKILLÚCREATE_DIGITAL_ASSISTANTÚCLONE_DIGITAL_ASSISTANTÚEXTEND_DIGITAL_ASSISTANTÚVERSION_DIGITAL_ASSISTANTÚEXPORT_DIGITAL_ASSISTANTÚACCEPTEDÚ IN_PROGRESSÚ SUCCEEDEDÚFAILEDÚ CANCELINGÚCANCELEDc Ks‚ddddddddddddœ |_dddd d d d d ddddœ |_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 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 oda_instance_id: The value to assign to the oda_instance_id property of this WorkRequest. :type oda_instance_id: str :param request_action: The value to assign to the request_action property of this WorkRequest. Allowed values for this property are: "CREATE_ODA_INSTANCE", "UPGRADE_ODA_INSTANCE", "DELETE_ODA_INSTANCE", "PURGE_ODA_INSTANCE", "RECOVER_ODA_INSTANCE", "STOP_ODA_INSTANCE", "START_ODA_INSTANCE", "CHANGE_ODA_INSTANCE_COMPARTMENT", "CHANGE_CUST_ENC_KEY", "DEACT_CUST_ENC_KEY", "CREATE_ASSOCIATION", "DELETE_ASSOCIATION", "CREATE_PCS_INSTANCE", "UPDATE_ENTITLEMENTS_FOR_CACCT", "LOOKUP_ODA_INSTANCES_FOR_CACCT", "CREATE_ODA_INSTANCE_ATTACHMENT", "UPDATE_ODA_INSTANCE_ATTACHMENT", "DELETE_ODA_INSTANCE_ATTACHMENT", "CREATE_IMPORTED_PACKAGE", "UPDATE_IMPORTED_PACKAGE", "DELETE_IMPORTED_PACKAGE", "IMPORT_BOT", "CREATE_SKILL", "CLONE_SKILL", "EXTEND_SKILL", "VERSION_SKILL", "EXPORT_SKILL", "CREATE_DIGITAL_ASSISTANT", "CLONE_DIGITAL_ASSISTANT", "EXTEND_DIGITAL_ASSISTANT", "VERSION_DIGITAL_ASSISTANT", "EXPORT_DIGITAL_ASSISTANT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type request_action: str :param status: The value to assign to the status property of this WorkRequest. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param status_message: The value to assign to the status_message property of this WorkRequest. :type status_message: str :param resources: The value to assign to the resources property of this WorkRequest. :type resources: list[oci.oda.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 Ústrzlist[WorkRequestResource]ÚfloatÚdatetime) ÚidÚcompartment_idÚoda_instance_idÚrequest_actionÚstatusÚstatus_messageÚ resourcesÚpercent_completeÚ time_acceptedÚ time_startedÚ time_finishedr0Ú compartmentIdÚ odaInstanceIdÚ requestActionr4Ú statusMessager6ÚpercentCompleteÚ timeAcceptedÚ timeStartedÚ timeFinishedN) Ú swagger_typesÚ attribute_mapÚ_idÚ_compartment_idÚ_oda_instance_idÚ_request_actionÚ_statusÚ_status_messageÚ _resourcesÚ_percent_completeÚ_time_acceptedÚ _time_startedÚ_time_finished)ÚselfÚkwargs©rRú/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/oda/models/work_request.pyÚ__init__¨sF7õõzWorkRequest.__init__cCs|jS)z° **[Required]** Gets the id of this WorkRequest. The identifier of the work request. :return: The id of this WorkRequest. :rtype: str ©rE©rPrRrRrSr0s zWorkRequest.idcCs ||_dS)z¢ Sets the id of this WorkRequest. The identifier of the work request. :param id: The id of this WorkRequest. :type: str NrU)rPr0rRrRrSr0s cCs|jS)zæ **[Required]** Gets the compartment_id of this WorkRequest. The identifier of the compartment that contains the work request. :return: The compartment_id of this WorkRequest. :rtype: str ©rFrVrRrRrSr1s zWorkRequest.compartment_idcCs ||_dS)zä Sets the compartment_id of this WorkRequest. The identifier of the compartment that contains the work request. :param compartment_id: The compartment_id of this WorkRequest. :type: str NrW)rPr1rRrRrSr1*s cCs|jS)zü **[Required]** Gets the oda_instance_id of this WorkRequest. The identifier of the Digital Assistant instance to which this work request pertains. :return: The oda_instance_id of this WorkRequest. :rtype: str ©rGrVrRrRrSr26s zWorkRequest.oda_instance_idcCs ||_dS)zû Sets the oda_instance_id of this WorkRequest. The identifier of the Digital Assistant instance to which this work request pertains. :param oda_instance_id: The oda_instance_id of this WorkRequest. :type: str NrX)rPr2rRrRrSr2Bs cCs|jS)a  **[Required]** Gets the request_action of this WorkRequest. The type of the operation that's associated with the work request. Allowed values for this property are: "CREATE_ODA_INSTANCE", "UPGRADE_ODA_INSTANCE", "DELETE_ODA_INSTANCE", "PURGE_ODA_INSTANCE", "RECOVER_ODA_INSTANCE", "STOP_ODA_INSTANCE", "START_ODA_INSTANCE", "CHANGE_ODA_INSTANCE_COMPARTMENT", "CHANGE_CUST_ENC_KEY", "DEACT_CUST_ENC_KEY", "CREATE_ASSOCIATION", "DELETE_ASSOCIATION", "CREATE_PCS_INSTANCE", "UPDATE_ENTITLEMENTS_FOR_CACCT", "LOOKUP_ODA_INSTANCES_FOR_CACCT", "CREATE_ODA_INSTANCE_ATTACHMENT", "UPDATE_ODA_INSTANCE_ATTACHMENT", "DELETE_ODA_INSTANCE_ATTACHMENT", "CREATE_IMPORTED_PACKAGE", "UPDATE_IMPORTED_PACKAGE", "DELETE_IMPORTED_PACKAGE", "IMPORT_BOT", "CREATE_SKILL", "CLONE_SKILL", "EXTEND_SKILL", "VERSION_SKILL", "EXPORT_SKILL", "CREATE_DIGITAL_ASSISTANT", "CLONE_DIGITAL_ASSISTANT", "EXTEND_DIGITAL_ASSISTANT", "VERSION_DIGITAL_ASSISTANT", "EXPORT_DIGITAL_ASSISTANT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The request_action of this WorkRequest. :rtype: str )rHrVrRrRrSr3Ns zWorkRequest.request_actioncCs gd¢}t||ƒsd}||_dS)zå Sets the request_action of this WorkRequest. The type of the operation that's associated with the work request. :param request_action: The request_action of this WorkRequest. :type: str ) rrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&ÚUNKNOWN_ENUM_VALUEN)rrH)rPr3Úallowed_valuesrRrRrSr3]s  cCs|jS)a¦ **[Required]** Gets the status of this WorkRequest. The status of current work request. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this WorkRequest. :rtype: str )rIrVrRrRrSr4ls zWorkRequest.statuscCs gd¢}t||ƒsd}||_dS)z® Sets the status of this WorkRequest. The status of current work request. :param status: The status of this WorkRequest. :type: str )r'r(r)r*r+r,rYN)rrI)rPr4rZrRrRrSr4{s  cCs|jS)aF Gets the status_message of this WorkRequest. A short message that provides more detail about the current status. For example, if a work request fails, then this may include information about why it failed. :return: The status_message of this WorkRequest. :rtype: str ©rJrVrRrRrSr5Šs zWorkRequest.status_messagecCs ||_dS)aS Sets the status_message of this WorkRequest. A short message that provides more detail about the current status. For example, if a work request fails, then this may include information about why it failed. :param status_message: The status_message of this WorkRequest. :type: str Nr[)rPr5rRrRrSr5˜s cCs|jS)zí **[Required]** Gets the resources of this WorkRequest. The resources that this work request affects. :return: The resources of this WorkRequest. :rtype: list[oci.oda.models.WorkRequestResource] ©rKrVrRrRrSr6¦s zWorkRequest.resourcescCs ||_dS)zæ Sets the resources of this WorkRequest. The resources that this work request affects. :param resources: The resources of this WorkRequest. :type: list[oci.oda.models.WorkRequestResource] Nr\)rPr6rRrRrSr6²s cCs|jS)zÏ **[Required]** Gets the percent_complete of this WorkRequest. Percentage of the request completed. :return: The percent_complete of this WorkRequest. :rtype: float ©rLrVrRrRrSr7¾s zWorkRequest.percent_completecCs ||_dS)zÏ Sets the percent_complete of this WorkRequest. Percentage of the request completed. :param percent_complete: The percent_complete of this WorkRequest. :type: float Nr])rPr7rRrRrSr7Ês cCs|jS)a; **[Required]** Gets the time_accepted of this WorkRequest. The date and time that the request was created, as described in `RFC 3339`__, section 14.29. __ https://tools.ietf.org/rfc/rfc3339 :return: The time_accepted of this WorkRequest. :rtype: datetime ©rMrVrRrRrSr8Ös zWorkRequest.time_acceptedcCs ||_dS)a8 Sets the time_accepted of this WorkRequest. The date and time that the request was created, as described in `RFC 3339`__, section 14.29. __ https://tools.ietf.org/rfc/rfc3339 :param time_accepted: The time_accepted of this WorkRequest. :type: datetime Nr^)rPr8rRrRrSr8ås cCs|jS)a. Gets the time_started of this WorkRequest. The date and time that the request was started, as described in `RFC 3339`__, CKQ section 14.29. __ https://tools.ietf.org/rfc/rfc3339 :return: The time_started of this WorkRequest. :rtype: datetime ©rNrVrRrRrSr9ôs zWorkRequest.time_startedcCs ||_dS)a9 Sets the time_started of this WorkRequest. The date and time that the request was started, as described in `RFC 3339`__, CKQ section 14.29. __ https://tools.ietf.org/rfc/rfc3339 :param time_started: The time_started of this WorkRequest. :type: datetime Nr_)rPr9rRrRrSr9s cCs|jS)a Gets the time_finished of this WorkRequest. The date and time that the object finished, as described in `RFC 3339`__. CKQ __ https://tools.ietf.org/rfc/rfc3339 :return: The time_finished of this WorkRequest. :rtype: datetime ©rOrVrRrRrSr:s zWorkRequest.time_finishedcCs ||_dS)a! Sets the time_finished of this WorkRequest. The date and time that the object finished, as described in `RFC 3339`__. CKQ __ https://tools.ietf.org/rfc/rfc3339 :param time_finished: The time_finished of this WorkRequest. :type: datetime Nr`)rPr:rRrRrSr: s cCst|ƒS©N)rrVrRrRrSÚ__repr__.szWorkRequest.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©rPÚotherrRrRrSÚ__eq__1szWorkRequest.__eq__cCs ||k SrarRrdrRrRrSÚ__ne__7szWorkRequest.__ne__N);Ú__name__Ú __module__Ú __qualname__Ú__doc__Ú"REQUEST_ACTION_CREATE_ODA_INSTANCEÚ#REQUEST_ACTION_UPGRADE_ODA_INSTANCEÚ"REQUEST_ACTION_DELETE_ODA_INSTANCEÚ!REQUEST_ACTION_PURGE_ODA_INSTANCEÚ#REQUEST_ACTION_RECOVER_ODA_INSTANCEÚ REQUEST_ACTION_STOP_ODA_INSTANCEÚ!REQUEST_ACTION_START_ODA_INSTANCEÚ.REQUEST_ACTION_CHANGE_ODA_INSTANCE_COMPARTMENTÚ"REQUEST_ACTION_CHANGE_CUST_ENC_KEYÚ!REQUEST_ACTION_DEACT_CUST_ENC_KEYÚ!REQUEST_ACTION_CREATE_ASSOCIATIONÚ!REQUEST_ACTION_DELETE_ASSOCIATIONÚ"REQUEST_ACTION_CREATE_PCS_INSTANCEÚ,REQUEST_ACTION_UPDATE_ENTITLEMENTS_FOR_CACCTÚ-REQUEST_ACTION_LOOKUP_ODA_INSTANCES_FOR_CACCTÚ-REQUEST_ACTION_CREATE_ODA_INSTANCE_ATTACHMENTÚ-REQUEST_ACTION_UPDATE_ODA_INSTANCE_ATTACHMENTÚ-REQUEST_ACTION_DELETE_ODA_INSTANCE_ATTACHMENTÚ&REQUEST_ACTION_CREATE_IMPORTED_PACKAGEÚ&REQUEST_ACTION_UPDATE_IMPORTED_PACKAGEÚ&REQUEST_ACTION_DELETE_IMPORTED_PACKAGEÚREQUEST_ACTION_IMPORT_BOTÚREQUEST_ACTION_CREATE_SKILLÚREQUEST_ACTION_CLONE_SKILLÚREQUEST_ACTION_EXTEND_SKILLÚREQUEST_ACTION_VERSION_SKILLÚREQUEST_ACTION_EXPORT_SKILLÚ'REQUEST_ACTION_CREATE_DIGITAL_ASSISTANTÚ&REQUEST_ACTION_CLONE_DIGITAL_ASSISTANTÚ'REQUEST_ACTION_EXTEND_DIGITAL_ASSISTANTÚ(REQUEST_ACTION_VERSION_DIGITAL_ASSISTANTÚ'REQUEST_ACTION_EXPORT_DIGITAL_ASSISTANTÚSTATUS_ACCEPTEDÚSTATUS_IN_PROGRESSÚSTATUS_SUCCEEDEDÚ STATUS_FAILEDÚSTATUS_CANCELINGÚSTATUS_CANCELEDrTÚpropertyr0Úsetterr1r2r3r4r5r6r7r8r9r:rbrfrgrRrRrRrSr s®^                      rN)Úoci.utilrrrÚoci.decoratorsrÚobjectrrRrRrRrSÚs