U wi@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@seZdZdZdddddddZdddd d d dZd+d dZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZej d dZd!d"Zd#d$Zd%d&Zd'd(Zd)d*Zd S),ShardGroupManifestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. intdatetimezlist[ShardManifest])id start_timeend_time deleted_at truncated_atshardsrZ startTimeZendTimeZ deletedAtZ truncatedAtr NcCsbd|_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 discriminatorrrrrr r )selfrrrrr r r\/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/shard_group_manifest.py__init__2szShardGroupManifest.__init__cCs|jS)zxGet the id of this ShardGroupManifest. :return: The id of this ShardGroupManifest. :rtype: int )r rrrrrEszShardGroupManifest.idcCs|dkrtd||_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 )rrrrrrNscCs|jS)zGet the start_time of this ShardGroupManifest. :return: The start_time of this ShardGroupManifest. :rtype: datetime )r rrrrrYszShardGroupManifest.start_timecCs|dkrtd||_dS)zSet 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`)rr )rrrrrrbscCs|jS)zGet the end_time of this ShardGroupManifest. :return: The end_time of this ShardGroupManifest. :rtype: datetime )r rrrrrmszShardGroupManifest.end_timecCs|dkrtd||_dS)zSet 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`)rr )rrrrrrvscCs|jS)zGet the deleted_at of this ShardGroupManifest. :return: The deleted_at of this ShardGroupManifest. :rtype: datetime rrrrrrszShardGroupManifest.deleted_atcCs ||_dS)zSet the deleted_at of this ShardGroupManifest. :param deleted_at: The deleted_at of this ShardGroupManifest. :type: datetime Nr)rrrrrrscCs|jS)zGet the truncated_at of this ShardGroupManifest. :return: The truncated_at of this ShardGroupManifest. :rtype: datetime rrrrrr szShardGroupManifest.truncated_atcCs ||_dS)zSet the truncated_at of this ShardGroupManifest. :param truncated_at: The truncated_at of this ShardGroupManifest. :type: datetime Nr)rr rrrr scCs|jS)zGet the shards of this ShardGroupManifest. :return: The shards of this ShardGroupManifest. :rtype: list[ShardManifest] )rrrrrr szShardGroupManifest.shardscCs|dkrtd||_dS)zSet the shards of this ShardGroupManifest. :param shards: The shards of this ShardGroupManifest. :type: list[ShardManifest] Nz.Invalid value for `shards`, must not be `None`)rr)rr rrrr scCsi}|jD]z\}}t||}t|trBttdd|||<qt|drZ|||<qt|trttdd|||<q|||<q|S)z&Return the model properties as a dict.cSst|dr|S|S)Nto_dicthasattrr)xrrrz,ShardGroupManifest.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrrrs"       zShardGroupManifest.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszShardGroupManifest.to_strcCs|S)zFor `print` and `pprint`.)r.rrrr__repr__szShardGroupManifest.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r$r__dict__rotherrrr__eq__s zShardGroupManifest.__eq__cCs ||k S)z*Return true if both objects are not equal.rr1rrr__ne__szShardGroupManifest.__ne__)NNNNNN)__name__ __module__ __qualname____doc__r!Z attribute_maprpropertyrsetterrrrr r rr.r/r3r4rrrrrsZ              r)r8r,reobjectrrrrrs