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 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 )/BucketMetadataManifestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strzlist[RetentionPolicyManifest])organization_idorganization_name bucket_idbucket_namedescriptiondefault_retention_policyretention_policiesZorganizationIDZorganizationNameZbucketIDZ bucketNamer ZdefaultRetentionPolicyZretentionPoliciesNc C sf d| _ d| _d| _d| _d| _d| _d| _d| _|| _|| _ || _ || _|dk rV|| _|| _ || _dS )z4BucketMetadataManifest - a model defined in OpenAPI.N)_organization_id_organization_name _bucket_id_bucket_name_description_default_retention_policy_retention_policiesZ 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/bucket_metadata_manifest.py__init__4 s zBucketMetadataManifest.__init__c C s | j S )zGet the organization_id of this BucketMetadataManifest. :return: The organization_id of this BucketMetadataManifest. :rtype: str )r r r r r r H s z&BucketMetadataManifest.organization_idc C s |dkrt d|| _dS )zSet the organization_id of this BucketMetadataManifest. :param organization_id: The organization_id of this BucketMetadataManifest. :type: str Nz7Invalid value for `organization_id`, must not be `None`) ValueErrorr )r r r r r r Q s c C s | j S )zGet the organization_name of this BucketMetadataManifest. :return: The organization_name of this BucketMetadataManifest. :rtype: str )r r r r r r \ s z(BucketMetadataManifest.organization_namec C s |dkrt d|| _dS )zSet the organization_name of this BucketMetadataManifest. :param organization_name: The organization_name of this BucketMetadataManifest. :type: str Nz9Invalid value for `organization_name`, must not be `None`)r r )r r r r r r e s c C s | j S )zGet the bucket_id of this BucketMetadataManifest. :return: The bucket_id of this BucketMetadataManifest. :rtype: str )r r r r r r p s z BucketMetadataManifest.bucket_idc C s |dkrt d|| _dS )zSet the bucket_id of this BucketMetadataManifest. :param bucket_id: The bucket_id of this BucketMetadataManifest. :type: str Nz1Invalid value for `bucket_id`, must not be `None`)r r )r r r r r r y s c C s | j S )zGet the bucket_name of this BucketMetadataManifest. :return: The bucket_name of this BucketMetadataManifest. :rtype: str )r r r r r r s z"BucketMetadataManifest.bucket_namec C s |dkrt d|| _dS )zSet the bucket_name of this BucketMetadataManifest. :param bucket_name: The bucket_name of this BucketMetadataManifest. :type: str Nz3Invalid value for `bucket_name`, must not be `None`)r r )r r r r r r s c C s | j S )zGet the description of this BucketMetadataManifest. :return: The description of this BucketMetadataManifest. :rtype: str r r r r r r s z"BucketMetadataManifest.descriptionc C s || _ dS )zSet the description of this BucketMetadataManifest. :param description: The description of this BucketMetadataManifest. :type: str Nr )r r r r r r s c C s | j S )zGet the default_retention_policy of this BucketMetadataManifest. :return: The default_retention_policy of this BucketMetadataManifest. :rtype: str )r r r r r r s z/BucketMetadataManifest.default_retention_policyc C s |dkrt d|| _dS )zSet the default_retention_policy of this BucketMetadataManifest. :param default_retention_policy: The default_retention_policy of this BucketMetadataManifest. :type: str Nz@Invalid value for `default_retention_policy`, must not be `None`)r r )r r r r r r s c C s | j S )zGet the retention_policies of this BucketMetadataManifest. :return: The retention_policies of this BucketMetadataManifest. :rtype: list[RetentionPolicyManifest] )r r r r r r s z)BucketMetadataManifest.retention_policiesc C s |dkrt d|| _dS )zSet the retention_policies of this BucketMetadataManifest. :param retention_policies: The retention_policies of this BucketMetadataManifest. :type: list[RetentionPolicyManifest] Nz:Invalid value for `retention_policies`, must not be `None`)r r )r r r r r r s c C s i }| j D ]z\}}t| |}t|trBttdd |||<