U wi@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>eZdZdZdddddddddZdddd d d d d dZd4ddZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZ e j d dZ ed!d"Zej d#d"Zed$d%Zej d&d%Zed'd(Zej d)d(Zd*d+Zd,d-Zd.d/Zd0d1Zd2d3ZdS)5 OrganizationzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ZOrganizationLinksstrdatetime)linksidnamedefault_storage_type description created_at updated_atstatusrrrZdefaultStorageTyper Z createdAtZ updatedAtr Nactivec Csd|_d|_d|_d|_d|_d|_d|_d|_d|_|dk rD||_ |dk rR||_ ||_ |dk rf||_ |dk rt||_ |dk r||_|dk r||_|dk r||_dS)z*Organization - a model defined in OpenAPI.N)_links_id_name_default_storage_type _description _created_at _updated_at_statusZ discriminatorrrrrr r r r ) selfrrrrr r r r rT/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/organization.py__init__6s0zOrganization.__init__cCs|jS)zGet the links of this Organization. :return: The links of this Organization. :rtype: OrganizationLinks rrrrrrRszOrganization.linkscCs ||_dS)zSet the links of this Organization. :param links: The links of this Organization. :type: OrganizationLinks Nr)rrrrrr[scCs|jS)zlGet the id of this Organization. :return: The id of this Organization. :rtype: str rrrrrrdszOrganization.idcCs ||_dS)zmSet the id of this Organization. :param id: The id of this Organization. :type: str Nr)rrrrrrmscCs|jS)zpGet the name of this Organization. :return: The name of this Organization. :rtype: str )rrrrrrvszOrganization.namecCs|dkrtd||_dS)zsSet the name of this Organization. :param name: The name of this Organization. :type: str Nz,Invalid value for `name`, must not be `None`) ValueErrorr)rrrrrrscCs|jS)zGet the default_storage_type of this Organization. Discloses whether the organization uses TSM or IOx. :return: The default_storage_type of this Organization. :rtype: str rrrrrrs z!Organization.default_storage_typecCs ||_dS)zSet the default_storage_type of this Organization. Discloses whether the organization uses TSM or IOx. :param default_storage_type: The default_storage_type of this Organization. :type: str Nr)rrrrrrs cCs|jS)z~Get the description of this Organization. :return: The description of this Organization. :rtype: str rrrrrr szOrganization.descriptioncCs ||_dS)zSet the description of this Organization. :param description: The description of this Organization. :type: str Nr)rr rrrr scCs|jS)zGet the created_at of this Organization. :return: The created_at of this Organization. :rtype: datetime rrrrrr szOrganization.created_atcCs ||_dS)zSet the created_at of this Organization. :param created_at: The created_at of this Organization. :type: datetime Nr )rr rrrr scCs|jS)zGet the updated_at of this Organization. :return: The updated_at of this Organization. :rtype: datetime rrrrrr szOrganization.updated_atcCs ||_dS)zSet the updated_at of this Organization. :param updated_at: The updated_at of this Organization. :type: datetime Nr!)rr rrrr scCs|jS)zGet the status of this Organization. If inactive, the organization is inactive. :return: The status of this Organization. :rtype: str rrrrrr s zOrganization.statuscCs ||_dS)zSet the status of this Organization. If inactive, the organization is inactive. :param status: The status of this Organization. :type: str Nr")rr rrrr s cCsi}|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#)xrrrz&Organization.to_dict..r#cSs&t|ddr"|d|dfS|S)Nr#rr$)itemrrrr's ) openapi_typesitemsgetattr isinstancelistmapr%r#dict)rresultattr_valuerrrr#s"       zOrganization.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr#rrrrto_strszOrganization.to_strcCs|S)zFor `print` and `pprint`.)r8rrrr__repr__szOrganization.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r.r__dict__rotherrrr__eq__ s zOrganization.__eq__cCs ||k S)z*Return true if both objects are not equal.rr;rrr__ne__szOrganization.__ne__)NNNNNNNr )__name__ __module__ __qualname____doc__r+Z attribute_maprpropertyrsetterrrrr r r r r#r8r9r=r>rrrrrsr                  r)rBr6reobjectrrrrrs