# coding: utf-8 """ Dashboards API Manage ThousandEyes Dashboards. The version of the OpenAPI document: 7.0.4 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. """ # noqa: E501 import unittest from thousandeyes_sdk.dashboards.models.api_widget_data_point import ApiWidgetDataPoint class TestApiWidgetDataPoint(unittest.TestCase): """ApiWidgetDataPoint unit test stubs""" def setUp(self): pass def tearDown(self): pass def make_instance(self, include_optional) -> ApiWidgetDataPoint: """Test ApiWidgetDataPoint include_option 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 `ApiWidgetDataPoint` """ model = ApiWidgetDataPoint() if include_optional: return ApiWidgetDataPoint( timestamp = 1567620000, number_of_data_points = 23304, value = 100.0, groups = [ thousandeyes_sdk.dashboards.models.api_data_point_group.ApiDataPointGroup( group_property = 'COUNTRY', group_value = 'US', ) ] ) else: return ApiWidgetDataPoint( ) """ def testApiWidgetDataPoint(self): """Test ApiWidgetDataPoint""" # inst_req_only = self.make_instance(include_optional=False) # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main()