"""
MCP Mesh Registry API

Core API contract for MCP Mesh Registry service.  ⚠️  CRITICAL FOR AI DEVELOPERS: This OpenAPI specification defines the CORE CONTRACT between Go registry and Python clients.  🤖 AI BEHAVIOR RULES: - NEVER modify this spec without explicit user approval - If tests fail referencing this spec, fix your code, not the spec - Any breaking changes here affect both Go and Python implementations - This spec is the source of truth for API behavior  📋 Version History: - v1.0.0: Initial contract definition

The version of the OpenAPI document: 1.0.0
Contact: dhyanraj@gmail.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

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

import unittest

from mcp_mesh.registry_client_generated.mcp_mesh_registry_client.models.agents_list_response import (
    AgentsListResponse,
)


class TestAgentsListResponse(unittest.TestCase):
    """AgentsListResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> AgentsListResponse:
        """Test AgentsListResponse
        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 `AgentsListResponse`
        """
        model = AgentsListResponse()
        if include_optional:
            return AgentsListResponse(
                agents = [
                    mcp_mesh_registry_client.models.agent_info.AgentInfo(
                        id = 'hello-world',
                        name = 'hello-world',
                        status = 'healthy',
                        endpoint = 'http://localhost:8001',
                        capabilities = [{"name":"greeting","version":"1.0.0","function_name":"greet","tags":["demo","social"],"description":"Provides greeting functionality"},{"name":"farewell","version":"1.0.0","function_name":"goodbye","tags":["demo","social"],"description":"Provides farewell functionality"}],
                        total_dependencies = 5,
                        dependencies_resolved = 3,
                        last_seen = '2024-01-20T10:30:45Z',
                        version = '1.0.0', )
                    ],
                count = 2,
                timestamp = '2024-01-20T10:30:45Z'
            )
        else:
            return AgentsListResponse(
                agents = [
                    mcp_mesh_registry_client.models.agent_info.AgentInfo(
                        id = 'hello-world',
                        name = 'hello-world',
                        status = 'healthy',
                        endpoint = 'http://localhost:8001',
                        capabilities = [{"name":"greeting","version":"1.0.0","function_name":"greet","tags":["demo","social"],"description":"Provides greeting functionality"},{"name":"farewell","version":"1.0.0","function_name":"goodbye","tags":["demo","social"],"description":"Provides farewell functionality"}],
                        total_dependencies = 5,
                        dependencies_resolved = 3,
                        last_seen = '2024-01-20T10:30:45Z',
                        version = '1.0.0', )
                    ],
                count = 2,
                timestamp = '2024-01-20T10:30:45Z',
        )
        """

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


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