U wiq@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@s eZdZdZddddddddZddddd d d dZd/ddZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZ e j ddZ edd Zej d!d Zed"d#Zej d$d#Zd%d&Zd'd(Zd)d*Zd+d,Zd-d.Zd S)0RemoteConnectionzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strbool)idnameorg_id description remote_url remote_org_idallow_insecure_tlsrrZorgIDrZ remoteURLZ remoteOrgIDZallowInsecureTLSNFcCsnd|_d|_d|_d|_d|_d|_d|_d|_||_||_ ||_ |dk rP||_ ||_ |dk rd||_ ||_dS)z.RemoteConnection - a model defined in OpenAPI.N)_id_name_org_id _description _remote_url_remote_org_id_allow_insecure_tlsZ discriminatorrrrrr r r )selfrrrrr r r rY/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/remote_connection.py__init__4s"zRemoteConnection.__init__cCs|jS)ztGet the id of this RemoteConnection. :return: The id of this RemoteConnection. :rtype: str )r rrrrrIszRemoteConnection.idcCs|dkrtd||_dS)zuSet the id of this RemoteConnection. :param id: The id of this RemoteConnection. :type: str Nz*Invalid value for `id`, must not be `None`) ValueErrorr )rrrrrrRscCs|jS)zxGet the name of this RemoteConnection. :return: The name of this RemoteConnection. :rtype: str )r rrrrr]szRemoteConnection.namecCs|dkrtd||_dS)z{Set the name of this RemoteConnection. :param name: The name of this RemoteConnection. :type: str Nz,Invalid value for `name`, must not be `None`)rr )rrrrrrfscCs|jS)z|Get the org_id of this RemoteConnection. :return: The org_id of this RemoteConnection. :rtype: str )rrrrrrqszRemoteConnection.org_idcCs|dkrtd||_dS)zSet the org_id of this RemoteConnection. :param org_id: The org_id of this RemoteConnection. :type: str Nz.Invalid value for `org_id`, must not be `None`)rr)rrrrrrzscCs|jS)zGet the description of this RemoteConnection. :return: The description of this RemoteConnection. :rtype: str rrrrrrszRemoteConnection.descriptioncCs ||_dS)zSet the description of this RemoteConnection. :param description: The description of this RemoteConnection. :type: str Nr)rrrrrrscCs|jS)zGet the remote_url of this RemoteConnection. :return: The remote_url of this RemoteConnection. :rtype: str )rrrrrr szRemoteConnection.remote_urlcCs|dkrtd||_dS)zSet the remote_url of this RemoteConnection. :param remote_url: The remote_url of this RemoteConnection. :type: str Nz2Invalid value for `remote_url`, must not be `None`)rr)rr rrrr scCs|jS)zGet the remote_org_id of this RemoteConnection. :return: The remote_org_id of this RemoteConnection. :rtype: str rrrrrr szRemoteConnection.remote_org_idcCs ||_dS)zSet the remote_org_id of this RemoteConnection. :param remote_org_id: The remote_org_id of this RemoteConnection. :type: str Nr)rr rrrr scCs|jS)zGet the allow_insecure_tls of this RemoteConnection. :return: The allow_insecure_tls of this RemoteConnection. :rtype: bool )rrrrrr sz#RemoteConnection.allow_insecure_tlscCs|dkrtd||_dS)zSet the allow_insecure_tls of this RemoteConnection. :param allow_insecure_tls: The allow_insecure_tls of this RemoteConnection. :type: bool Nz:Invalid value for `allow_insecure_tls`, 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*RemoteConnection.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrrrs"       zRemoteConnection.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszRemoteConnection.to_strcCs|S)zFor `print` and `pprint`.)r0rrrr__repr__szRemoteConnection.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r&r__dict__rotherrrr__eq__s zRemoteConnection.__eq__cCs ||k S)z*Return true if both objects are not equal.rr3rrr__ne__szRemoteConnection.__ne__)NNNNNNF)__name__ __module__ __qualname____doc__r#Z attribute_maprpropertyrsetterrrrr r r rr0r1r5r6rrrrrsf                r)r:r.reobjectrrrrrs