# 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_meters_response import ListMetersResponse

class TestListMetersResponse(unittest.TestCase):
    """ListMetersResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ListMetersResponse:
        """Test ListMetersResponse
            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 `ListMetersResponse`
        """
        model = ListMetersResponse()
        if include_optional:
            return ListMetersResponse(
                meters = [
                    openapi.models.get_meter_response_meter.GetMeterResponse_meter(
                        name = '0', 
                        event_name = '0', 
                        aggregation_method = openapi.models.aggregation_method.AggregationMethod(
                            operator = 'Count', 
                            field = '', 
                            instance_key = '', ), 
                        filter = openapi.models.filter.Filter(
                            conditions = [
                                openapi.models.condition.Condition(
                                    criterions = [
                                        openapi.models.criterion.Criterion(
                                            field = '0', 
                                            operator = 'Equals', 
                                            value = '0', )
                                        ], )
                                ], ), 
                        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 ListMetersResponse(
                meters = [
                    openapi.models.get_meter_response_meter.GetMeterResponse_meter(
                        name = '0', 
                        event_name = '0', 
                        aggregation_method = openapi.models.aggregation_method.AggregationMethod(
                            operator = 'Count', 
                            field = '', 
                            instance_key = '', ), 
                        filter = openapi.models.filter.Filter(
                            conditions = [
                                openapi.models.condition.Condition(
                                    criterions = [
                                        openapi.models.criterion.Criterion(
                                            field = '0', 
                                            operator = 'Equals', 
                                            value = '0', )
                                        ], )
                                ], ), 
                        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 testListMetersResponse(self):
        """Test ListMetersResponse"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

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