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 @s\eZdZdZdddddddddd Zdddd d d d d dd Zd7ddZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZ e j d dZ ed!d"Zej d#d"Zed$d%Zej d&d%Zed'd(Zej d)d(Zed*d+Zej d,d+Zd-d.Zd/d0Zd1d2Zd3d4Zd5d6ZdS)8ScriptzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZScriptLanguagedatetime) idname descriptionorg_idscriptlanguageurl created_at updated_atrrrZorgIDr r r Z createdAtZ updatedAtNc Csd|_d|_d|_d|_d|_d|_d|_d|_d|_d|_ |dk rJ||_ ||_ |dk r^||_ ||_ ||_|dk rx||_|dk r||_|dk r||_| dk r| |_dS)z$Script - a model defined in OpenAPI.N)_id_name _description_org_id_script _language_url _created_at _updated_atZ discriminatorrrrrr r r r r ) selfrrrrr r r r r rN/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/script.py__init__8s2zScript.__init__cCs|jS)z`Get the id of this Script. :return: The id of this Script. :rtype: str rrrrrrUsz Script.idcCs ||_dS)zaSet the id of this Script. :param id: The id of this Script. :type: str Nr)rrrrrr^scCs|jS)zdGet the name of this Script. :return: The name of this Script. :rtype: str )rrrrrrgsz Script.namecCs|dkrtd||_dS)zgSet the name of this Script. :param name: The name of this Script. :type: str Nz,Invalid value for `name`, must not be `None`) ValueErrorr)rrrrrrpscCs|jS)zrGet the description of this Script. :return: The description of this Script. :rtype: str rrrrrr{szScript.descriptioncCs ||_dS)z|Set the description of this Script. :param description: The description of this Script. :type: str Nr)rrrrrrscCs|jS)zhGet the org_id of this Script. :return: The org_id of this Script. :rtype: str )rrrrrrsz Script.org_idcCs|dkrtd||_dS)zmSet the org_id of this Script. :param org_id: The org_id of this Script. :type: str Nz.Invalid value for `org_id`, must not be `None`)rr)rrrrrrscCs|jS)zGet the script of this Script. The script to execute. :return: The script of this Script. :rtype: str )rrrrrr s z Script.scriptcCs|dkrtd||_dS)zSet the script of this Script. The script to execute. :param script: The script of this Script. :type: str Nz.Invalid value for `script`, must not be `None`)rr)rr rrrr s cCs|jS)zwGet the language of this Script. :return: The language of this Script. :rtype: ScriptLanguage rrrrrr szScript.languagecCs ||_dS)z~Set the language of this Script. :param language: The language of this Script. :type: ScriptLanguage Nr)rr rrrr scCs|jS)zGet the url of this Script. The invocation endpoint address. :return: The url of this Script. :rtype: str rrrrrr s z Script.urlcCs ||_dS)zSet the url of this Script. The invocation endpoint address. :param url: The url of this Script. :type: str Nr )rr rrrr s cCs|jS)zuGet the created_at of this Script. :return: The created_at of this Script. :rtype: datetime rrrrrr szScript.created_atcCs ||_dS)z~Set the created_at of this Script. :param created_at: The created_at of this Script. :type: datetime Nr!)rr rrrr scCs|jS)zuGet the updated_at of this Script. :return: The updated_at of this Script. :rtype: datetime rrrrrr szScript.updated_atcCs ||_dS)z~Set the updated_at of this Script. :param updated_at: The updated_at of this Script. :type: datetime Nr")rr rrrr 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#)xrrr z Script.to_dict..r#cSs&t|ddr"|d|dfS|S)Nr#rr$)itemrrrr's ) openapi_typesitemsgetattr isinstancelistmapr%r#dict)rresultattr_valuerrrr#s"       zScript.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr#rrrrto_strsz Script.to_strcCs|S)zFor `print` and `pprint`.)r8rrrr__repr__!szScript.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r.r__dict__rotherrrr__eq__%s z Script.__eq__cCs ||k S)z*Return true if both objects are not equal.rr;rrr__ne__,sz Script.__ne__) NNNNNNNNN)__name__ __module__ __qualname____doc__r+Z attribute_maprpropertyrsetterrrrr r r r r r#r8r9r=r>rrrrrs~                    r)rBr6reobjectrrrrrs