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 ZdZdddddddddœZdddd d ddd dœZd3dd„Zedd„ ƒZej dd„ ƒZedd„ ƒZ e j dd„ ƒZ edd„ ƒZej dd„ ƒZedd„ ƒZej dd„ ƒZedd„ ƒZ e j dd„ ƒZ ed d!„ ƒZej d"d!„ ƒZed#d$„ ƒZej d%d$„ ƒZed&d'„ ƒZej d(d'„ ƒZd)d*„ Zd+d,„ Zd-d.„ Zd/d0„ Zd1d2„ ZdS )4ÚReplicationUpdateRequestz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚstrÚintÚbool)ÚnameÚdescriptionÚ remote_idÚremote_bucket_idÚremote_bucket_nameÚmax_queue_size_bytesÚdrop_non_retryable_dataÚmax_age_secondsr r ZremoteIDZremoteBucketIDZremoteBucketNameZmaxQueueSizeBytesZdropNonRetryableDataZ maxAgeSecondsNc C sª d| _ d| _d| _d| _d| _d| _d| _d| _d| _|dk rD|| _ |dk rR|| _ |dk r`|| _|dk rn|| _|dk r||| _ |dk rŠ|| _|dk r˜|| _|dk r¦|| _dS )z6ReplicationUpdateRequest - a model defined in OpenAPI.N)Ú_nameÚ_descriptionÚ _remote_idÚ_remote_bucket_idÚ_remote_bucket_nameÚ_max_queue_size_bytesÚ_drop_non_retryable_dataÚ_max_age_secondsZ discriminatorr r r r r r r r ) Úselfr r r r r r r r © r úb/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/replication_update_request.pyÚ__init__6 s2 z!ReplicationUpdateRequest.__init__c C s | j S )zˆGet the name of this ReplicationUpdateRequest. :return: The name of this ReplicationUpdateRequest. :rtype: str ©r ©r r r r r S s zReplicationUpdateRequest.namec C s || _ dS )z‹Set the name of this ReplicationUpdateRequest. :param name: The name of this ReplicationUpdateRequest. :type: str Nr )r r r r r r \ s c C s | j S )z–Get the description of this ReplicationUpdateRequest. :return: The description of this ReplicationUpdateRequest. :rtype: str ©r r r r r r e s z$ReplicationUpdateRequest.descriptionc C s || _ dS )z Set the description of this ReplicationUpdateRequest. :param description: The description of this ReplicationUpdateRequest. :type: str Nr )r r r r r r n s c C s | j S )z’Get the remote_id of this ReplicationUpdateRequest. :return: The remote_id of this ReplicationUpdateRequest. :rtype: str ©r r r r r r w s z"ReplicationUpdateRequest.remote_idc C s || _ dS )zšSet the remote_id of this ReplicationUpdateRequest. :param remote_id: The remote_id of this ReplicationUpdateRequest. :type: str Nr )r r r r r r € s c C s | j S )z Get the remote_bucket_id of this ReplicationUpdateRequest. :return: The remote_bucket_id of this ReplicationUpdateRequest. :rtype: str ©r r r r r r ‰ s z)ReplicationUpdateRequest.remote_bucket_idc C s || _ dS )z¯Set the remote_bucket_id of this ReplicationUpdateRequest. :param remote_bucket_id: The remote_bucket_id of this ReplicationUpdateRequest. :type: str Nr )r r r r r r ’ s c C s | j S )z¤Get the remote_bucket_name of this ReplicationUpdateRequest. :return: The remote_bucket_name of this ReplicationUpdateRequest. :rtype: str ©r r r r r r › s z+ReplicationUpdateRequest.remote_bucket_namec C s || _ dS )zµSet the remote_bucket_name of this ReplicationUpdateRequest. :param remote_bucket_name: The remote_bucket_name of this ReplicationUpdateRequest. :type: str Nr )r r r r r r ¤ s c C s | j S )z¨Get the max_queue_size_bytes of this ReplicationUpdateRequest. :return: The max_queue_size_bytes of this ReplicationUpdateRequest. :rtype: int )r r r r r r s z-ReplicationUpdateRequest.max_queue_size_bytesc C s" |dk r|dk rt dƒ‚|| _dS )z»Set the max_queue_size_bytes of this ReplicationUpdateRequest. :param max_queue_size_bytes: The max_queue_size_bytes of this ReplicationUpdateRequest. :type: int Niþÿÿz]Invalid value for `max_queue_size_bytes`, must be a value greater than or equal to `33554430`)Ú ValueErrorr )r r r r r r ¶ s c C s | j S )z¯Get the drop_non_retryable_data of this ReplicationUpdateRequest. :return: The drop_non_retryable_data of this ReplicationUpdateRequest. :rtype: bool ©r r r r r r Á s z0ReplicationUpdateRequest.drop_non_retryable_datac C s || _ dS )zÅSet the drop_non_retryable_data of this ReplicationUpdateRequest. :param drop_non_retryable_data: The drop_non_retryable_data of this ReplicationUpdateRequest. :type: bool Nr! )r r r r r r Ê s c C s | j S )zžGet the max_age_seconds of this ReplicationUpdateRequest. :return: The max_age_seconds of this ReplicationUpdateRequest. :rtype: int )r r r r r r Ó s z(ReplicationUpdateRequest.max_age_secondsc C s" |dk r|dk rt dƒ‚|| _dS )z¬Set the max_age_seconds of this ReplicationUpdateRequest. :param max_age_seconds: The max_age_seconds of this ReplicationUpdateRequest. :type: int Nr zQInvalid value for `max_age_seconds`, must be a value greater than or equal to `0`)r r )r r r r r r Ü s c C sŽ i }| j ¡ D ]z\}}t| |ƒ}t|tƒrBttdd„ |ƒƒ||<