U vi-"@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)/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_id bucket_name descriptiondefault_retention_policyretention_policiesZorganizationIDZorganizationNameZbucketIDZ bucketNamerZdefaultRetentionPolicyZretentionPoliciesNcCsfd|_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 discriminatorrrrrrr r )selfrrrrrr r r`/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/bucket_metadata_manifest.py__init__4s zBucketMetadataManifest.__init__cCs|jS)zGet the organization_id of this BucketMetadataManifest. :return: The organization_id of this BucketMetadataManifest. :rtype: str )r rrrrrHsz&BucketMetadataManifest.organization_idcCs|dkrtd||_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 )rrrrrrQscCs|jS)zGet the organization_name of this BucketMetadataManifest. :return: The organization_name of this BucketMetadataManifest. :rtype: str )r rrrrr\sz(BucketMetadataManifest.organization_namecCs|dkrtd||_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`)rr )rrrrrrescCs|jS)zGet the bucket_id of this BucketMetadataManifest. :return: The bucket_id of this BucketMetadataManifest. :rtype: str )r rrrrrpsz BucketMetadataManifest.bucket_idcCs|dkrtd||_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`)rr )rrrrrryscCs|jS)zGet the bucket_name of this BucketMetadataManifest. :return: The bucket_name of this BucketMetadataManifest. :rtype: str )rrrrrrsz"BucketMetadataManifest.bucket_namecCs|dkrtd||_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`)rr)rrrrrrscCs|jS)zGet the description of this BucketMetadataManifest. :return: The description of this BucketMetadataManifest. :rtype: str rrrrrrsz"BucketMetadataManifest.descriptioncCs ||_dS)zSet the description of this BucketMetadataManifest. :param description: The description of this BucketMetadataManifest. :type: str Nr)rrrrrrscCs|jS)zGet the default_retention_policy of this BucketMetadataManifest. :return: The default_retention_policy of this BucketMetadataManifest. :rtype: str )rrrrrr sz/BucketMetadataManifest.default_retention_policycCs|dkrtd||_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`)rr)rr rrrr scCs|jS)zGet the retention_policies of this BucketMetadataManifest. :return: The retention_policies of this BucketMetadataManifest. :rtype: list[RetentionPolicyManifest] )rrrrrr sz)BucketMetadataManifest.retention_policiescCs|dkrtd||_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`)rr)rr rrrr scCsi}|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)xrrrz0BucketMetadataManifest.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrrrs"       zBucketMetadataManifest.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszBucketMetadataManifest.to_strcCs|S)zFor `print` and `pprint`.)r.rrrr__repr__szBucketMetadataManifest.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r$r__dict__rotherrrr__eq__s zBucketMetadataManifest.__eq__cCs ||k S)z*Return true if both objects are not equal.rr1rrr__ne__szBucketMetadataManifest.__ne__)NNNNNNN)__name__ __module__ __qualname____doc__r!Z attribute_maprpropertyrsetterrrrrr r rr.r/r3r4rrrrrsf                r)r8r,reobjectrrrrrs