a úÎò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))Ú Statementz A statement object. ÚACCEPTEDÚ CANCELLINGÚ CANCELLEDÚFAILEDÚ IN_PROGRESSÚ SUCCEEDEDc Ksddddddddddœ|_ddd d d d d ddœ|_d|_d|_d|_d|_d|_d|_d|_d|_ dS)a Initializes a new Statement 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 Statement. :type id: int :param code: The value to assign to the code property of this Statement. :type code: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Statement. Allowed values for this property are: "ACCEPTED", "CANCELLING", "CANCELLED", "FAILED", "IN_PROGRESS", "SUCCEEDED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param output: The value to assign to the output property of this Statement. :type output: oci.data_flow.models.StatementOutput :param progress: The value to assign to the progress property of this Statement. :type progress: float :param run_id: The value to assign to the run_id property of this Statement. :type run_id: str :param time_created: The value to assign to the time_created property of this Statement. :type time_created: datetime :param time_completed: The value to assign to the time_completed property of this Statement. :type time_completed: datetime ÚintÚstrZStatementOutputÚfloatZdatetime)ÚidÚcodeÚlifecycle_stateÚoutputÚprogressÚrun_idÚ time_createdÚtime_completedrrZlifecycleStaterrZrunIdZ timeCreatedZ timeCompletedN) Z swagger_typesZ attribute_mapÚ_idÚ_codeÚ_lifecycle_stateÚ_outputÚ _progressÚ_run_idÚ _time_createdÚ_time_completed)ÚselfÚkwargs©r"úB/usr/lib/python3.9/site-packages/oci/data_flow/models/statement.pyÚ__init__*s4)ø ø zStatement.__init__cCs|jS)zš **[Required]** Gets the id of this Statement. The statement ID. :return: The id of this Statement. :rtype: int ©r©r r"r"r#rqs z Statement.idcCs ||_dS)zŒ Sets the id of this Statement. The statement ID. :param id: The id of this Statement. :type: int Nr%)r rr"r"r#r}s cCs|jS)zÒ **[Required]** Gets the code of this Statement. The statement code to execute. Example: `println(sc.version)` :return: The code of this Statement. :rtype: str ©rr&r"r"r#r‰s zStatement.codecCs ||_dS)zÆ Sets the code of this Statement. The statement code to execute. Example: `println(sc.version)` :param code: The code of this Statement. :type: str Nr')r rr"r"r#r–s cCs|jS)a· **[Required]** Gets the lifecycle_state of this Statement. The current state of this statement. Allowed values for this property are: "ACCEPTED", "CANCELLING", "CANCELLED", "FAILED", "IN_PROGRESS", "SUCCEEDED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Statement. :rtype: str )rr&r"r"r#r£s zStatement.lifecycle_statecCs gd¢}t||ƒsd}||_dS)zÆ Sets the lifecycle_state of this Statement. The current state of this statement. :param lifecycle_state: The lifecycle_state of this Statement. :type: str )rrr r r r ZUNKNOWN_ENUM_VALUEN)rr)r rZallowed_valuesr"r"r#r²s  cCs|jS)z™ Gets the output of this Statement. :return: The output of this Statement. :rtype: oci.data_flow.models.StatementOutput ©rr&r"r"r#rÁszStatement.outputcCs ||_dS)zž Sets the output of this Statement. :param output: The output of this Statement. :type: oci.data_flow.models.StatementOutput Nr()r rr"r"r#rËscCs|jS)zŸ Gets the progress of this Statement. The execution progress. :return: The progress of this Statement. :rtype: float ©rr&r"r"r#rÕs zStatement.progresscCs ||_dS)z¦ Sets the progress of this Statement. The execution progress. :param progress: The progress of this Statement. :type: float Nr))r rr"r"r#rás cCs|jS)z’ Gets the run_id of this Statement. The ID of a run. :return: The run_id of this Statement. :rtype: str ©rr&r"r"r#rís zStatement.run_idcCs ||_dS)z— Sets the run_id of this Statement. The ID of a run. :param run_id: The run_id of this Statement. :type: str Nr*)r rr"r"r#rùs cCs|jS)aU **[Required]** Gets the time_created of this Statement. The date and time the resource was created, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this Statement. :rtype: datetime ©rr&r"r"r#rs zStatement.time_createdcCs ||_dS)aQ Sets the time_created of this Statement. The date and time the resource was created, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this Statement. :type: datetime Nr+)r rr"r"r#rs cCs|jS)aU Gets the time_completed of this Statement. The date and time a statement execution was completed, expressed in `RFC 3339`__ timestamp format. Example: `2022-05-31T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_completed of this Statement. :rtype: datetime ©rr&r"r"r#r#s zStatement.time_completedcCs ||_dS)ab Sets the time_completed of this Statement. The date and time a statement execution was completed, expressed in `RFC 3339`__ timestamp format. Example: `2022-05-31T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_completed: The time_completed of this Statement. :type: datetime Nr,)r rr"r"r#r2s cCst|ƒS©N)rr&r"r"r#Ú__repr__AszStatement.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©r Úotherr"r"r#Ú__eq__DszStatement.__eq__cCs ||k Sr-r"r0r"r"r#Ú__ne__JszStatement.__ne__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__ZLIFECYCLE_STATE_ACCEPTEDZLIFECYCLE_STATE_CANCELLINGZLIFECYCLE_STATE_CANCELLEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_IN_PROGRESSZLIFECYCLE_STATE_SUCCEEDEDr$ÚpropertyrÚsetterrrrrrrrr.r2r3r"r"r"r#r sVG                rN)Zoci.utilrrrZoci.decoratorsrÚobjectrr"r"r"r#Ús