thousandeyes-sdk-python/thousandeyes-sdk-internet-insights/test/test_api_catalog_provider_details.py
Jack Browne 92b9a0126c
CP-2126 Refactor HTTP client into shared package (#5)
* CP-2126 Refactor HTTP client into shared package

* CP-2126 Regenerate Python SDK
2024-05-23 11:57:23 +01:00

76 lines
3.5 KiB
Python

# coding: utf-8
"""
Internet Insights API
We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows.
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.internet_insights.models.api_catalog_provider_details import ApiCatalogProviderDetails
class TestApiCatalogProviderDetails(unittest.TestCase):
"""ApiCatalogProviderDetails unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def make_instance(self, include_optional) -> ApiCatalogProviderDetails:
"""Test ApiCatalogProviderDetails
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 `ApiCatalogProviderDetails`
"""
model = ApiCatalogProviderDetails()
if include_optional:
return ApiCatalogProviderDetails(
id = '85602a0a-54a7-4e97-946e-67492ef1fa26',
provider_name = 'Amazon Web Services',
provider_type = 'IAAS',
region = 'North America',
data_type = 'Application',
asns = [
thousandeyes_sdk.internet_insights.models.api_asn.ApiAsn(
id = 1,
name = 'LVLT-1 - Level 3 Communications, Inc.', )
],
locations = [
thousandeyes_sdk.internet_insights.models.provider_location.ProviderLocation(
location = 'San Jose, US',
interfaces_count = 5, )
],
links = thousandeyes_sdk.internet_insights.models.self_links.SelfLinks(
self = thousandeyes_sdk.internet_insights.models.link.Link(
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
templated = True,
type = '',
deprecation = '',
name = '',
profile = '',
title = '',
hreflang = '', ), )
)
else:
return ApiCatalogProviderDetails(
)
"""
def testApiCatalogProviderDetails(self):
"""Test ApiCatalogProviderDetails"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)
if __name__ == '__main__':
unittest.main()