U wâ’iy ã @ 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 ZdZdddddœZdddddœZd#dd„Zed d„ ƒZej dd„ ƒZedd„ ƒZ e j dd„ ƒZ edd„ ƒZej dd„ ƒZedd„ ƒZej dd„ ƒZdd„ Z dd„ Zdd„ Zdd „ Zd!d"„ Zd S )$ÚUserResponsez‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚstrZUserResponseLinks)ÚidÚnameÚstatusÚlinksr r r r NÚactivec C sR d| _ d| _d| _d| _d| _|dk r,|| _|| _|dk r@|| _|dk rN|| _dS )z*UserResponse - a model defined in OpenAPI.N) Ú_idÚ_nameÚ_statusÚ_linksZ discriminatorr r r r )Úselfr r r r © r úU/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/user_response.pyÚ__init__. s zUserResponse.__init__c C s | j S )z‚Get the id of this UserResponse. The user ID. :return: The id of this UserResponse. :rtype: str ©r ©r r r r r > s zUserResponse.idc C s || _ dS )zƒSet the id of this UserResponse. The user ID. :param id: The id of this UserResponse. :type: str Nr )r r r r r r I s c C s | j S )zˆGet the name of this UserResponse. The user name. :return: The name of this UserResponse. :rtype: str )r r r r r r T s zUserResponse.namec C s |dkrt dƒ‚|| _dS )z‹Set the name of this UserResponse. The user name. :param name: The name of this UserResponse. :type: str Nz,Invalid value for `name`, must not be `None`)Ú ValueErrorr )r r r r r r _ s c C s | j S )zÃGet the status of this UserResponse. The status of a user. An inactive user can't read or write resources. :return: The status of this UserResponse. :rtype: str ©r r r r r r l s zUserResponse.statusc C s || _ dS )zÈSet the status of this UserResponse. The status of a user. An inactive user can't read or write resources. :param status: The status of this UserResponse. :type: str Nr )r r r r r r w s c C s | j S )z€Get the links of this UserResponse. :return: The links of this UserResponse. :rtype: UserResponseLinks ©r r r r r r ‚ s zUserResponse.linksc C s || _ dS )z„Set the links of this UserResponse. :param links: The links of this UserResponse. :type: UserResponseLinks Nr )r r r r r r ‹ s c C sŽ i }| j ¡ D ]z\}}t| |ƒ}t|tƒrBttdd„ |ƒƒ||<