# coding: utf-8

"""
    Canva Connect API

    API for building integrations with Canva via a REST api

    The version of the OpenAPI document: latest
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from canva_alpha_ti.models.notification_content import NotificationContent

class TestNotificationContent(unittest.TestCase):
    """NotificationContent unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> NotificationContent:
        """Test NotificationContent
            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 `NotificationContent`
        """
        model = NotificationContent()
        if include_optional:
            return NotificationContent(
                type = 'share_design',
                triggering_user = canva_alpha_ti.models.user.User(
                    id = 'uKakKUfI03Fg8k2gZ6OkT', 
                    display_name = 'John Doe', ),
                receiving_team_user = canva_alpha_ti.models.team_user.TeamUser(
                    user_id = 'auDAbliZ2rQNNOsUl5OLu', 
                    team_id = 'Oi2RJILTrKk0KRhRUZozX', 
                    display_name = 'Jane Doe', ),
                design = canva_alpha_ti.models.design_summary.DesignSummary(
                    id = 'DAFVztcvd9z', 
                    title = 'My summer holiday', 
                    url = 'https://www.canva.com/design/DAFVztcvd9z/edit', 
                    thumbnail = canva_alpha_ti.models.thumbnail.Thumbnail(
                        width = 595, 
                        height = 335, 
                        url = 'https://document-export.canva.com/Vczz9/zF9vzVtdADc/2/thumbnail/0001.png?<query-string>', ), 
                    urls = canva_alpha_ti.models.design_links.DesignLinks(
                        edit_url = 'https://www.canva.com/api/design/{token}/edit', 
                        view_url = 'https://www.canva.com/api/design/{token}/view', ), 
                    created_at = 1377396000, 
                    updated_at = 1692928800, 
                    page_count = 3, ),
                share_url = 'https://www.canva.com/api/action?token=zWiz3GqRaWVkolwSgfBa9sKbsKgfHAoxv_mjs-mlX2M',
                share = canva_alpha_ti.models.share_action.ShareAction(
                    message = 'Check this out!', ),
                folder = canva_alpha_ti.models.folder_summary.FolderSummary(
                    id = 'FAF2lZtloor', 
                    title = 'My awesome holiday', 
                    name = 'My awesome holiday', 
                    created_at = 1377396000, 
                    updated_at = 1692928800, 
                    url = 'https://www.canva.com/folder/FAF2lZtloor', ),
                comment_url = 'https://www.canva.com/design/3WCduQdjayTcPVM/z128cqanFu7E3/edit?ui=OdllGgZ4Snnq3MD8uI10bfA',
                comment = canva_alpha_ti.models.comment_event.CommentEvent(
                    type = 'comment', 
                    data = canva_alpha_ti.models.comment.Comment(), ),
                grant_access_url = 'https://www.canva.com/api/action?token=OosRN8M_eO2-QbLpUmP5JCwTMSXWfadtQYWuj9WKzoE',
                initial_requesting_user = canva_alpha_ti.models.team_user.TeamUser(
                    user_id = 'auDAbliZ2rQNNOsUl5OLu', 
                    team_id = 'Oi2RJILTrKk0KRhRUZozX', 
                    display_name = 'Jane Doe', ),
                requested_groups = [
                    canva_alpha_ti.models.group.Group(
                        id = 'dl9n9SoWoExMsw6Ri1iTg', 
                        display_name = 'Sales team', 
                        external = True, )
                    ],
                approve_url = 'https://canva.com/api/action?token=HZb0lLHaEhNkT1qQrAwoe0-8SqyXUgJ4vnHGvN2rLZ0',
                approval_request = canva_alpha_ti.models.approval_request_action.ApprovalRequestAction(
                    message = 'LGTM!', ),
                responding_groups = [
                    canva_alpha_ti.models.group.Group(
                        id = 'dl9n9SoWoExMsw6Ri1iTg', 
                        display_name = 'Sales team', 
                        external = True, )
                    ],
                approval_response = canva_alpha_ti.models.approval_response_action.ApprovalResponseAction(
                    approved = True, 
                    ready_to_publish = True, 
                    message = '', ),
                receiving_user = canva_alpha_ti.models.user.User(
                    id = 'uKakKUfI03Fg8k2gZ6OkT', 
                    display_name = 'John Doe', ),
                inviting_team = canva_alpha_ti.models.team.Team(
                    id = 'Oi2RJILTrKk0KRhRUZozX', 
                    display_name = 'Acme Corporation', 
                    external = True, ),
                suggestion_event_type = canva_alpha_ti.models.suggestion_event_type.SuggestionEventType()
            )
        else:
            return NotificationContent(
                type = 'share_design',
                triggering_user = canva_alpha_ti.models.user.User(
                    id = 'uKakKUfI03Fg8k2gZ6OkT', 
                    display_name = 'John Doe', ),
                receiving_team_user = canva_alpha_ti.models.team_user.TeamUser(
                    user_id = 'auDAbliZ2rQNNOsUl5OLu', 
                    team_id = 'Oi2RJILTrKk0KRhRUZozX', 
                    display_name = 'Jane Doe', ),
                design = canva_alpha_ti.models.design_summary.DesignSummary(
                    id = 'DAFVztcvd9z', 
                    title = 'My summer holiday', 
                    url = 'https://www.canva.com/design/DAFVztcvd9z/edit', 
                    thumbnail = canva_alpha_ti.models.thumbnail.Thumbnail(
                        width = 595, 
                        height = 335, 
                        url = 'https://document-export.canva.com/Vczz9/zF9vzVtdADc/2/thumbnail/0001.png?<query-string>', ), 
                    urls = canva_alpha_ti.models.design_links.DesignLinks(
                        edit_url = 'https://www.canva.com/api/design/{token}/edit', 
                        view_url = 'https://www.canva.com/api/design/{token}/view', ), 
                    created_at = 1377396000, 
                    updated_at = 1692928800, 
                    page_count = 3, ),
                share_url = 'https://www.canva.com/api/action?token=zWiz3GqRaWVkolwSgfBa9sKbsKgfHAoxv_mjs-mlX2M',
                folder = canva_alpha_ti.models.folder_summary.FolderSummary(
                    id = 'FAF2lZtloor', 
                    title = 'My awesome holiday', 
                    name = 'My awesome holiday', 
                    created_at = 1377396000, 
                    updated_at = 1692928800, 
                    url = 'https://www.canva.com/folder/FAF2lZtloor', ),
                comment_url = 'https://www.canva.com/design/3WCduQdjayTcPVM/z128cqanFu7E3/edit?ui=OdllGgZ4Snnq3MD8uI10bfA',
                comment = canva_alpha_ti.models.comment_event.CommentEvent(
                    type = 'comment', 
                    data = canva_alpha_ti.models.comment.Comment(), ),
                grant_access_url = 'https://www.canva.com/api/action?token=OosRN8M_eO2-QbLpUmP5JCwTMSXWfadtQYWuj9WKzoE',
                initial_requesting_user = canva_alpha_ti.models.team_user.TeamUser(
                    user_id = 'auDAbliZ2rQNNOsUl5OLu', 
                    team_id = 'Oi2RJILTrKk0KRhRUZozX', 
                    display_name = 'Jane Doe', ),
                requested_groups = [
                    canva_alpha_ti.models.group.Group(
                        id = 'dl9n9SoWoExMsw6Ri1iTg', 
                        display_name = 'Sales team', 
                        external = True, )
                    ],
                approve_url = 'https://canva.com/api/action?token=HZb0lLHaEhNkT1qQrAwoe0-8SqyXUgJ4vnHGvN2rLZ0',
                approval_request = canva_alpha_ti.models.approval_request_action.ApprovalRequestAction(
                    message = 'LGTM!', ),
                responding_groups = [
                    canva_alpha_ti.models.group.Group(
                        id = 'dl9n9SoWoExMsw6Ri1iTg', 
                        display_name = 'Sales team', 
                        external = True, )
                    ],
                approval_response = canva_alpha_ti.models.approval_response_action.ApprovalResponseAction(
                    approved = True, 
                    ready_to_publish = True, 
                    message = '', ),
                receiving_user = canva_alpha_ti.models.user.User(
                    id = 'uKakKUfI03Fg8k2gZ6OkT', 
                    display_name = 'John Doe', ),
                inviting_team = canva_alpha_ti.models.team.Team(
                    id = 'Oi2RJILTrKk0KRhRUZozX', 
                    display_name = 'Acme Corporation', 
                    external = True, ),
                suggestion_event_type = canva_alpha_ti.models.suggestion_event_type.SuggestionEventType(),
        )
        """

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

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