U wiS@s(dZddlZddlZGdddeZdS)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@seZdZdZdddddddZddd d d d dZd,ddZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZ e j ddZ 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_duration shard_groups subscriptionsrZreplicaNrZshardGroupDurationZ shardGroupsr NcCsRd|_d|_d|_d|_d|_d|_d|_||_||_||_ ||_ ||_ ||_ dS)z5RetentionPolicyManifest - a model defined in OpenAPI.N) _name _replica_n _duration_shard_group_duration _shard_groups_subscriptionsZ discriminatorrrrrr r )selfrrrrr r ra/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/retention_policy_manifest.py__init__2sz RetentionPolicyManifest.__init__cCs|jS)zGet the name of this RetentionPolicyManifest. :return: The name of this RetentionPolicyManifest. :rtype: str )r rrrrrCszRetentionPolicyManifest.namecCs|dkrtd||_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 )rrrrrrLscCs|jS)zGet the replica_n of this RetentionPolicyManifest. :return: The replica_n of this RetentionPolicyManifest. :rtype: int )r rrrrrWsz!RetentionPolicyManifest.replica_ncCs|dkrtd||_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`)rr )rrrrrr`scCs|jS)zGet the duration of this RetentionPolicyManifest. :return: The duration of this RetentionPolicyManifest. :rtype: int )r rrrrrksz RetentionPolicyManifest.durationcCs|dkrtd||_dS)zSet the duration of this RetentionPolicyManifest. :param duration: The duration of this RetentionPolicyManifest. :type: int Nz0Invalid value for `duration`, must not be `None`)rr )rrrrrrtscCs|jS)zGet the shard_group_duration of this RetentionPolicyManifest. :return: The shard_group_duration of this RetentionPolicyManifest. :rtype: int )rrrrrrsz,RetentionPolicyManifest.shard_group_durationcCs|dkrtd||_dS)zSet the shard_group_duration of this RetentionPolicyManifest. :param shard_group_duration: The shard_group_duration of this RetentionPolicyManifest. :type: int Nzz1RetentionPolicyManifest.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrrrs"       zRetentionPolicyManifest.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszRetentionPolicyManifest.to_strcCs|S)zFor `print` and `pprint`.)r,rrrr__repr__sz RetentionPolicyManifest.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r"r__dict__rotherrrr__eq__s zRetentionPolicyManifest.__eq__cCs ||k S)z*Return true if both objects are not equal.rr/rrr__ne__szRetentionPolicyManifest.__ne__)NNNNNN)__name__ __module__ __qualname____doc__rZ attribute_maprpropertyrsetterrrrr r rr,r-r1r2rrrrrsZ              r)r6r*reobjectrrrrrs