# 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_dashboard_snapshot import ApiDashboardSnapshot class TestApiDashboardSnapshot(unittest.TestCase): """ApiDashboardSnapshot unit test stubs""" def setUp(self): pass def tearDown(self): pass def make_instance(self, include_optional) -> ApiDashboardSnapshot: """Test ApiDashboardSnapshot 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 `ApiDashboardSnapshot` """ model = ApiDashboardSnapshot() if include_optional: return ApiDashboardSnapshot( account_id = 1234, created_date = '2023-05-16 10:14:28', expiration_date = '2023-05-16 10:14:28', permalink = 'https://app.thousandeyes.com/dashboard/?snapshotId=d28bb71f-5a47-4783-8f12-d4b115e61b0c', api_links = [ { } ], snapshot_id = 'd28bb71f-5a47-4783-8f12-d4b115e61b0c', snapshot_name = 'HTTP Server Dashboard Snapshot', aid = '1234', is_shared = True, snapshot_created_date = '2023-05-16T10:14:28Z', dashboard = None, widgets = [ null ], is_scheduled = True, time_span = thousandeyes_sdk.dashboards.models.api_report_snapshot_time_span.ApiReportSnapshotTimeSpan( start_date = '2023-05-16 10:14:28', start = '2023-05-16T10:14:28Z', duration = 60, ), snapshot_expiration_date = '2023-05-16T10:14:28Z', links = thousandeyes_sdk.dashboards.models.app_and_self_links.AppAndSelfLinks( app_link = thousandeyes_sdk.dashboards.models.link.Link( href = 'https://api.thousandeyes.com/v7/link/to/resource/id', templated = True, type = '', deprecation = '', name = '', profile = '', title = '', hreflang = '', ), self = thousandeyes_sdk.dashboards.models.link.Link( href = 'https://api.thousandeyes.com/v7/link/to/resource/id', templated = True, type = '', deprecation = '', name = '', profile = '', title = '', hreflang = '', ), ) ) else: return ApiDashboardSnapshot( ) """ def testApiDashboardSnapshot(self): """Test ApiDashboardSnapshot""" # inst_req_only = self.make_instance(include_optional=False) # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main()