ruạṛ
a ���f[= � @ 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 @ s� e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zd4d5� Zd6d7� Zd8d9� Zd:S );�UploadFileSummaryz! Details of Upload File. �IN_PROGRESS� SUCCESSFUL�FAILEDc K s� dddddddddddddddd�| _ ddddd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )aW Initializes a new UploadFileSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param reference: The value to assign to the reference property of this UploadFileSummary. :type reference: str :param name: The value to assign to the name property of this UploadFileSummary. :type name: str :param status: The value to assign to the status property of this UploadFileSummary. Allowed values for this property are: "IN_PROGRESS", "SUCCESSFUL", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param total_chunks: The value to assign to the total_chunks property of this UploadFileSummary. :type total_chunks: float :param chunks_consumed: The value to assign to the chunks_consumed property of this UploadFileSummary. :type chunks_consumed: float :param chunks_success: The value to assign to the chunks_success property of this UploadFileSummary. :type chunks_success: float :param chunks_fail: The value to assign to the chunks_fail property of this UploadFileSummary. :type chunks_fail: float :param time_started: The value to assign to the time_started property of this UploadFileSummary. :type time_started: datetime :param source_name: The value to assign to the source_name property of this UploadFileSummary. :type source_name: str :param entity_type: The value to assign to the entity_type property of this UploadFileSummary. :type entity_type: str :param entity_name: The value to assign to the entity_name property of this UploadFileSummary. :type entity_name: str :param log_namespace: The value to assign to the log_namespace property of this UploadFileSummary. :type log_namespace: str :param log_group_id: The value to assign to the log_group_id property of this UploadFileSummary. :type log_group_id: str :param log_group_name: The value to assign to the log_group_name property of this UploadFileSummary. :type log_group_name: str :param failure_details: The value to assign to the failure_details property of this UploadFileSummary. :type failure_details: str �str�floatZdatetime)� reference�name�status�total_chunks�chunks_consumed�chunks_success�chunks_fail�time_started�source_name�entity_type�entity_name� log_namespace�log_group_id�log_group_name�failure_detailsr r r ZtotalChunksZchunksConsumedZ chunksSuccessZ chunksFailZtimeStartedZ sourceNameZ entityTypeZ entityNameZlogNamespaceZ logGroupIdZlogGroupNameZfailureDetailsN)Z swagger_typesZ attribute_map� _reference�_name�_status� _total_chunks�_chunks_consumed�_chunks_success�_chunks_fail� _time_started�_source_name�_entity_type�_entity_name�_log_namespace� _log_group_id�_log_group_name�_failure_details)�self�kwargs� r, �P/usr/lib/python3.9/site-packages/oci/log_analytics/models/upload_file_summary.py�__init__ s^ E��zUploadFileSummary.__init__c C s | j S )z� **[Required]** Gets the reference of this UploadFileSummary. Unique internal identifier to refer upload file. :return: The reference of this UploadFileSummary. :rtype: str �r �r* r, r, r- r � s zUploadFileSummary.referencec C s || _ dS )z� Sets the reference of this UploadFileSummary. Unique internal identifier to refer upload file. :param reference: The reference of this UploadFileSummary. :type: str Nr/ )r* r r, r, r- r � s c C s | j S )z� **[Required]** Gets the name of this UploadFileSummary. Name of the file :return: The name of this UploadFileSummary. :rtype: str �r r0 r, r, r- r � s zUploadFileSummary.namec C s || _ dS )z� Sets the name of this UploadFileSummary. Name of the file :param name: The name of this UploadFileSummary. :type: str Nr1 )r* r r, r, r- r � s c C s | j S )az Gets the status of this UploadFileSummary. Processing status of the file. Allowed values for this property are: "IN_PROGRESS", "SUCCESSFUL", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this UploadFileSummary. :rtype: str )r r0 r, r, r- r � s zUploadFileSummary.statusc C s g d�}t ||�sd}|| _dS )z� Sets the status of this UploadFileSummary. Processing status of the file. :param status: The status of this UploadFileSummary. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r* r Zallowed_valuesr, r, r- r � s c C s | j S )a Gets the total_chunks of this UploadFileSummary. Number of estimated chunks for this file. A chunk is a portion of the log file used for the processing. :return: The total_chunks of this UploadFileSummary. :rtype: float �r r0 r, r, r- r � s zUploadFileSummary.total_chunksc C s || _ dS )a Sets the total_chunks of this UploadFileSummary. Number of estimated chunks for this file. A chunk is a portion of the log file used for the processing. :param total_chunks: The total_chunks of this UploadFileSummary. :type: float Nr2 )r* r r, r, r- r � s c C s | j S )z� Gets the chunks_consumed of this UploadFileSummary. Number of chunks processed. :return: The chunks_consumed of this UploadFileSummary. :rtype: float �r r0 r, r, r- r � s z!UploadFileSummary.chunks_consumedc C s || _ dS )z� Sets the chunks_consumed of this UploadFileSummary. Number of chunks processed. :param chunks_consumed: The chunks_consumed of this UploadFileSummary. :type: float Nr3 )r* r r, r, r- r s c C s | j S )z� Gets the chunks_success of this UploadFileSummary. Number of chunks processed successfully. :return: The chunks_success of this UploadFileSummary. :rtype: float �r r0 r, r, r- r s z UploadFileSummary.chunks_successc C s || _ dS )z� Sets the chunks_success of this UploadFileSummary. Number of chunks processed successfully. :param chunks_success: The chunks_success of this UploadFileSummary. :type: float Nr4 )r* r r, r, r- r s c C s | j S )z� Gets the chunks_fail of this UploadFileSummary. Number of chunks failed processing. :return: The chunks_fail of this UploadFileSummary. :rtype: float �r! r0 r, r, r- r , s zUploadFileSummary.chunks_failc C s || _ dS )z� Sets the chunks_fail of this UploadFileSummary. Number of chunks failed processing. :param chunks_fail: The chunks_fail of this UploadFileSummary. :type: float Nr5 )r* r r, r, r- r 8 s c C s | j S )z� Gets the time_started of this UploadFileSummary. The time when this file processing started. :return: The time_started of this UploadFileSummary. :rtype: datetime �r"