Beispiel #1
0
    def __init__(self,
                 place=None,
                 hotlines=[],
                 websites=[],
                 test_sites=[],
                 health_departments=[],
                 local_vars_configuration=None):  # noqa: E501
        """ResultsList - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._place = None
        self._hotlines = None
        self._websites = None
        self._test_sites = None
        self._health_departments = None
        self.discriminator = None

        self.place = place
        if hotlines is not None:
            self.hotlines = hotlines
        if websites is not None:
            self.websites = websites
        if test_sites is not None:
            self.test_sites = test_sites
        if health_departments is not None:
            self.health_departments = health_departments
Beispiel #2
0
    def __init__(self, country_code=None, place=None, geonames_id=None, name=None, operator=None, website=None, category=None, description=None, sources=None, local_vars_configuration=None):  # noqa: E501
        """Website - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._country_code = None
        self._place = None
        self._geonames_id = None
        self._name = None
        self._operator = None
        self._website = None
        self._category = None
        self._description = None
        self._sources = None
        self.discriminator = None

        if country_code is not None:
            self.country_code = country_code
        if place is not None:
            self.place = place
        if geonames_id is not None:
            self.geonames_id = geonames_id
        if name is not None:
            self.name = name
        if operator is not None:
            self.operator = operator
        if website is not None:
            self.website = website
        if category is not None:
            self.category = category
        if description is not None:
            self.description = description
        if sources is not None:
            self.sources = sources
    def __init__(self,
                 detail=None,
                 local_vars_configuration=None):  # noqa: E501
        """HTTPValidationError - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._detail = None
        self.discriminator = None

        if detail is not None:
            self.detail = detail
Beispiel #4
0
    def __init__(self, loc=None, msg=None, type=None, local_vars_configuration=None):  # noqa: E501
        """ValidationError - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._loc = None
        self._msg = None
        self._type = None
        self.discriminator = None

        self.loc = loc
        self.msg = msg
        self.type = type
Beispiel #5
0
    def __init__(self, configuration=None, header_name=None, header_value=None,
                 cookie=None, pool_threads=1):
        if configuration is None:
            configuration = Configuration.get_default_copy()
        self.configuration = configuration
        self.pool_threads = pool_threads

        self.rest_client = rest.RESTClientObject(configuration)
        self.default_headers = {}
        if header_name is not None:
            self.default_headers[header_name] = header_value
        self.cookie = cookie
        # Set default User-Agent.
        self.user_agent = 'OpenAPI-Generator/0.1.0/python'
        self.client_side_validation = configuration.client_side_validation
Beispiel #6
0
    def __init__(self,
                 name=None,
                 geonames_id=None,
                 search_provider=None,
                 country=None,
                 country_code=None,
                 state=None,
                 description=None,
                 lat=None,
                 lon=None,
                 local_vars_configuration=None):  # noqa: E501
        """Place - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._geonames_id = None
        self._search_provider = None
        self._country = None
        self._country_code = None
        self._state = None
        self._description = None
        self._lat = None
        self._lon = None
        self.discriminator = None

        self.name = name
        self.geonames_id = geonames_id
        self.search_provider = search_provider
        if country is not None:
            self.country = country
        if country_code is not None:
            self.country_code = country_code
        if state is not None:
            self.state = state
        if description is not None:
            self.description = description
        if lat is not None:
            self.lat = lat
        if lon is not None:
            self.lon = lon
    def __init__(self,
                 country_code=None,
                 place=None,
                 geonames_id=None,
                 name=None,
                 department=None,
                 street=None,
                 zip_code=None,
                 city=None,
                 address_supplement=None,
                 phone=None,
                 fax=None,
                 email=None,
                 website=None,
                 sources=None,
                 local_vars_configuration=None):  # noqa: E501
        """HealthDepartment - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._country_code = None
        self._place = None
        self._geonames_id = None
        self._name = None
        self._department = None
        self._street = None
        self._zip_code = None
        self._city = None
        self._address_supplement = None
        self._phone = None
        self._fax = None
        self._email = None
        self._website = None
        self._sources = None
        self.discriminator = None

        if country_code is not None:
            self.country_code = country_code
        if place is not None:
            self.place = place
        if geonames_id is not None:
            self.geonames_id = geonames_id
        if name is not None:
            self.name = name
        if department is not None:
            self.department = department
        if street is not None:
            self.street = street
        if zip_code is not None:
            self.zip_code = zip_code
        if city is not None:
            self.city = city
        if address_supplement is not None:
            self.address_supplement = address_supplement
        if phone is not None:
            self.phone = phone
        if fax is not None:
            self.fax = fax
        if email is not None:
            self.email = email
        if website is not None:
            self.website = website
        if sources is not None:
            self.sources = sources
Beispiel #8
0
    def __init__(self,
                 country_code=None,
                 lat=None,
                 lon=None,
                 name=None,
                 street=None,
                 zip_code=None,
                 city=None,
                 address_supplement=None,
                 phone=None,
                 website=None,
                 operating_hours=None,
                 appointment_required=None,
                 description=None,
                 sources=None,
                 distance=None,
                 local_vars_configuration=None):  # noqa: E501
        """TestSite - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._country_code = None
        self._lat = None
        self._lon = None
        self._name = None
        self._street = None
        self._zip_code = None
        self._city = None
        self._address_supplement = None
        self._phone = None
        self._website = None
        self._operating_hours = None
        self._appointment_required = None
        self._description = None
        self._sources = None
        self._distance = None
        self.discriminator = None

        if country_code is not None:
            self.country_code = country_code
        if lat is not None:
            self.lat = lat
        if lon is not None:
            self.lon = lon
        if name is not None:
            self.name = name
        if street is not None:
            self.street = street
        if zip_code is not None:
            self.zip_code = zip_code
        if city is not None:
            self.city = city
        if address_supplement is not None:
            self.address_supplement = address_supplement
        if phone is not None:
            self.phone = phone
        if website is not None:
            self.website = website
        if operating_hours is not None:
            self.operating_hours = operating_hours
        if appointment_required is not None:
            self.appointment_required = appointment_required
        if description is not None:
            self.description = description
        if sources is not None:
            self.sources = sources
        if distance is not None:
            self.distance = distance