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@seZdZdZdddddZdddddZd"d d Zed d Zej dd ZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ ddZ ddZddZddZd d!Zd S)#PostStackRequestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strz list[str])org_idname descriptionurlsZorgIDrrrNcCsZd|_d|_d|_d|_d|_|dk r,||_|dk r:||_|dk rH||_|dk rV||_dS)z.PostStackRequest - a model defined in OpenAPI.N) _org_id_name _description_urlsZ discriminatorrrrr)selfrrrrr Z/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/post_stack_request.py__init__.szPostStackRequest.__init__cCs|jS)z|Get the org_id of this PostStackRequest. :return: The org_id of this PostStackRequest. :rtype: str rr r r rr?szPostStackRequest.org_idcCs ||_dS)zSet the org_id of this PostStackRequest. :param org_id: The org_id of this PostStackRequest. :type: str Nr)r rr r rrHscCs|jS)zxGet the name of this PostStackRequest. :return: The name of this PostStackRequest. :rtype: str r rr r rrQszPostStackRequest.namecCs ||_dS)z{Set the name of this PostStackRequest. :param name: The name of this PostStackRequest. :type: str Nr)r rr r rrZscCs|jS)zGet the description of this PostStackRequest. :return: The description of this PostStackRequest. :rtype: str r rr r rrcszPostStackRequest.descriptioncCs ||_dS)zSet the description of this PostStackRequest. :param description: The description of this PostStackRequest. :type: str Nr)r rr r rrlscCs|jS)z~Get the urls of this PostStackRequest. :return: The urls of this PostStackRequest. :rtype: list[str] r rr r rruszPostStackRequest.urlscCs ||_dS)zSet the urls of this PostStackRequest. :param urls: The urls of this PostStackRequest. :type: list[str] Nr)r rr r rr~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)xr r rz*PostStackRequest.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r rrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r rrs"       zPostStackRequest.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r rto_strszPostStackRequest.to_strcCs|S)zFor `print` and `pprint`.)r*rr r r__repr__szPostStackRequest.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r r__dict__r otherr r r__eq__s zPostStackRequest.__eq__cCs ||k S)z*Return true if both objects are not equal.r r-r r r__ne__szPostStackRequest.__ne__)NNNN)__name__ __module__ __qualname____doc__rZ attribute_maprpropertyrsetterrrrrr*r+r/r0r r r rrsB         r)r4r(reobjectrr r r rs