ruạṛ
a ���f�c � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ st e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Z e jd3d2� �Z ed4d5� �Z!e!jd6d5� �Z!ed7d8� �Z"e"jd9d8� �Z"ed:d;� �Z#e#jd<d;� �Z#ed=d>� �Z$e$jd?d>� �Z$ed@dA� �Z%e%jdBdA� �Z%edCdD� �Z&e&jdEdD� �Z&edFdG� �Z'e'jdHdG� �Z'edIdJ� �Z(e(jdKdJ� �Z(edLdM� �Z)e)jdNdM� �Z)dOdP� Z*dQdR� Z+dSdT� Z,dUS )V� RunSummaryz A summary of the run. �SCALA�JAVA�PYTHON�SQL�ACCEPTED�IN_PROGRESS� CANCELING�CANCELED�FAILED� SUCCEEDED�STOPPING�STOPPED�BATCH� STREAMING�SESSIONc K s� ddddddddddddddddddddd�| _ ddd d ddd 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 �str�intzdict(str, dict(str, object))zdict(str, str)Zdatetime)�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�typeZ applicationIdZ compartmentIdZdataReadInBytesZdataWrittenInBytesZdefinedTagsZdisplayNameZfreeformTagsr r ZlifecycleDetailsZlifecycleStateZopcRequestIdZownerPrincipalIdZ ownerUserNameZpoolIdZrunDurationInMillisecondsZ totalOCpuZtimeCreatedZtimeUpdatedr+ 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)�self�kwargs� rB �D/usr/lib/python3.9/site-packages/oci/data_flow/models/run_summary.py�__init__N s| ]��zRunSummary.__init__c C s | j S )z� **[Required]** Gets the application_id of this RunSummary. The application ID. :return: The application_id of this RunSummary. :rtype: str �r, �r@ rB rB rC r � s zRunSummary.application_idc C s || _ 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@ r rB rB rC r � s c C s | j S )z� **[Required]** Gets the compartment_id of this RunSummary. The OCID of a compartment. :return: The compartment_id of this RunSummary. :rtype: str �r- rF rB rB rC r s zRunSummary.compartment_idc C s || _ 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@ r rB rB rC r s c C s | j S )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. rF rB rB rC r s zRunSummary.data_read_in_bytesc C s || _ 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@ r rB rB rC r ) s c C s | j S )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/ rF rB rB rC r 5 s z RunSummary.data_written_in_bytesc C s || _ 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@ r rB rB rC r A s c C s | j S )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)) �r0 rF rB rB rC r M s zRunSummary.defined_tagsc C s || _ 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@ r rB rB rC r \ s c C s | j S )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 �r1 rF rB rB rC r k s zRunSummary.display_namec C s || _ 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@ r rB rB rC r w s c C s | j S )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) �r2 rF rB rB rC r � s zRunSummary.freeform_tagsc C s || _ 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@ r rB rB rC r � s c C s | j S )z� **[Required]** Gets the id of this RunSummary. The ID of a run. :return: The id of this RunSummary. :rtype: str �r3 rF rB rB rC r � s z RunSummary.idc C s || _ dS )z� Sets the id of this RunSummary. The ID of a run. :param id: The id of this RunSummary. :type: str NrM )r@ r rB rB rC r � s c C s | j S )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 )r4 rF rB rB rC r � s zRunSummary.languagec C s g d�}t ||�sd}|| _dS )z� Sets the language of this RunSummary. The Spark language. :param language: The language of this RunSummary. :type: str )r r r r �UNKNOWN_ENUM_VALUEN)r r4 )r@ r �allowed_valuesrB rB rC r � s c C s | j S )z� Gets the lifecycle_details of this RunSummary. The detailed messages about the lifecycle state. :return: The lifecycle_details of this RunSummary. :rtype: str �r5 rF rB rB rC r! � s zRunSummary.lifecycle_detailsc C s || _ 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! rB rB rC r! � s c C s | j S )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 )r6 rF rB rB rC r"