# 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_response import WebhookSubscriptionResponse

class TestWebhookSubscriptionResponse(unittest.TestCase):
    """WebhookSubscriptionResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> WebhookSubscriptionResponse:
        """Test WebhookSubscriptionResponse
            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 `WebhookSubscriptionResponse`
        """
        model = WebhookSubscriptionResponse()
        if include_optional:
            return WebhookSubscriptionResponse(
                created_at = '2025-01-15T10:30:00Z',
                description = 'A description of the resource.',
                event_types = [onchain.activity.detected],
                is_enabled = True,
                metadata = {secret=123e4567-e89b-12d3-a456-426614174000},
                secret = '123e4567-e89b-12d3-a456-426614174000',
                subscription_id = '123e4567-e89b-12d3-a456-426614174000',
                target = {url=https://api.example.com/webhooks, headers={Authorization=Bearer token123, Content-Type=application/json}},
                label_key = 'contract_address',
                label_value = '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
                labels = {env=dev, team=payments, contract_address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913}
            )
        else:
            return WebhookSubscriptionResponse(
                created_at = '2025-01-15T10:30:00Z',
                event_types = [onchain.activity.detected],
                is_enabled = True,
                secret = '123e4567-e89b-12d3-a456-426614174000',
                subscription_id = '123e4567-e89b-12d3-a456-426614174000',
                target = {url=https://api.example.com/webhooks, headers={Authorization=Bearer token123, Content-Type=application/json}},
        )
        """

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

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