# 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.get_meter_response import GetMeterResponse

class TestGetMeterResponse(unittest.TestCase):
    """GetMeterResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> GetMeterResponse:
        """Test GetMeterResponse
            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 `GetMeterResponse`
        """
        model = GetMeterResponse()
        if include_optional:
            return GetMeterResponse(
                meter = 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'), )
            )
        else:
            return GetMeterResponse(
                meter = 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'), ),
        )
        """

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

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