U wâ’iE ã @ 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 @ sl e Zd ZdZddiZddiZddd„Zedd „ ƒZej d d „ ƒZdd„ Z d d„ Zdd„ Zdd„ Z dd„ ZdS )Ú ShardOwnerz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Únode_idÚintZnodeIDNc C s d| _ d| _|| _dS )z(ShardOwner - a model defined in OpenAPI.N)Ú_node_idZ discriminatorr ©Úselfr © r úS/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/shard_owner.pyÚ__init__( s zShardOwner.__init__c C s | j S )z£Get the node_id of this ShardOwner. The ID of the node that owns the shard. :return: The node_id of this ShardOwner. :rtype: int )r ©r r r r r / s zShardOwner.node_idc C s |dkrt dƒ‚|| _dS )z©Set the node_id of this ShardOwner. The ID of the node that owns the shard. :param node_id: The node_id of this ShardOwner. :type: int Nz/Invalid value for `node_id`, must not be `None`)Ú ValueErrorr r r r r r : s c C sŽ i }| j ¡ D ]z\}}t| |ƒ}t|tƒrBttdd„ |ƒƒ||<