# coding: utf-8

"""
    DUPR Backend APIs

    Internal RESTful APIs to access DUPR ratings, users and provide matches.

    The version of the OpenAPI document: v1.0.0
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from dupr_backend.models.address_request import AddressRequest

class TestAddressRequest(unittest.TestCase):
    """AddressRequest unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> AddressRequest:
        """Test AddressRequest
            include_optional is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # uncomment below to create an instance of `AddressRequest`
        """
        model = AddressRequest()
        if include_optional:
            return AddressRequest(
                address_line = '402, B wing',
                geocode = {addressComponents=[{longName=13646, shortName=13646, types=[STREET_NUMBER]}, {longName=California 33, shortName=CA-33, types=[ROUTE]}, {longName=Lost Hills, shortName=Lost Hills, types=[LOCALITY, POLITICAL]}, {longName=Kern County, shortName=Kern County, types=[ADMINISTRATIVE_AREA_LEVEL_2, POLITICAL]}, {longName=California, shortName=CA, types=[ADMINISTRATIVE_AREA_LEVEL_1, POLITICAL]}, {longName=United States, shortName=US, types=[COUNTRY, POLITICAL]}, {longName=93249, shortName=93249, types=[POSTAL_CODE]}, {longName=9719, shortName=9719, types=[POSTAL_CODE_SUFFIX]}], formattedAddress=13646 CA-33, Lost Hills, CA 93249, USA, postcodeLocalities=null, geometry={bounds=null, location={lat=35.6542507, lng=-119.8916656}, locationType=ROOFTOP, viewport={northeast={lat=35.65559968029149, lng=-119.8903166197085}, southwest={lat=35.6529017197085, lng=-119.8930145802915}}}, types=[STREET_ADDRESS], partialMatch=false, placeId=ChIJr2rdtntp64ARQsSAoxaBpbU, plusCode={globalCode=8572M435+P8, compoundCode=M435+P8 Blackwells Corner, California, United States}},
                place_id = 'ChIJW37e6g4AwTsRfjFKn0_XRiU'
            )
        else:
            return AddressRequest(
        )
        """

    def testAddressRequest(self):
        """Test AddressRequest"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

if __name__ == '__main__':
    unittest.main()
