🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-09 17:38:27 | PHP 8.2.33
📂
/ (Root)
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
influxdb_client
/
domain
/
__pycache__
📍 /opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/__pycache__
🔄 Refresh
✏️
Editing: shard_group_manifest.cpython-38.pyc
Read Only
U w�i� � @ s( d Z ddlZddlZG dd� de�ZdS )a InfluxDB OSS API Service. The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://openapi-generator.tech � Nc @ s e Zd ZdZddddddd�Zdddd d dd�Zd+d d�Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej d d� �Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� ZdS ),�ShardGroupManifestz�NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. �int�datetimezlist[ShardManifest])�id� start_time�end_time� deleted_at�truncated_at�shardsr Z startTimeZendTimeZ deletedAtZtruncatedAtr Nc C sb d| _ d| _d| _d| _d| _d| _d| _|| _|| _|| _ |dk rJ|| _ |dk rX|| _|| _dS )z0ShardGroupManifest - a model defined in OpenAPI.N) �_id�_start_time� _end_time�_deleted_at� _truncated_at�_shardsZ discriminatorr r r r r r )�selfr r r r r r � r �\/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/shard_group_manifest.py�__init__2 s zShardGroupManifest.__init__c C s | j S )zxGet the id of this ShardGroupManifest. :return: The id of this ShardGroupManifest. :rtype: int )r �r r r r r E s zShardGroupManifest.idc C s |dkrt d��|| _dS )zySet the id of this ShardGroupManifest. :param id: The id of this ShardGroupManifest. :type: int Nz*Invalid value for `id`, must not be `None`)� ValueErrorr )r r r r r r N s c C s | j S )z�Get the start_time of this ShardGroupManifest. :return: The start_time of this ShardGroupManifest. :rtype: datetime )r r r r r r Y s zShardGroupManifest.start_timec C s |dkrt d��|| _dS )z�Set the start_time of this ShardGroupManifest. :param start_time: The start_time of this ShardGroupManifest. :type: datetime Nz2Invalid value for `start_time`, must not be `None`)r r )r r r r r r b s c C s | j S )z�Get the end_time of this ShardGroupManifest. :return: The end_time of this ShardGroupManifest. :rtype: datetime )r r r r r r m s zShardGroupManifest.end_timec C s |dkrt d��|| _dS )z�Set the end_time of this ShardGroupManifest. :param end_time: The end_time of this ShardGroupManifest. :type: datetime Nz0Invalid value for `end_time`, must not be `None`)r r )r r r r r r v s c C s | j S )z�Get the deleted_at of this ShardGroupManifest. :return: The deleted_at of this ShardGroupManifest. :rtype: datetime �r r r r r r � s zShardGroupManifest.deleted_atc C s || _ dS )z�Set the deleted_at of this ShardGroupManifest. :param deleted_at: The deleted_at of this ShardGroupManifest. :type: datetime Nr )r r r r r r � s c C s | j S )z�Get the truncated_at of this ShardGroupManifest. :return: The truncated_at of this ShardGroupManifest. :rtype: datetime �r r r r r r � s zShardGroupManifest.truncated_atc C s || _ dS )z�Set the truncated_at of this ShardGroupManifest. :param truncated_at: The truncated_at of this ShardGroupManifest. :type: datetime Nr )r r r r r r � s c C s | j S )z�Get the shards of this ShardGroupManifest. :return: The shards of this ShardGroupManifest. :rtype: list[ShardManifest] )r r r r r r � s zShardGroupManifest.shardsc C s |dkrt d��|| _dS )z�Set the shards of this ShardGroupManifest. :param shards: The shards of this ShardGroupManifest. :type: list[ShardManifest] Nz.Invalid value for `shards`, must not be `None`)r r )r r r r r r � s c C s� i }| j �� D ]z\}}t| |�}t|t�rBttdd� |��||<