a N•ºf +ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dd „Z e d d „ƒZ e j d d „ƒZ e d d„ƒZej dd„ƒZe dd„ƒZej dd„ƒZe dd„ƒZej dd„ƒZe dd„ƒZej dd„ƒZe dd„ƒZej dd„ƒZe dd„ƒZej dd„ƒZe dd „ƒZej d!d „ƒZd"d#„Zd$d%„Zd&d'„Zd(S))ÚWorkRequestSummaryz4 A summary of the status of a work request. ÚACCEPTEDÚ IN_PROGRESSÚFAILEDÚ SUCCEEDEDÚ CANCELINGÚCANCELEDc Ksddddddddddœ|_ddddd d d d dœ|_d |_d |_d |_d |_d |_d |_d |_d |_ d S)az 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. :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", "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 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 ÚstrÚfloatÚdatetime)Úoperation_typeÚstatusÚidÚcompartment_idÚpercent_completeÚ time_acceptedÚ time_startedÚ time_finishedÚ operationTyperrÚ compartmentIdÚpercentCompleteÚ timeAcceptedÚ timeStartedÚ timeFinishedN) Ú swagger_typesÚ attribute_mapÚ_operation_typeÚ_statusÚ_idÚ_compartment_idÚ_percent_completeÚ_time_acceptedÚ _time_startedÚ_time_finished)ÚselfÚkwargs©r*ú–/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_migration/models/work_request_summary.pyÚ__init__(s4)ø ø zWorkRequestSummary.__init__cCs|jS)zë **[Required]** Gets the operation_type of this WorkRequestSummary. The asynchronous operation tracked by this work request. :return: The operation_type of this WorkRequestSummary. :rtype: str ©r ©r(r*r*r+ros z!WorkRequestSummary.operation_typecCs ||_dS)zé Sets the operation_type of this WorkRequestSummary. The asynchronous operation tracked by this work request. :param operation_type: The operation_type of this WorkRequestSummary. :type: str Nr-)r(rr*r*r+r{s cCs|jS)a° **[Required]** Gets the status of this WorkRequestSummary. The status of the work request. 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'. :return: The status of this WorkRequestSummary. :rtype: str )r!r.r*r*r+r‡s zWorkRequestSummary.statuscCs gd¢}t||ƒsd}||_dS)z¸ Sets the status of this WorkRequestSummary. The status of the work request. :param status: The status of this WorkRequestSummary. :type: str )rrr r r r ÚUNKNOWN_ENUM_VALUEN)rr!)r(rÚallowed_valuesr*r*r+r–s  cCs|jS)a **[Required]** Gets the id of this WorkRequestSummary. The `OCID`__ of the work request. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this WorkRequestSummary. :rtype: str ©r"r.r*r*r+r¥s zWorkRequestSummary.idcCs ||_dS)a Sets the id of this WorkRequestSummary. The `OCID`__ of the work request. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this WorkRequestSummary. :type: str Nr1)r(rr*r*r+r³s cCs|jS)aP **[Required]** Gets the compartment_id of this WorkRequestSummary. The `OCID`__ of the compartment containing this work request. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this WorkRequestSummary. :rtype: str ©r#r.r*r*r+rÁs z!WorkRequestSummary.compartment_idcCs ||_dS)aN Sets the compartment_id of this WorkRequestSummary. The `OCID`__ of the compartment containing this work request. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this WorkRequestSummary. :type: str Nr2)r(rr*r*r+rÐs cCs|jS)zÿ **[Required]** Gets the percent_complete of this WorkRequestSummary. The percentage complete of the operation tracked by this work request. :return: The percent_complete of this WorkRequestSummary. :rtype: float ©r$r.r*r*r+rßs z#WorkRequestSummary.percent_completecCs ||_dS)zÿ Sets the percent_complete of this WorkRequestSummary. The percentage complete of the operation tracked by this work request. :param percent_complete: The percent_complete of this WorkRequestSummary. :type: float Nr3)r(rr*r*r+rës cCs|jS)a **[Required]** Gets the time_accepted of this WorkRequestSummary. The date and time the work request was created, in the format defined by RFC3339. :return: The time_accepted of this WorkRequestSummary. :rtype: datetime ©r%r.r*r*r+r÷s z WorkRequestSummary.time_acceptedcCs ||_dS)a Sets the time_accepted of this WorkRequestSummary. The date and time the work request was created, in the format defined by RFC3339. :param time_accepted: The time_accepted of this WorkRequestSummary. :type: datetime Nr4)r(rr*r*r+rs cCs|jS)a  Gets the time_started of this WorkRequestSummary. The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`, in the format defined by RFC3339. :return: The time_started of this WorkRequestSummary. :rtype: datetime ©r&r.r*r*r+rs zWorkRequestSummary.time_startedcCs ||_dS)a+ Sets the time_started of this WorkRequestSummary. The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`, in the format defined by RFC3339. :param time_started: The time_started of this WorkRequestSummary. :type: datetime Nr5)r(rr*r*r+rs cCs|jS)a) Gets the time_finished of this WorkRequestSummary. The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`. Format is defined by RFC3339. :return: The time_finished of this WorkRequestSummary. :rtype: datetime ©r'r.r*r*r+r)s z WorkRequestSummary.time_finishedcCs ||_dS)a5 Sets the time_finished of this WorkRequestSummary. The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`. Format is defined by RFC3339. :param time_finished: The time_finished of this WorkRequestSummary. :type: datetime Nr6)r(rr*r*r+r6s cCst|ƒS©N)rr.r*r*r+Ú__repr__CszWorkRequestSummary.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©r(Úotherr*r*r+Ú__eq__FszWorkRequestSummary.__eq__cCs ||k Sr7r*r:r*r*r+Ú__ne__LszWorkRequestSummary.__ne__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚSTATUS_ACCEPTEDÚSTATUS_IN_PROGRESSÚ STATUS_FAILEDÚSTATUS_SUCCEEDEDÚSTATUS_CANCELINGÚSTATUS_CANCELEDr,ÚpropertyrÚsetterrrrrrrrr8r<r=r*r*r*r+r sVG                rN)Úoci.utilrrrÚoci.decoratorsrÚobjectrr*r*r*r+Ús