# coding: utf-8 """ Endpoint Agents API Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). 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.endpoint_agents.models.agent_search_request import AgentSearchRequest class TestAgentSearchRequest(unittest.TestCase): """AgentSearchRequest unit test stubs""" def setUp(self): pass def tearDown(self): pass def make_instance(self, include_optional) -> AgentSearchRequest: """Test AgentSearchRequest 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 `AgentSearchRequest` """ model = AgentSearchRequest() if include_optional: return AgentSearchRequest( search_filters = thousandeyes_sdk.endpoint_agents.models.agent_search_filters.AgentSearchFilters( id = [ '5d0764ac-7e42-4ec8-a0d4-39fc53edccba' ], agent_name = [ 'myagent-1234' ], computer_name = [ 'DESKTOP-45AE8' ], username = ["picard"], platform = [ 'mac' ], os_version = [ 'Version 10.15.2' ], location_country_iso = [ 'FR' ], location_subdivision1_code = [ 'ENG' ], location_city = [ 'Paris' ], license_type = [ 'essentials' ], ), threshold_filter = thousandeyes_sdk.endpoint_agents.models.agent_threshold_filters.AgentThresholdFilters( filters = [ thousandeyes_sdk.endpoint_agents.models.agent_threshold_filter.AgentThresholdFilter( name = 'last-seen-ms', value = 1.337, operator = 'gte', ) ], conditional_operator = 'and', ), search_sort = [ thousandeyes_sdk.endpoint_agents.models.agent_search_sort.AgentSearchSort( sort = 'platform', order = 'desc', ) ] ) else: return AgentSearchRequest( ) """ def testAgentSearchRequest(self): """Test AgentSearchRequest""" # inst_req_only = self.make_instance(include_optional=False) # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main()