U vi @ 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 ZdZdddZdddZddd Zed d Zej dd Zed d Z e j dd Z dd Zdd Zdd Z dd Zdd ZdS )AuthorizationUpdateRequestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. str)statusdescriptionr r activeNc C s2 d| _ d| _d| _|dk r || _|dk r.|| _dS )z8AuthorizationUpdateRequest - a model defined in OpenAPI.N)_status_descriptionZ discriminatorr r )selfr r r d/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/authorization_update_request.py__init__* s z#AuthorizationUpdateRequest.__init__c C s | j S )zGet the status of this AuthorizationUpdateRequest. Status of the token. If `inactive`, InfluxDB rejects requests that use the token. :return: The status of this AuthorizationUpdateRequest. :rtype: str r r r r r r 5 s z!AuthorizationUpdateRequest.statusc C s || _ dS )zSet the status of this AuthorizationUpdateRequest. Status of the token. If `inactive`, InfluxDB rejects requests that use the token. :param status: The status of this AuthorizationUpdateRequest. :type: str Nr )r r r r r r @ s c C s | j S )zGet the description of this AuthorizationUpdateRequest. A description of the token. :return: The description of this AuthorizationUpdateRequest. :rtype: str r r r r r r K s z&AuthorizationUpdateRequest.descriptionc C s || _ dS )zSet the description of this AuthorizationUpdateRequest. A description of the token. :param description: The description of this AuthorizationUpdateRequest. :type: str Nr )r r r r r r V s c C s i }| j D ]z\}}t| |}t|trBttdd |||<