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 eZdZdZddddddddZddddd d d dZd.d dZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZej d dZed!d"Zej d#d"Zd$d%Zd&d'Zd(d)Zd*d+Zd,d-Zd S)/TaskUpdateRequestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ZTaskStatusTypestr)statusfluxnameeverycronoffset descriptionrrrrrr r NcCsd|_d|_d|_d|_d|_d|_d|_d|_|dk r>||_|dk rL||_ |dk rZ||_ |dk rh||_ |dk rv||_ |dk r||_ |dk r||_dS)z/TaskUpdateRequest - a model defined in OpenAPI.N)_status_flux_name_every_cron_offset _descriptionZ discriminatorrrrrrr r )selfrrrrrr r r[/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/task_update_request.py__init__4s,zTaskUpdateRequest.__init__cCs|jS)zGet the status of this TaskUpdateRequest. :return: The status of this TaskUpdateRequest. :rtype: TaskStatusType r rrrrrNszTaskUpdateRequest.statuscCs ||_dS)zSet the status of this TaskUpdateRequest. :param status: The status of this TaskUpdateRequest. :type: TaskStatusType Nr)rrrrrrWscCs|jS)zGet the flux of this TaskUpdateRequest. The Flux script that the task runs. :return: The flux of this TaskUpdateRequest. :rtype: str r rrrrr`s zTaskUpdateRequest.fluxcCs ||_dS)zSet the flux of this TaskUpdateRequest. The Flux script that the task runs. :param flux: The flux of this TaskUpdateRequest. :type: str Nr)rrrrrrks cCs|jS)zGet the name of this TaskUpdateRequest. Update the 'name' option in the flux script. :return: The name of this TaskUpdateRequest. :rtype: str r rrrrrvs zTaskUpdateRequest.namecCs ||_dS)zSet the name of this TaskUpdateRequest. Update the 'name' option in the flux script. :param name: The name of this TaskUpdateRequest. :type: str Nr)rrrrrrs cCs|jS)zGet the every of this TaskUpdateRequest. Update the 'every' option in the flux script. :return: The every of this TaskUpdateRequest. :rtype: str rrrrrrs zTaskUpdateRequest.everycCs ||_dS)zSet the every of this TaskUpdateRequest. Update the 'every' option in the flux script. :param every: The every of this TaskUpdateRequest. :type: str Nr)rrrrrrs cCs|jS)zGet the cron of this TaskUpdateRequest. Update the 'cron' option in the flux script. :return: The cron of this TaskUpdateRequest. :rtype: str rrrrrrs zTaskUpdateRequest.croncCs ||_dS)zSet the cron of this TaskUpdateRequest. Update the 'cron' option in the flux script. :param cron: The cron of this TaskUpdateRequest. :type: str Nr)rrrrrrs cCs|jS)zGet the offset of this TaskUpdateRequest. Update the 'offset' option in the flux script. :return: The offset of this TaskUpdateRequest. :rtype: str rrrrrr s zTaskUpdateRequest.offsetcCs ||_dS)zSet the offset of this TaskUpdateRequest. Update the 'offset' option in the flux script. :param offset: The offset of this TaskUpdateRequest. :type: str Nr)rr rrrr s cCs|jS)zGet the description of this TaskUpdateRequest. Update the description of the task. :return: The description of this TaskUpdateRequest. :rtype: str rrrrrr s zTaskUpdateRequest.descriptioncCs ||_dS)zSet the description of this TaskUpdateRequest. Update the description of the task. :param description: The description of this TaskUpdateRequest. :type: str Nr)rr rrrr s 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)xrrrz+TaskUpdateRequest.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrr"s ) openapi_typesitemsgetattr isinstancelistmapr rdict)rresultattr_valuerrrrs"       zTaskUpdateRequest.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszTaskUpdateRequest.to_strcCs|S)zFor `print` and `pprint`.)r3rrrr__repr__szTaskUpdateRequest.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r)r__dict__rotherrrr__eq__s zTaskUpdateRequest.__eq__cCs ||k S)z*Return true if both objects are not equal.rr6rrr__ne__ szTaskUpdateRequest.__ne__)NNNNNNN)__name__ __module__ __qualname____doc__r&Z attribute_maprpropertyrsetterrrrrr r rr3r4r8r9rrrrrsf                r)r=r1reobjectrrrrrs