U wâ’if ã @ 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 ZdZddddddddœZddddd d ddœZd/dd„Zedd„ ƒZej dd„ ƒZedd„ ƒZ e j dd„ ƒZ edd„ ƒZej dd„ ƒZedd„ ƒZej dd„ ƒZedd„ ƒZ e j dd„ ƒZ edd „ ƒZej d!d „ ƒZed"d#„ ƒZej d$d#„ ƒZd%d&„ Zd'd(„ Zd)d*„ Zd+d,„ Zd-d.„ ZdS )0ÚRemoteConnectionCreationRequestz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚstrÚbool)ÚnameÚdescriptionÚorg_idÚ remote_urlÚremote_api_tokenÚ remote_org_idÚallow_insecure_tlsr r ZorgIDZ remoteURLZremoteAPITokenZremoteOrgIDZallowInsecureTLSNFc C sn d| _ d| _d| _d| _d| _d| _d| _d| _|| _|dk rD|| _ || _ || _|| _|dk rd|| _ || _dS )z=RemoteConnectionCreationRequest - a model defined in OpenAPI.N)Ú_nameÚ_descriptionÚ_org_idÚ_remote_urlÚ_remote_api_tokenÚ_remote_org_idÚ_allow_insecure_tlsZ discriminatorr r r r r r r )Úselfr r r r r r r © r új/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/remote_connection_creation_request.pyÚ__init__4 s" z(RemoteConnectionCreationRequest.__init__c C s | j S )z–Get the name of this RemoteConnectionCreationRequest. :return: The name of this RemoteConnectionCreationRequest. :rtype: str )r ©r r r r r I s z$RemoteConnectionCreationRequest.namec C s |dkrt dƒ‚|| _dS )z™Set the name of this RemoteConnectionCreationRequest. :param name: The name of this RemoteConnectionCreationRequest. :type: str Nz,Invalid value for `name`, must not be `None`)Ú ValueErrorr )r r r r r r R s c C s | j S )z¤Get the description of this RemoteConnectionCreationRequest. :return: The description of this RemoteConnectionCreationRequest. :rtype: str ©r r r r r r ] s z+RemoteConnectionCreationRequest.descriptionc C s || _ dS )z®Set the description of this RemoteConnectionCreationRequest. :param description: The description of this RemoteConnectionCreationRequest. :type: str Nr )r r r r r r f s c C s | j S )zšGet the org_id of this RemoteConnectionCreationRequest. :return: The org_id of this RemoteConnectionCreationRequest. :rtype: str )r r r r r r o s z&RemoteConnectionCreationRequest.org_idc C s |dkrt dƒ‚|| _dS )zŸSet the org_id of this RemoteConnectionCreationRequest. :param org_id: The org_id of this RemoteConnectionCreationRequest. :type: str Nz.Invalid value for `org_id`, must not be `None`)r r )r r r r r r x s c C s | j S )z¢Get the remote_url of this RemoteConnectionCreationRequest. :return: The remote_url of this RemoteConnectionCreationRequest. :rtype: str )r r r r r r ƒ s z*RemoteConnectionCreationRequest.remote_urlc C s |dkrt dƒ‚|| _dS )z«Set the remote_url of this RemoteConnectionCreationRequest. :param remote_url: The remote_url of this RemoteConnectionCreationRequest. :type: str Nz2Invalid value for `remote_url`, must not be `None`)r r )r r r r r r Œ s c C s | j S )z®Get the remote_api_token of this RemoteConnectionCreationRequest. :return: The remote_api_token of this RemoteConnectionCreationRequest. :rtype: str )r r r r r r — s z0RemoteConnectionCreationRequest.remote_api_tokenc C s |dkrt dƒ‚|| _dS )z½Set the remote_api_token of this RemoteConnectionCreationRequest. :param remote_api_token: The remote_api_token of this RemoteConnectionCreationRequest. :type: str Nz8Invalid value for `remote_api_token`, must not be `None`)r r )r r r r r r s c C s | j S )z¨Get the remote_org_id of this RemoteConnectionCreationRequest. :return: The remote_org_id of this RemoteConnectionCreationRequest. :rtype: str ©r r r r r r « s z-RemoteConnectionCreationRequest.remote_org_idc C s || _ dS )z´Set the remote_org_id of this RemoteConnectionCreationRequest. :param remote_org_id: The remote_org_id of this RemoteConnectionCreationRequest. :type: str Nr )r r r r r r ´ s c C s | j S )z³Get the allow_insecure_tls of this RemoteConnectionCreationRequest. :return: The allow_insecure_tls of this RemoteConnectionCreationRequest. :rtype: bool )r r r r r r ½ s z2RemoteConnectionCreationRequest.allow_insecure_tlsc C s |dkrt dƒ‚|| _dS )zÄSet the allow_insecure_tls of this RemoteConnectionCreationRequest. :param allow_insecure_tls: The allow_insecure_tls of this RemoteConnectionCreationRequest. :type: bool Nz:Invalid value for `allow_insecure_tls`, must not be `None`)r r )r r r r r r Æ s c C sŽ i }| j ¡ D ]z\}}t| |ƒ}t|tƒrBttdd„ |ƒƒ||<