# coding: utf-8

"""
    Vayu API

    The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities.           The API is secured using the Bearer Authentication scheme with JWT tokens.           To obtain a JWT token, please contact Vayu at team@withvayu.com

    The version of the OpenAPI document: 1.0.0
    Contact: dev@withvayu.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from openapi.models.list_measurements_response import ListMeasurementsResponse

class TestListMeasurementsResponse(unittest.TestCase):
    """ListMeasurementsResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ListMeasurementsResponse:
        """Test ListMeasurementsResponse
            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 `ListMeasurementsResponse`
        """
        model = ListMeasurementsResponse()
        if include_optional:
            return ListMeasurementsResponse(
                measurements = [
                    openapi.models.create_measurement_response_measurement.CreateMeasurementResponse_measurement(
                        customer_id = '62ECB020842930cc01FFCCfe', 
                        meter_id = '62ECB020842930cc01FFCCfe', 
                        usage_date = openapi.models.create_measurement_request_usage_date.CreateMeasurementRequest_usageDate(
                            year = 0, 
                            month = 0, 
                            day = 1, ), 
                        value = 1.337, 
                        id = '', 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
                    ],
                total = 1.337,
                has_more = True,
                next_cursor = ''
            )
        else:
            return ListMeasurementsResponse(
                measurements = [
                    openapi.models.create_measurement_response_measurement.CreateMeasurementResponse_measurement(
                        customer_id = '62ECB020842930cc01FFCCfe', 
                        meter_id = '62ECB020842930cc01FFCCfe', 
                        usage_date = openapi.models.create_measurement_request_usage_date.CreateMeasurementRequest_usageDate(
                            year = 0, 
                            month = 0, 
                            day = 1, ), 
                        value = 1.337, 
                        id = '', 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
                    ],
                total = 1.337,
                has_more = True,
        )
        """

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

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