# coding: utf-8

"""
    Mixpeek API

    This is the Mixpeek API, providing access to various endpoints for data processing and retrieval.

    The version of the OpenAPI document: 0.81.1
    Contact: info@mixpeek.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from mixpeek.models.growth_metrics_response import GrowthMetricsResponse

class TestGrowthMetricsResponse(unittest.TestCase):
    """GrowthMetricsResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> GrowthMetricsResponse:
        """Test GrowthMetricsResponse
            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 `GrowthMetricsResponse`
        """
        model = GrowthMetricsResponse()
        if include_optional:
            return GrowthMetricsResponse(
                collection_id = '',
                time_range = mixpeek.models.time_range.TimeRange(
                    start = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ),
                metrics = [
                    mixpeek.models.growth_metric.GrowthMetric(
                        time_bucket = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        documents_added = 56, 
                        success_rate = 1.337, 
                        avg_latency_ms = 1.337, )
                    ],
                summary = { }
            )
        else:
            return GrowthMetricsResponse(
                collection_id = '',
                time_range = mixpeek.models.time_range.TimeRange(
                    start = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ),
                metrics = [
                    mixpeek.models.growth_metric.GrowthMetric(
                        time_bucket = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        documents_added = 56, 
                        success_rate = 1.337, 
                        avg_latency_ms = 1.337, )
                    ],
        )
        """

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

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