U wâ’iËã@s(dZddlZddlZGdd„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 éNc@s eZdZdZddddddddœZddddd d d dœZd.d d„Zedd„ƒZej dd„ƒZedd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZej d d„ƒZed!d"„ƒZej d#d"„ƒZd$d%„Zd&d'„Zd(d)„Zd*d+„Zd,d-„Zd S)/ÚOnboardingRequestz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚstrÚint)ÚusernameÚpasswordÚorgÚbucketÚretention_period_secondsÚretention_period_hrsÚtokenrrrrZretentionPeriodSecondsZretentionPeriodHrsr NcCs~d|_d|_d|_d|_d|_d|_d|_d|_||_|dk rD||_ ||_ ||_ |dk r^||_ |dk rl||_ |dk rz||_dS)z/OnboardingRequest - a model defined in OpenAPI.N)Ú _usernameÚ _passwordÚ_orgÚ_bucketÚ_retention_period_secondsÚ_retention_period_hrsÚ_tokenZ discriminatorrrrrr r r )Úselfrrrrr r r ©rúZ/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/onboarding_request.pyÚ__init__4s&zOnboardingRequest.__init__cCs|jS)z‚Get the username of this OnboardingRequest. :return: The username of this OnboardingRequest. :rtype: str )r ©rrrrrKszOnboardingRequest.usernamecCs|dkrtdƒ‚||_dS)z‰Set the username of this OnboardingRequest. :param username: The username of this OnboardingRequest. :type: str Nz0Invalid value for `username`, must not be `None`)Ú ValueErrorr )rrrrrrTscCs|jS)z‚Get the password of this OnboardingRequest. :return: The password of this OnboardingRequest. :rtype: str ©r rrrrr_szOnboardingRequest.passwordcCs ||_dS)z‰Set the password of this OnboardingRequest. :param password: The password of this OnboardingRequest. :type: str Nr)rrrrrrhscCs|jS)zxGet the org of this OnboardingRequest. :return: The org of this OnboardingRequest. :rtype: str )rrrrrrqszOnboardingRequest.orgcCs|dkrtdƒ‚||_dS)zzSet the org of this OnboardingRequest. :param org: The org of this OnboardingRequest. :type: str Nz+Invalid value for `org`, must not be `None`)rr)rrrrrrzscCs|jS)z~Get the bucket of this OnboardingRequest. :return: The bucket of this OnboardingRequest. :rtype: str )rrrrrr…szOnboardingRequest.bucketcCs|dkrtdƒ‚||_dS)zƒSet the bucket of this OnboardingRequest. :param bucket: The bucket of this OnboardingRequest. :type: str Nz.Invalid value for `bucket`, must not be `None`)rr)rrrrrrŽscCs|jS)z¢Get the retention_period_seconds of this OnboardingRequest. :return: The retention_period_seconds of this OnboardingRequest. :rtype: int ©rrrrrr ™sz*OnboardingRequest.retention_period_secondscCs ||_dS)z¹Set the retention_period_seconds of this OnboardingRequest. :param retention_period_seconds: The retention_period_seconds of this OnboardingRequest. :type: int Nr)rr rrrr ¢scCs|jS)aAGet the retention_period_hrs of this OnboardingRequest. Retention period *in nanoseconds* for the new bucket. This key's name has been misleading since OSS 2.0 GA, please transition to use `retentionPeriodSeconds` :return: The retention_period_hrs of this OnboardingRequest. :rtype: int ©rrrrrr «s z&OnboardingRequest.retention_period_hrscCs ||_dS)aTSet the retention_period_hrs of this OnboardingRequest. Retention period *in nanoseconds* for the new bucket. This key's name has been misleading since OSS 2.0 GA, please transition to use `retentionPeriodSeconds` :param retention_period_hrs: The retention_period_hrs of this OnboardingRequest. :type: int Nr)rr rrrr ¶s cCs|jS)zêGet the token of this OnboardingRequest. Authentication token to set on the initial user. If not specified, the server will generate a token. :return: The token of this OnboardingRequest. :rtype: str ©rrrrrr Ás zOnboardingRequest.tokencCs ||_dS)zîSet the token of this OnboardingRequest. Authentication token to set on the initial user. If not specified, the server will generate a token. :param token: The token of this OnboardingRequest. :type: str Nr)rr rrrr Ìs cCsŽi}|j ¡D]z\}}t||ƒ}t|tƒrBttdd„|ƒƒ||<qt|dƒrZ| ¡||<qt|tƒr€ttdd„| ¡ƒƒ||<q|||<q|S)z&Return the model properties as a dict.cSst|dƒr| ¡S|S)NÚto_dict©Úhasattrr)ÚxrrrÚßóz+OnboardingRequest.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemrrrr!æs ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)rÚresultÚattrÚ_Úvaluerrrr×s"  þ   ý  zOnboardingRequest.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrrrrrÚto_strïszOnboardingRequest.to_strcCs| ¡S)zFor `print` and `pprint`.)r2rrrrÚ__repr__ószOnboardingRequest.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)r(rÚ__dict__©rÚotherrrrÚ__eq__÷s zOnboardingRequest.__eq__cCs ||k S)z*Return true if both objects are not equal.rr5rrrÚ__ne__þszOnboardingRequest.__ne__)NNNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r%Z attribute_maprÚpropertyrÚsetterrrrr r r rr2r3r7r8rrrrrsfù ù               r)r<r0ÚreÚobjectrrrrrÚs