U wi@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@seZdZdZdddZdddZdddZed d Zej d d Zed d Z e j dd Z ddZ ddZ ddZ ddZddZdS)PostOrganizationRequestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. str)name descriptionrrNcCs*d|_d|_d|_||_|dk r&||_dS)z5PostOrganizationRequest - a model defined in OpenAPI.N)_name _descriptionZ discriminatorrr)selfrrr a/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/post_organization_request.py__init__*s z PostOrganizationRequest.__init__cCs|jS)zGet the name of this PostOrganizationRequest. The name of the organization. :return: The name of this PostOrganizationRequest. :rtype: str )rrr r r r4s zPostOrganizationRequest.namecCs|dkrtd||_dS)zSet the name of this PostOrganizationRequest. The name of the organization. :param name: The name of this PostOrganizationRequest. :type: str Nz,Invalid value for `name`, must not be `None`) ValueErrorr)rrr r r r?s cCs|jS)zGet the description of this PostOrganizationRequest. The description of the organization. :return: The description of this PostOrganizationRequest. :rtype: str rr r r r rLs z#PostOrganizationRequest.descriptioncCs ||_dS)zSet the description of this PostOrganizationRequest. The description of the organization. :param description: The description of this PostOrganizationRequest. :type: str Nr)rrr r r rWs cCsi}|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)xr r r jz1PostOrganizationRequest.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rqs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuer r r rbs"       zPostOrganizationRequest.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrr r r r to_strzszPostOrganizationRequest.to_strcCs|S)zFor `print` and `pprint`.)r$r r r r __repr__~sz PostOrganizationRequest.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__rotherr r r __eq__s zPostOrganizationRequest.__eq__cCs ||k S)z*Return true if both objects are not equal.r r'r r r __ne__szPostOrganizationRequest.__ne__)NN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrr$r%r)r*r r r r rs*     r)r.r"reobjectrr r r r s