# coding: utf-8

"""
    Collibra Data Governance Center Core API

    <p>The Core REST API allows you to create your own integrations with Collibra Data Governance Center.</p><p><i>Create custom applications to help users get access to the right data.</i></p>  # noqa: E501

    The version of the OpenAPI document: 2.0
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import collibra_core
from collibra_core.models.activity_paged_response import ActivityPagedResponse  # noqa: E501
from collibra_core.rest import ApiException

class TestActivityPagedResponse(unittest.TestCase):
    """ActivityPagedResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test ActivityPagedResponse
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = collibra_core.models.activity_paged_response.ActivityPagedResponse()  # noqa: E501
        if include_optional :
            return ActivityPagedResponse(
                total = 1000, 
                offset = 10, 
                limit = 100, 
                results = [
                    collibra_core.models.activity_impl.ActivityImpl(
                        id = '0', 
                        user = collibra_core.models.user_reference_impl.UserReferenceImpl(
                            id = '2b7f3a1a-4e50-4077-96f0-a58a395c860d', 
                            resource_type = 'Community', 
                            user_name = 'john.smith', ), 
                        timestamp = 1488181916, 
                        cause = 'IMPORT', 
                        call_id = '44dd1acf-9422-431e-a887-d73a17437412', 
                        call_count = 56, 
                        activity_type = 'ADD', 
                        description = '0', )
                    ]
            )
        else :
            return ActivityPagedResponse(
        )

    def testActivityPagedResponse(self):
        """Test ActivityPagedResponse"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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