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)ScriptUpdateRequestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. str) descriptionscriptrrNcCs2d|_d|_d|_|dk r ||_|dk r.||_dS)z1ScriptUpdateRequest - a model defined in OpenAPI.N) _description_scriptZ discriminatorrr)selfrrr ]/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/script_update_request.py__init__*szScriptUpdateRequest.__init__cCs|jS)zGet the description of this ScriptUpdateRequest. A description of the script. :return: The description of this ScriptUpdateRequest. :rtype: str rrr r r r5s zScriptUpdateRequest.descriptioncCs ||_dS)zSet the description of this ScriptUpdateRequest. A description of the script. :param description: The description of this ScriptUpdateRequest. :type: str Nr )rrr r r r@s cCs|jS)zGet the script of this ScriptUpdateRequest. The script to execute. :return: The script of this ScriptUpdateRequest. :rtype: str rr r r r rKs zScriptUpdateRequest.scriptcCs ||_dS)zSet the script of this ScriptUpdateRequest. The script to execute. :param script: The script of this ScriptUpdateRequest. :type: str Nr)rrr r r rVs 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 iz-ScriptUpdateRequest.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rps ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuer r r ras"       zScriptUpdateRequest.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrr r r r to_stryszScriptUpdateRequest.to_strcCs|S)zFor `print` and `pprint`.)r$r r r r __repr__}szScriptUpdateRequest.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__rotherr r r __eq__s zScriptUpdateRequest.__eq__cCs ||k S)z*Return true if both objects are not equal.r r'r r r __ne__szScriptUpdateRequest.__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