🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-08 15:36:51 | PHP 8.2.32
📂
/ (Root)
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
influxdb_client
/
domain
/
__pycache__
📍 /opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/__pycache__
🔄 Refresh
✏️
Editing: legacy_authorization_post_request.cpython-38.pyc
Read Only
U v�i� � @ s4 d Z ddlZddlZddlmZ G dd� 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 � N)�AuthorizationUpdateRequestc @ s� e Zd ZdZddddddd�Zddddd d d�Zd%d d�Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zdd� Z dd� Zdd � Zd!d"� Zd#d$� ZdS )&�LegacyAuthorizationPostRequestz�NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. �strzlist[Permission])�org_id�user_id�token�permissions�status�descriptionZorgIDZuserIDr r r r N�activec C sj t j| ||d� d| _d| _d| _d| _d| _|dk r<|| _|dk rJ|| _|dk rX|| _ |dk rf|| _ dS )z<LegacyAuthorizationPostRequest - a model defined in OpenAPI.)r r N)r �__init__�_org_id�_user_id�_token�_permissionsZ discriminatorr r r r )�selfr r r r r r � r �i/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/legacy_authorization_post_request.pyr 4 s z'LegacyAuthorizationPostRequest.__init__c C s | j S )z�Get the org_id of this LegacyAuthorizationPostRequest. ID of org that authorization is scoped to. :return: The org_id of this LegacyAuthorizationPostRequest. :rtype: str �r �r r r r r G s z%LegacyAuthorizationPostRequest.org_idc C s || _ dS )z�Set the org_id of this LegacyAuthorizationPostRequest. ID of org that authorization is scoped to. :param org_id: The org_id of this LegacyAuthorizationPostRequest. :type: str Nr )r r r r r r R s c C s | j S )z�Get the user_id of this LegacyAuthorizationPostRequest. ID of user that authorization is scoped to. :return: The user_id of this LegacyAuthorizationPostRequest. :rtype: str �r r r r r r ] s z&LegacyAuthorizationPostRequest.user_idc C s || _ dS )z�Set the user_id of this LegacyAuthorizationPostRequest. ID of user that authorization is scoped to. :param user_id: The user_id of this LegacyAuthorizationPostRequest. :type: str Nr )r r r r r r h s c C s | j S )z�Get the token of this LegacyAuthorizationPostRequest. Token (name) of the authorization :return: The token of this LegacyAuthorizationPostRequest. :rtype: str �r r r r r r s s z$LegacyAuthorizationPostRequest.tokenc C s || _ dS )z�Set the token of this LegacyAuthorizationPostRequest. Token (name) of the authorization :param token: The token of this LegacyAuthorizationPostRequest. :type: str Nr )r r r r r r ~ s c C s | j S )a Get the permissions of this LegacyAuthorizationPostRequest. List of permissions for an auth. An auth must have at least one Permission. :return: The permissions of this LegacyAuthorizationPostRequest. :rtype: list[Permission] �r r r r r r � s z*LegacyAuthorizationPostRequest.permissionsc C s || _ dS )a Set the permissions of this LegacyAuthorizationPostRequest. List of permissions for an auth. An auth must have at least one Permission. :param permissions: The permissions of this LegacyAuthorizationPostRequest. :type: list[Permission] Nr )r r r r r r � s c C s� i }| j �� D ]z\}}t| |�}t|t�rBttdd� |��||<