a úÎòfW2ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@sBeZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d d „Zedd„ƒZejdd„ƒZedd„ƒZejdd„ƒZedd„ƒZejdd„ƒZedd„ƒZejdd„ƒZedd„ƒZejdd„ƒZedd„ƒZejdd„ƒZed d!„ƒZejd"d!„ƒZed#d$„ƒZejd%d$„ƒZed&d'„ƒZejd(d'„ƒZd)d*„Zd+d,„Zd-d.„Zd/S)0Ú WorkRequestz* A Data Flow work request object. ÚCREATE_PRIVATE_ENDPOINTÚUPDATE_PRIVATE_ENDPOINTÚDELETE_PRIVATE_ENDPOINTÚMOVE_PRIVATE_ENDPOINTÚACCEPTEDÚ CANCELLEDÚ CANCELLINGÚFAILEDÚ INPROGRESSÚ SUCCEEDEDc Ksnddddddddddœ |_dddd d d d d ddœ |_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 compartment_id: The value to assign to the compartment_id property of this WorkRequest. :type compartment_id: str :param id: The value to assign to the id property of this WorkRequest. :type id: str :param operation: The value to assign to the operation property of this WorkRequest. Allowed values for this property are: "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "MOVE_PRIVATE_ENDPOINT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operation: str :param percent_complete: The value to assign to the percent_complete property of this WorkRequest. :type percent_complete: float :param resources: The value to assign to the resources property of this WorkRequest. :type resources: list[oci.data_flow.models.WorkRequestResource] :param status: The value to assign to the status property of this WorkRequest. Allowed values for this property are: "ACCEPTED", "CANCELLED", "CANCELLING", "FAILED", "INPROGRESS", "SUCCEEDED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :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 ÚstrÚfloatzlist[WorkRequestResource]Zdatetime) Úcompartment_idÚidÚ operationÚpercent_completeÚ resourcesÚstatusÚ time_acceptedÚ time_startedÚ time_finishedZ compartmentIdrrZpercentCompleterrZ timeAcceptedZ timeStartedZ timeFinishedN) Z swagger_typesZ attribute_mapÚ_compartment_idÚ_idÚ _operationÚ_percent_completeÚ _resourcesÚ_statusÚ_time_acceptedÚ _time_startedÚ_time_finished)ÚselfÚkwargs©r'úE/usr/lib/python3.9/site-packages/oci/data_flow/models/work_request.pyÚ__init__:s:/÷ ÷ zWorkRequest.__init__cCs|jS)z¿ **[Required]** Gets the compartment_id of this WorkRequest. The OCID of a compartment. :return: The compartment_id of this WorkRequest. :rtype: str ©r©r%r'r'r(rŠs zWorkRequest.compartment_idcCs ||_dS)z½ Sets the compartment_id of this WorkRequest. The OCID of a compartment. :param compartment_id: The compartment_id of this WorkRequest. :type: str Nr*)r%rr'r'r(r–s cCs|jS)z¨ **[Required]** Gets the id of this WorkRequest. The OCID of a work request. :return: The id of this WorkRequest. :rtype: str ©rr+r'r'r(r¢s zWorkRequest.idcCs ||_dS)zš Sets the id of this WorkRequest. The OCID of a work request. :param id: The id of this WorkRequest. :type: str Nr,)r%rr'r'r(r®s cCs|jS)aÓ **[Required]** Gets the operation of this WorkRequest. The operation related to this work request. Allowed values for this property are: "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "MOVE_PRIVATE_ENDPOINT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The operation of this WorkRequest. :rtype: str )rr+r'r'r(rºs zWorkRequest.operationcCs gd¢}t||ƒsd}||_dS)z¿ Sets the operation of this WorkRequest. The operation related to this work request. :param operation: The operation of this WorkRequest. :type: str )rrr r ÚUNKNOWN_ENUM_VALUEN)rr)r%rÚallowed_valuesr'r'r(rÉ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 ©rr+r'r'r(rØ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/)r%rr'r'r(räs cCs|jS)zò **[Required]** Gets the resources of this WorkRequest. The resources affected by this work request. :return: The resources of this WorkRequest. :rtype: list[oci.data_flow.models.WorkRequestResource] ©r r+r'r'r(rðs zWorkRequest.resourcescCs ||_dS)zë Sets the resources of this WorkRequest. The resources affected by this work request. :param resources: The resources of this WorkRequest. :type: list[oci.data_flow.models.WorkRequestResource] Nr0)r%rr'r'r(rüs cCs|jS)a£ **[Required]** Gets the status of this WorkRequest. The status of the work request. Allowed values for this property are: "ACCEPTED", "CANCELLED", "CANCELLING", "FAILED", "INPROGRESS", "SUCCEEDED", '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 )r!r+r'r'r(rs zWorkRequest.statuscCs gd¢}t||ƒsd}||_dS)zª Sets the status of this WorkRequest. The status of the work request. :param status: The status of this WorkRequest. :type: str )r r r rrrr-N)rr!)r%rr.r'r'r(rs  cCs|jS)a' Gets the time_accepted of this WorkRequest. The date and time 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 ©r"r+r'r'r(r&s zWorkRequest.time_acceptedcCs ||_dS)a3 Sets the time_accepted of this WorkRequest. The date and time 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 Nr1)r%rr'r'r(r5s cCs|jS)a% Gets the time_started of this WorkRequest. The date and time the request was started, as described in `RFC 3339`__, section 14.29. __ https://tools.ietf.org/rfc/rfc3339 :return: The time_started of this WorkRequest. :rtype: datetime ©r#r+r'r'r(rDs zWorkRequest.time_startedcCs ||_dS)a0 Sets the time_started of this WorkRequest. The date and time the request was started, as described in `RFC 3339`__, section 14.29. __ https://tools.ietf.org/rfc/rfc3339 :param time_started: The time_started of this WorkRequest. :type: datetime Nr2)r%rr'r'r(rSs cCs|jS)a Gets the time_finished of this WorkRequest. The date and time the object was finished, as described in `RFC 3339`__. __ https://tools.ietf.org/rfc/rfc3339 :return: The time_finished of this WorkRequest. :rtype: datetime ©r$r+r'r'r(rbs zWorkRequest.time_finishedcCs ||_dS)a$ Sets the time_finished of this WorkRequest. The date and time the object was finished, as described in `RFC 3339`__. __ https://tools.ietf.org/rfc/rfc3339 :param time_finished: The time_finished of this WorkRequest. :type: datetime Nr3)r%rr'r'r(rqs cCst|ƒS©N)rr+r'r'r(Ú__repr__€szWorkRequest.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©r%Úotherr'r'r(Ú__eq__ƒszWorkRequest.__eq__cCs ||k Sr4r'r7r'r'r(Ú__ne__‰szWorkRequest.__ne__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__Z!OPERATION_CREATE_PRIVATE_ENDPOINTZ!OPERATION_UPDATE_PRIVATE_ENDPOINTZ!OPERATION_DELETE_PRIVATE_ENDPOINTZOPERATION_MOVE_PRIVATE_ENDPOINTZSTATUS_ACCEPTEDZSTATUS_CANCELLEDZSTATUS_CANCELLINGZ STATUS_FAILEDZSTATUS_INPROGRESSZSTATUS_SUCCEEDEDr)ÚpropertyrÚsetterrrrrrrrrr5r9r:r'r'r'r(r sfP                  rN)Zoci.utilrrrZoci.decoratorsrÚobjectrr'r'r'r(Ús