# coding: utf-8

"""
    IncQuery Server Web API

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

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


from __future__ import absolute_import

import unittest
import datetime

import iqs_client
from iqs_client.models.list_persisted_revisions_response import ListPersistedRevisionsResponse  # noqa: E501
from iqs_client.rest import ApiException

class TestListPersistedRevisionsResponse(unittest.TestCase):
    """ListPersistedRevisionsResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test ListPersistedRevisionsResponse
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = iqs_client.models.list_persisted_revisions_response.ListPersistedRevisionsResponse()  # noqa: E501
        if include_optional :
            return ListPersistedRevisionsResponse(
                persisted_revisions = [
                    {"revisionNumber":1,"branchId":"bd03a239-7836-4d4c-9bcb-eba73b001b1e","resourceId":"34cc77c8-d3ef-40a6-9b91-65786117fe67","workspaceId":"2394f5d1-1321-4f34-a373-cc1b159c7ebd"}
                    ]
            )
        else :
            return ListPersistedRevisionsResponse(
                persisted_revisions = [
                    {"revisionNumber":1,"branchId":"bd03a239-7836-4d4c-9bcb-eba73b001b1e","resourceId":"34cc77c8-d3ef-40a6-9b91-65786117fe67","workspaceId":"2394f5d1-1321-4f34-a373-cc1b159c7ebd"}
                    ],
        )

    def testListPersistedRevisionsResponse(self):
        """Test ListPersistedRevisionsResponse"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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