U wi @ s( d Z ddlZddlZG dd deZdS )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 e Zd ZdZddddddddZddddd d ddZd.d dZedd Zej dd Zedd Z e j dd Z edd Zej dd Zedd Zej dd Zedd Z e j dd Z edd Zej d d Zed!d" Zej d#d" Zd$d% Zd&d' Zd(d) Zd*d+ Zd,d- ZdS )/TaskUpdateRequestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ZTaskStatusTypestr)statusfluxnameeverycronoffsetdescriptionr r r r r r r Nc C s d| _ 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 discriminatorr r r r r r r )selfr r r r r r r r [/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/task_update_request.py__init__4 s, zTaskUpdateRequest.__init__c C s | j S )zGet the status of this TaskUpdateRequest. :return: The status of this TaskUpdateRequest. :rtype: TaskStatusType r r r r r r N s zTaskUpdateRequest.statusc C s || _ dS )zSet the status of this TaskUpdateRequest. :param status: The status of this TaskUpdateRequest. :type: TaskStatusType Nr )r r r r r r W s c C s | j S )zGet the flux of this TaskUpdateRequest. The Flux script that the task runs. :return: The flux of this TaskUpdateRequest. :rtype: str r r r r r r ` s zTaskUpdateRequest.fluxc C s || _ dS )zSet the flux of this TaskUpdateRequest. The Flux script that the task runs. :param flux: The flux of this TaskUpdateRequest. :type: str Nr )r r r r r r k s c C s | j S )zGet the name of this TaskUpdateRequest. Update the 'name' option in the flux script. :return: The name of this TaskUpdateRequest. :rtype: str r r r r r r v s zTaskUpdateRequest.namec C s || _ 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 )r r r r r r s c C s | j S )zGet the every of this TaskUpdateRequest. Update the 'every' option in the flux script. :return: The every of this TaskUpdateRequest. :rtype: str r r r r r r s zTaskUpdateRequest.everyc C s || _ 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 )r r r r r r s c C s | j S )zGet the cron of this TaskUpdateRequest. Update the 'cron' option in the flux script. :return: The cron of this TaskUpdateRequest. :rtype: str r r r r r r s zTaskUpdateRequest.cronc C s || _ 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 )r r r r r r s c C s | j S )zGet the offset of this TaskUpdateRequest. Update the 'offset' option in the flux script. :return: The offset of this TaskUpdateRequest. :rtype: str r r r r r r s zTaskUpdateRequest.offsetc C s || _ 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 )r r r r r r s c C s | j S )zGet the description of this TaskUpdateRequest. Update the description of the task. :return: The description of this TaskUpdateRequest. :rtype: str r r r r r r s zTaskUpdateRequest.descriptionc C s || _ dS )zSet the description of this TaskUpdateRequest. Update the description of the task. :param description: The description of this TaskUpdateRequest. :type: str Nr )r r r r r r s c C s i }| j D ]z\}}t| |}t|trBttdd |||<