U wâ’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ÆeZdZdZdddddœZdddddœZd"d d „Zed d „ƒZej dd „ƒZedd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ dd„Z dd„Zdd„Zdd„Zd d!„Zd S)#ÚScriptCreateRequestz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚstrZScriptLanguage)ÚnameÚ descriptionÚscriptÚlanguagerrrrNcCs:d|_d|_d|_d|_d|_||_||_||_||_dS)z1ScriptCreateRequest - a model defined in OpenAPI.N) Ú_nameÚ _descriptionÚ_scriptÚ _languageZ discriminatorrrrr)Úselfrrrr©r ú]/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/script_create_request.pyÚ__init__.szScriptCreateRequest.__init__cCs|jS)zÅGet the name of this ScriptCreateRequest. Script name. The name must be unique within the organization. :return: The name of this ScriptCreateRequest. :rtype: str )r©r r r rr;s zScriptCreateRequest.namecCs|dkrtdƒ‚||_dS)zÈSet the name of this ScriptCreateRequest. Script name. The name must be unique within the organization. :param name: The name of this ScriptCreateRequest. :type: str Nz,Invalid value for `name`, must not be `None`)Ú ValueErrorr)r rr r rrFs cCs|jS)zÆGet the description of this ScriptCreateRequest. Script description. A description of the script. :return: The description of this ScriptCreateRequest. :rtype: str )r rr r rrSs zScriptCreateRequest.descriptioncCs|dkrtdƒ‚||_dS)zÐSet the description of this ScriptCreateRequest. Script description. A description of the script. :param description: The description of this ScriptCreateRequest. :type: str Nz3Invalid value for `description`, must not be `None`)rr )r rr r rr^s cCs|jS)z¢Get the script of this ScriptCreateRequest. The script to execute. :return: The script of this ScriptCreateRequest. :rtype: str )r rr r rrks zScriptCreateRequest.scriptcCs|dkrtdƒ‚||_dS)z§Set the script of this ScriptCreateRequest. The script to execute. :param script: The script of this ScriptCreateRequest. :type: str Nz.Invalid value for `script`, must not be `None`)rr )r rr r rrvs cCs|jS)z‘Get the language of this ScriptCreateRequest. :return: The language of this ScriptCreateRequest. :rtype: ScriptLanguage )r rr r rrƒszScriptCreateRequest.languagecCs|dkrtdƒ‚||_dS)z˜Set the language of this ScriptCreateRequest. :param language: The language of this ScriptCreateRequest. :type: ScriptLanguage Nz0Invalid value for `language`, must not be `None`)rr )r rr r rrŒscCsŽ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ÚŸóz-ScriptCreateRequest.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemr r rr¦s ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)r ÚresultÚattrÚ_Úvaluer r rr—s"  þ   ý  zScriptCreateRequest.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrrr r rÚto_str¯szScriptCreateRequest.to_strcCs| ¡S)zFor `print` and `pprint`.)r'rr r rÚ__repr__³szScriptCreateRequest.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©r Úotherr r rÚ__eq__·s zScriptCreateRequest.__eq__cCs ||k S)z*Return true if both objects are not equal.r r*r r rÚ__ne__¾szScriptCreateRequest.__ne__)NNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rZ attribute_maprÚpropertyrÚsetterrrrrr'r(r,r-r r r rrsBüü         r)r1r%ÚreÚobjectrr r r rÚs