U
wiS @ s( d Z ddlZddlZG dd deZdS )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 ZdZdddddddZddd d
dddZd,ddZedd 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+ Zd
S )-RetentionPolicyManifestzNOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
strintzlist[ShardGroupManifest]zlist[SubscriptionManifest])name replica_ndurationshard_group_durationshard_groups
subscriptionsr ZreplicaNr ZshardGroupDurationZshardGroupsr
Nc C sR d| _ d| _d| _d| _d| _d| _d| _|| _|| _|| _ || _
|| _|| _dS )z5RetentionPolicyManifest - a model defined in OpenAPI.N)
_name
_replica_n _duration_shard_group_duration
_shard_groups_subscriptionsZ
discriminatorr r r r r r
)selfr r r r r r
r a/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/retention_policy_manifest.py__init__2 s z RetentionPolicyManifest.__init__c C s | j S )zGet the name of this RetentionPolicyManifest.
:return: The name of this RetentionPolicyManifest.
:rtype: str
)r r r r r r C s zRetentionPolicyManifest.namec C s |dkrt d|| _dS )zSet the name of this RetentionPolicyManifest.
:param name: The name of this RetentionPolicyManifest.
:type: str
Nz,Invalid value for `name`, must not be `None`)
ValueErrorr )r r r r r r L s c C s | j S )zGet the replica_n of this RetentionPolicyManifest.
:return: The replica_n of this RetentionPolicyManifest.
:rtype: int
)r r r r r r W s z!RetentionPolicyManifest.replica_nc C s |dkrt d|| _dS )zSet the replica_n of this RetentionPolicyManifest.
:param replica_n: The replica_n of this RetentionPolicyManifest.
:type: int
Nz1Invalid value for `replica_n`, must not be `None`)r r )r r r r r r ` s c C s | j S )zGet the duration of this RetentionPolicyManifest.
:return: The duration of this RetentionPolicyManifest.
:rtype: int
)r
r r r r r k s z RetentionPolicyManifest.durationc C s |dkrt d|| _dS )zSet the duration of this RetentionPolicyManifest.
:param duration: The duration of this RetentionPolicyManifest.
:type: int
Nz0Invalid value for `duration`, must not be `None`)r r
)r r r r r r t s c C s | j S )zGet the shard_group_duration of this RetentionPolicyManifest.
:return: The shard_group_duration of this RetentionPolicyManifest.
:rtype: int
)r r r r r r s z,RetentionPolicyManifest.shard_group_durationc C s |dkrt d|| _dS )zSet the shard_group_duration of this RetentionPolicyManifest.
:param shard_group_duration: The shard_group_duration of this RetentionPolicyManifest.
:type: int
Nz