U vâ’i;ã@s(dZddlZddlZGdd„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ŠeZdZdZdddœZdddœZddd„Zed d „ƒZej d d „ƒZed d „ƒZ e j dd „ƒZ dd„Z dd„Z dd„Z dd„Zdd„ZdS)ÚAddResourceMemberRequestBodyz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Ústr)ÚidÚnamerrNcCs*d|_d|_d|_||_|dk r&||_dS)z:AddResourceMemberRequestBody - a model defined in OpenAPI.N)Ú_idÚ_nameZ discriminatorrr)Úselfrr©r úh/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/add_resource_member_request_body.pyÚ__init__*s z%AddResourceMemberRequestBody.__init__cCs|jS)zÀGet the id of this AddResourceMemberRequestBody. The ID of the user to add to the resource. :return: The id of this AddResourceMemberRequestBody. :rtype: str )r©rr r r r4s zAddResourceMemberRequestBody.idcCs|dkrtdƒ‚||_dS)zÁSet the id of this AddResourceMemberRequestBody. The ID of the user to add to the resource. :param id: The id of this AddResourceMemberRequestBody. :type: str Nz*Invalid value for `id`, must not be `None`)Ú ValueErrorr)rrr r r r?s cCs|jS)zÆGet the name of this AddResourceMemberRequestBody. The name of the user to add to the resource. :return: The name of this AddResourceMemberRequestBody. :rtype: str ©rr r r r rLs z!AddResourceMemberRequestBody.namecCs ||_dS)zÉSet the name of this AddResourceMemberRequestBody. The name of the user to add to the resource. :param name: The name of this AddResourceMemberRequestBody. :type: str Nr)rrr r r rWs cCsŽi}|j ¡D]z\}}t||ƒ}t|tƒrBttdd„|ƒƒ||<qt|dƒrZ| ¡||<qt|tƒr€ttdd„| ¡ƒƒ||<q|||<q|S)z&Return the model properties as a dict.cSst|dƒr| ¡S|S)NÚto_dict©Úhasattrr)Úxr r r Újóz6AddResourceMemberRequestBody.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemr r r rqs ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)rÚresultÚattrÚ_Úvaluer r r rbs"  þ   ý  z$AddResourceMemberRequestBody.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrr r r r Úto_strzsz#AddResourceMemberRequestBody.to_strcCs| ¡S)zFor `print` and `pprint`.)r$r r r r Ú__repr__~sz%AddResourceMemberRequestBody.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©rÚotherr r r Ú__eq__‚s z#AddResourceMemberRequestBody.__eq__cCs ||k S)z*Return true if both objects are not equal.r r'r r r Ú__ne__‰sz#AddResourceMemberRequestBody.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rZ attribute_mapr ÚpropertyrÚsetterrrr$r%r)r*r r r r rs*þþ     r)r.r"ÚreÚobjectrr r r r Ús