U wi5@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@seZdZdZdddddddddddddddZdddd d d d d dddddddZdKddZeddZej ddZeddZ e j ddZ eddZ e j ddZ ed d!Z e j d"d!Z ed#d$Z e j d%d$Z ed&d'Zej d(d'Zed)d*Zej d+d*Zed,d-Zej d.d-Zed/d0Zej d1d0Zed2d3Zej d4d3Zed5d6Zej d7d6Zed8d9Zej d:d9Zed;d<Zej d=d<Zed>d?Zej d@d?ZdAdBZdCdDZdEdFZdGdHZdIdJZdS)L ReplicationzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strintbool)idname descriptionorg_id remote_idlocal_bucket_idremote_bucket_idremote_bucket_namemax_queue_size_bytescurrent_queue_size_bytesremaining_bytes_to_be_syncedlatest_response_codelatest_error_messagedrop_non_retryable_datarrrZorgIDZremoteIDZ localBucketIDZremoteBucketIDZremoteBucketNameZmaxQueueSizeBytesZcurrentQueueSizeBytesZremainingBytesToBeSyncedZlatestResponseCodeZlatestErrorMessageZdropNonRetryableDataNcCsd|_d|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_||_||_|dk rt||_||_||_||_|dk r||_|dk r||_| |_| dk r| |_| dk r| |_| dk r| |_| dk r| |_|dk r||_dS)z)Replication - a model defined in OpenAPI.N)_id_name _description_org_id _remote_id_local_bucket_id_remote_bucket_id_remote_bucket_name_max_queue_size_bytes_current_queue_size_bytes_remaining_bytes_to_be_synced_latest_response_code_latest_error_message_drop_non_retryable_dataZ discriminatorrrrr r r r r rrrrrr)selfrrrr r r r r rrrrrrr#S/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/replication.py__init__BsJzReplication.__init__cCs|jS)zjGet the id of this Replication. :return: The id of this Replication. :rtype: str )rr"r#r#r$rkszReplication.idcCs|dkrtd||_dS)zkSet the id of this Replication. :param id: The id of this Replication. :type: str Nz*Invalid value for `id`, must not be `None`) ValueErrorr)r"rr#r#r$rtscCs|jS)znGet the name of this Replication. :return: The name of this Replication. :rtype: str )rr&r#r#r$rszReplication.namecCs|dkrtd||_dS)zqSet the name of this Replication. :param name: The name of this Replication. :type: str Nz,Invalid value for `name`, must not be `None`)r'r)r"rr#r#r$rscCs|jS)z|Get the description of this Replication. :return: The description of this Replication. :rtype: str rr&r#r#r$rszReplication.descriptioncCs ||_dS)zSet the description of this Replication. :param description: The description of this Replication. :type: str Nr()r"rr#r#r$rscCs|jS)zrGet the org_id of this Replication. :return: The org_id of this Replication. :rtype: str )rr&r#r#r$r szReplication.org_idcCs|dkrtd||_dS)zwSet the org_id of this Replication. :param org_id: The org_id of this Replication. :type: str Nz.Invalid value for `org_id`, must not be `None`)r'r)r"r r#r#r$r scCs|jS)zxGet the remote_id of this Replication. :return: The remote_id of this Replication. :rtype: str )rr&r#r#r$r szReplication.remote_idcCs|dkrtd||_dS)zSet the remote_id of this Replication. :param remote_id: The remote_id of this Replication. :type: str Nz1Invalid value for `remote_id`, must not be `None`)r'r)r"r r#r#r$r scCs|jS)zGet the local_bucket_id of this Replication. :return: The local_bucket_id of this Replication. :rtype: str )rr&r#r#r$r szReplication.local_bucket_idcCs|dkrtd||_dS)zSet the local_bucket_id of this Replication. :param local_bucket_id: The local_bucket_id of this Replication. :type: str Nz7Invalid value for `local_bucket_id`, must not be `None`)r'r)r"r r#r#r$r scCs|jS)zGet the remote_bucket_id of this Replication. :return: The remote_bucket_id of this Replication. :rtype: str rr&r#r#r$r szReplication.remote_bucket_idcCs ||_dS)zSet the remote_bucket_id of this Replication. :param remote_bucket_id: The remote_bucket_id of this Replication. :type: str Nr))r"r r#r#r$r scCs|jS)zGet the remote_bucket_name of this Replication. :return: The remote_bucket_name of this Replication. :rtype: str rr&r#r#r$r szReplication.remote_bucket_namecCs ||_dS)zSet the remote_bucket_name of this Replication. :param remote_bucket_name: The remote_bucket_name of this Replication. :type: str Nr*)r"r r#r#r$r scCs|jS)zGet the max_queue_size_bytes of this Replication. :return: The max_queue_size_bytes of this Replication. :rtype: int )rr&r#r#r$rsz Replication.max_queue_size_bytescCs|dkrtd||_dS)zSet the max_queue_size_bytes of this Replication. :param max_queue_size_bytes: The max_queue_size_bytes of this Replication. :type: int Nz{z%Replication.to_dict..r0cSs&t|ddr"|d|dfS|S)Nr0rr1)itemr#r#r$r4s ) openapi_typesitemsgetattr isinstancelistmapr2r0dict)r"resultattr_valuer#r#r$r0ss"       zReplication.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr0r&r#r#r$to_strszReplication.to_strcCs|S)zFor `print` and `pprint`.)rEr&r#r#r$__repr__szReplication.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r;r__dict__r"otherr#r#r$__eq__s zReplication.__eq__cCs ||k S)z*Return true if both objects are not equal.r#rHr#r#r$__ne__szReplication.__ne__)NNNNNNNNNNNNNN)__name__ __module__ __qualname____doc__r8Z attribute_mapr%propertyrsetterrrr r r r r rrrrrrr0rErFrJrKr#r#r#r$rs )                            r)rOrCreobjectrr#r#r#r$s