# coding: utf-8

"""
    Coinbase Developer Platform APIs

    The Coinbase Developer Platform APIs - leading the world's transition onchain.

    The version of the OpenAPI document: 2.0.0
    Contact: cdp@coinbase.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from cdp.openapi_client.models.webhook_subscription_list_response import WebhookSubscriptionListResponse

class TestWebhookSubscriptionListResponse(unittest.TestCase):
    """WebhookSubscriptionListResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> WebhookSubscriptionListResponse:
        """Test WebhookSubscriptionListResponse
            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 `WebhookSubscriptionListResponse`
        """
        model = WebhookSubscriptionListResponse()
        if include_optional:
            return WebhookSubscriptionListResponse(
                next_page_token = 'eyJsYXN0X2lkIjogImFiYzEyMyIsICJ0aW1lc3RhbXAiOiAxNzA3ODIzNzAxfQ==',
                subscriptions = [
                    {subscriptionId=123e4567-e89b-12d3-a456-426614174000, eventTypes=[onchain.activity.detected], isEnabled=true, labelKey=event_name, labelValue=Transfer, labels={contract_address=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, event_name=Transfer, network=base-mainnet, transaction_to=0xf5042e6ffac5a625d4e7848e0b01373d8eb9e222}, description=USDC Transfer events to specific address., createdAt=2025-11-12T09:19:52.051Z, metadata={secret=a1b2c3d4-e5f6-7890-abcd-ef1234567890}, secret=a1b2c3d4-e5f6-7890-abcd-ef1234567890, target={url=https://api.example.com/webhooks}}
                    ]
            )
        else:
            return WebhookSubscriptionListResponse(
                subscriptions = [
                    {subscriptionId=123e4567-e89b-12d3-a456-426614174000, eventTypes=[onchain.activity.detected], isEnabled=true, labelKey=event_name, labelValue=Transfer, labels={contract_address=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, event_name=Transfer, network=base-mainnet, transaction_to=0xf5042e6ffac5a625d4e7848e0b01373d8eb9e222}, description=USDC Transfer events to specific address., createdAt=2025-11-12T09:19:52.051Z, metadata={secret=a1b2c3d4-e5f6-7890-abcd-ef1234567890}, secret=a1b2c3d4-e5f6-7890-abcd-ef1234567890, target={url=https://api.example.com/webhooks}}
                    ],
        )
        """

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

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