a fc@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@steZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZddZeddZejddZeddZejddZeddZejddZeddZejddZedd Zejd!d Zed"d#Zejd$d#Zed%d&Zejd'd&Zed(d)Zejd*d)Zed+d,Zejd-d,Zed.d/Zejd0d/Zed1d2Z e jd3d2Z ed4d5Z!e!jd6d5Z!ed7d8Z"e"jd9d8Z"ed:d;Z#e#jdZ$e$jd?d>Z$ed@dAZ%e%jdBdAZ%edCdDZ&e&jdEdDZ&edFdGZ'e'jdHdGZ'edIdJZ(e(jdKdJZ(edLdMZ)e)jdNdMZ)dOdPZ*dQdRZ+dSdTZ,dUS)V RunSummaryz A summary of the run. SCALAJAVAPYTHONSQLACCEPTED IN_PROGRESS CANCELINGCANCELEDFAILED SUCCEEDEDSTOPPINGSTOPPEDBATCH STREAMINGSESSIONcKsddddddddddddddddddddd|_ddd d d d d dddddddddddddd|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_d|_d|_d|_dS)a Initializes a new RunSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param application_id: The value to assign to the application_id property of this RunSummary. :type application_id: str :param compartment_id: The value to assign to the compartment_id property of this RunSummary. :type compartment_id: str :param data_read_in_bytes: The value to assign to the data_read_in_bytes property of this RunSummary. :type data_read_in_bytes: int :param data_written_in_bytes: The value to assign to the data_written_in_bytes property of this RunSummary. :type data_written_in_bytes: int :param defined_tags: The value to assign to the defined_tags property of this RunSummary. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this RunSummary. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this RunSummary. :type freeform_tags: dict(str, str) :param id: The value to assign to the id property of this RunSummary. :type id: str :param language: The value to assign to the language property of this RunSummary. Allowed values for this property are: "SCALA", "JAVA", "PYTHON", "SQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type language: str :param lifecycle_details: The value to assign to the lifecycle_details property of this RunSummary. :type lifecycle_details: str :param lifecycle_state: The value to assign to the lifecycle_state property of this RunSummary. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "CANCELING", "CANCELED", "FAILED", "SUCCEEDED", "STOPPING", "STOPPED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param opc_request_id: The value to assign to the opc_request_id property of this RunSummary. :type opc_request_id: str :param owner_principal_id: The value to assign to the owner_principal_id property of this RunSummary. :type owner_principal_id: str :param owner_user_name: The value to assign to the owner_user_name property of this RunSummary. :type owner_user_name: str :param pool_id: The value to assign to the pool_id property of this RunSummary. :type pool_id: str :param run_duration_in_milliseconds: The value to assign to the run_duration_in_milliseconds property of this RunSummary. :type run_duration_in_milliseconds: int :param total_o_cpu: The value to assign to the total_o_cpu property of this RunSummary. :type total_o_cpu: int :param time_created: The value to assign to the time_created property of this RunSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this RunSummary. :type time_updated: datetime :param type: The value to assign to the type property of this RunSummary. Allowed values for this property are: "BATCH", "STREAMING", "SESSION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str strintzdict(str, dict(str, object))zdict(str, str)Zdatetime)application_idcompartment_iddata_read_in_bytesdata_written_in_bytes defined_tags display_name freeform_tagsidlanguagelifecycle_detailslifecycle_stateopc_request_idowner_principal_idowner_user_namepool_idrun_duration_in_milliseconds total_o_cpu time_created time_updatedtypeZ applicationIdZ compartmentIdZdataReadInBytesZdataWrittenInBytesZ definedTagsZ displayNameZ freeformTagsrr ZlifecycleDetailsZlifecycleStateZ opcRequestIdZownerPrincipalIdZ ownerUserNameZpoolIdZrunDurationInMillisecondsZ totalOCpuZ timeCreatedZ timeUpdatedr+N)Z swagger_typesZ attribute_map_application_id_compartment_id_data_read_in_bytes_data_written_in_bytes _defined_tags _display_name_freeform_tags_id _language_lifecycle_details_lifecycle_state_opc_request_id_owner_principal_id_owner_user_name_pool_id_run_duration_in_milliseconds _total_o_cpu _time_created _time_updated_type)selfkwargsrBD/usr/lib/python3.9/site-packages/oci/data_flow/models/run_summary.py__init__Ns|]zRunSummary.__init__cCs|jS)z **[Required]** Gets the application_id of this RunSummary. The application ID. :return: The application_id of this RunSummary. :rtype: str r,r@rBrBrCrs zRunSummary.application_idcCs ||_dS)z Sets the application_id of this RunSummary. The application ID. :param application_id: The application_id of this RunSummary. :type: str NrE)r@rrBrBrCrs cCs|jS)z **[Required]** Gets the compartment_id of this RunSummary. The OCID of a compartment. :return: The compartment_id of this RunSummary. :rtype: str r-rFrBrBrCrs zRunSummary.compartment_idcCs ||_dS)z Sets the compartment_id of this RunSummary. The OCID of a compartment. :param compartment_id: The compartment_id of this RunSummary. :type: str NrG)r@rrBrBrCrs cCs|jS)z Gets the data_read_in_bytes of this RunSummary. The data read by the run in bytes. :return: The data_read_in_bytes of this RunSummary. :rtype: int r.rFrBrBrCrs zRunSummary.data_read_in_bytescCs ||_dS)z Sets the data_read_in_bytes of this RunSummary. The data read by the run in bytes. :param data_read_in_bytes: The data_read_in_bytes of this RunSummary. :type: int NrH)r@rrBrBrCr)s cCs|jS)z Gets the data_written_in_bytes of this RunSummary. The data written by the run in bytes. :return: The data_written_in_bytes of this RunSummary. :rtype: int r/rFrBrBrCr5s z RunSummary.data_written_in_bytescCs ||_dS)z Sets the data_written_in_bytes of this RunSummary. The data written by the run in bytes. :param data_written_in_bytes: The data_written_in_bytes of this RunSummary. :type: int NrI)r@rrBrBrCrAs cCs|jS)a **[Required]** Gets the defined_tags of this RunSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this RunSummary. :rtype: dict(str, dict(str, object)) r0rFrBrBrCrMs zRunSummary.defined_tagscCs ||_dS)a Sets the defined_tags of this RunSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this RunSummary. :type: dict(str, dict(str, object)) NrJ)r@rrBrBrCr\s cCs|jS)z Gets the display_name of this RunSummary. A user-friendly name. This name is not necessarily unique. :return: The display_name of this RunSummary. :rtype: str r1rFrBrBrCrks zRunSummary.display_namecCs ||_dS)z Sets the display_name of this RunSummary. A user-friendly name. This name is not necessarily unique. :param display_name: The display_name of this RunSummary. :type: str NrK)r@rrBrBrCrws cCs|jS)a **[Required]** Gets the freeform_tags of this RunSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this RunSummary. :rtype: dict(str, str) r2rFrBrBrCrszRunSummary.freeform_tagscCs ||_dS)a Sets the freeform_tags of this RunSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this RunSummary. :type: dict(str, str) NrL)r@rrBrBrCrscCs|jS)z **[Required]** Gets the id of this RunSummary. The ID of a run. :return: The id of this RunSummary. :rtype: str r3rFrBrBrCrs z RunSummary.idcCs ||_dS)z Sets the id of this RunSummary. The ID of a run. :param id: The id of this RunSummary. :type: str NrM)r@rrBrBrCrs cCs|jS)ao **[Required]** Gets the language of this RunSummary. The Spark language. Allowed values for this property are: "SCALA", "JAVA", "PYTHON", "SQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The language of this RunSummary. :rtype: str )r4rFrBrBrCr s zRunSummary.languagecCs gd}t||sd}||_dS)z Sets the language of this RunSummary. The Spark language. :param language: The language of this RunSummary. :type: str )rrr r UNKNOWN_ENUM_VALUEN)rr4)r@r allowed_valuesrBrBrCr s  cCs|jS)z Gets the lifecycle_details of this RunSummary. The detailed messages about the lifecycle state. :return: The lifecycle_details of this RunSummary. :rtype: str r5rFrBrBrCr!s zRunSummary.lifecycle_detailscCs ||_dS)z Sets the lifecycle_details of this RunSummary. The detailed messages about the lifecycle state. :param lifecycle_details: The lifecycle_details of this RunSummary. :type: str NrP)r@r!rBrBrCr!s cCs|jS)a **[Required]** Gets the lifecycle_state of this RunSummary. The current state of this run. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "CANCELING", "CANCELED", "FAILED", "SUCCEEDED", "STOPPING", "STOPPED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this RunSummary. :rtype: str )r6rFrBrBrCr"s zRunSummary.lifecycle_statecCs gd}t||sd}||_dS)z Sets the lifecycle_state of this RunSummary. The current state of this run. :param lifecycle_state: The lifecycle_state of this RunSummary. :type: str )r r r rrrrrrNN)rr6)r@r"rOrBrBrCr"s  cCs|jS)a' Gets the opc_request_id of this RunSummary. Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :return: The opc_request_id of this RunSummary. :rtype: str r7rFrBrBrCr#s zRunSummary.opc_request_idcCs ||_dS)a4 Sets the opc_request_id of this RunSummary. Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param opc_request_id: The opc_request_id of this RunSummary. :type: str NrQ)r@r#rBrBrCr#s cCs|jS)z Gets the owner_principal_id of this RunSummary. The OCID of the user who created the resource. :return: The owner_principal_id of this RunSummary. :rtype: str r8rFrBrBrCr$)s zRunSummary.owner_principal_idcCs ||_dS)z Sets the owner_principal_id of this RunSummary. The OCID of the user who created the resource. :param owner_principal_id: The owner_principal_id of this RunSummary. :type: str NrR)r@r$rBrBrCr$5s cCs|jS)aY Gets the owner_user_name of this RunSummary. The username of the user who created the resource. If the username of the owner does not exist, `null` will be returned and the caller should refer to the ownerPrincipalId value instead. :return: The owner_user_name of this RunSummary. :rtype: str r9rFrBrBrCr%As zRunSummary.owner_user_namecCs ||_dS)ag Sets the owner_user_name of this RunSummary. The username of the user who created the resource. If the username of the owner does not exist, `null` will be returned and the caller should refer to the ownerPrincipalId value instead. :param owner_user_name: The owner_user_name of this RunSummary. :type: str NrS)r@r%rBrBrCr%Ns cCs|jS)z Gets the pool_id of this RunSummary. The OCID of a pool. Unique Id to indentify a dataflow pool resource. :return: The pool_id of this RunSummary. :rtype: str r:rFrBrBrCr&[s zRunSummary.pool_idcCs ||_dS)z Sets the pool_id of this RunSummary. The OCID of a pool. Unique Id to indentify a dataflow pool resource. :param pool_id: The pool_id of this RunSummary. :type: str NrT)r@r&rBrBrCr&gs cCs|jS)z Gets the run_duration_in_milliseconds of this RunSummary. The duration of the run in milliseconds. :return: The run_duration_in_milliseconds of this RunSummary. :rtype: int r;rFrBrBrCr'ss z'RunSummary.run_duration_in_millisecondscCs ||_dS)z Sets the run_duration_in_milliseconds of this RunSummary. The duration of the run in milliseconds. :param run_duration_in_milliseconds: The run_duration_in_milliseconds of this RunSummary. :type: int NrU)r@r'rBrBrCr's cCs|jS)z Gets the total_o_cpu of this RunSummary. The total number of oCPU requested by the run. :return: The total_o_cpu of this RunSummary. :rtype: int r<rFrBrBrCr(s zRunSummary.total_o_cpucCs ||_dS)z Sets the total_o_cpu of this RunSummary. The total number of oCPU requested by the run. :param total_o_cpu: The total_o_cpu of this RunSummary. :type: int NrV)r@r(rBrBrCr(s cCs|jS)aW **[Required]** Gets the time_created of this RunSummary. 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 RunSummary. :rtype: datetime r=rFrBrBrCr)s zRunSummary.time_createdcCs ||_dS)aS Sets the time_created of this RunSummary. 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 RunSummary. :type: datetime NrW)r@r)rBrBrCr)s cCs|jS)aW **[Required]** Gets the time_updated of this RunSummary. The date and time the resource was updated, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this RunSummary. :rtype: datetime r>rFrBrBrCr*s zRunSummary.time_updatedcCs ||_dS)aS Sets the time_updated of this RunSummary. The date and time the resource was updated, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this RunSummary. :type: datetime NrX)r@r*rBrBrCr*s cCs|jS)aj Gets the type of this RunSummary. The Spark application processing type. Allowed values for this property are: "BATCH", "STREAMING", "SESSION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this RunSummary. :rtype: str )r?rFrBrBrCr+s zRunSummary.typecCs gd}t||sd}||_dS)z Sets the type of this RunSummary. The Spark application processing type. :param type: The type of this RunSummary. :type: str )rrrrNN)rr?)r@r+rOrBrBrCr+s  cCst|SN)rrFrBrBrC__repr__szRunSummary.__repr__cCs|dur dS|j|jkS)NF)__dict__r@otherrBrBrC__eq__szRunSummary.__eq__cCs ||k SrYrBr\rBrBrC__ne__szRunSummary.__ne__N)-__name__ __module__ __qualname____doc__ZLANGUAGE_SCALAZ LANGUAGE_JAVAZLANGUAGE_PYTHONZ LANGUAGE_SQLZLIFECYCLE_STATE_ACCEPTEDZLIFECYCLE_STATE_IN_PROGRESSZLIFECYCLE_STATE_CANCELINGZLIFECYCLE_STATE_CANCELEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_SUCCEEDEDZLIFECYCLE_STATE_STOPPINGZLIFECYCLE_STATE_STOPPEDZ TYPE_BATCHZTYPE_STREAMINGZ TYPE_SESSIONrDpropertyrsetterrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+rZr^r_rBrBrBrCr s                                         rN)Zoci.utilrrrZoci.decoratorsrobjectrrBrBrBrCs