# coding: utf-8

"""
    Algorithmia Management APIs

    APIs for managing actions on the Algorithmia platform  # noqa: E501

    The version of the OpenAPI document: 1.0.1
    Contact: support@algorithmia.com
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import algorithmia_api_client
from algorithmia_api_client.models.hash_response import HashResponse  # noqa: E501
from algorithmia_api_client.rest import ApiException

class TestHashResponse(unittest.TestCase):
    """HashResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test HashResponse
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = algorithmia_api_client.models.hash_response.HashResponse()  # noqa: E501
        if include_optional :
            return HashResponse(
                name = '0', 
                details = algorithmia_api_client.models.details.Details(
                    summary = '0', 
                    label = '0', 
                    tagline = '0', ), 
                settings = algorithmia_api_client.models.settings.Settings(
                    algorithm_callability = 'public', 
                    source_visibility = 'open', 
                    language = 'java', 
                    environment = 'cpu', 
                    package_set = '0', 
                    license = 'apl', 
                    royalty_microcredits = 0, 
                    network_access = 'isolated', 
                    pipeline_enabled = True, ), 
                source = algorithmia_api_client.models.source.Source(
                    repository_name = '0', 
                    repository_owner = '0', 
                    repository_https_url = '0', 
                    repository_ssh_url = '0', 
                    scm = algorithmia_api_client.models.scm.Scm(
                        id = '0', 
                        enabled = True, 
                        default = True, 
                        provider = 'internal', 
                        oauth = algorithmia_api_client.models.scm_o_auth_configuration.ScmOAuthConfiguration(
                            client_id = '0', 
                            client_secret = '0', ), 
                        urls = algorithmia_api_client.models.scm_urls.ScmUrls(
                            web = '0', 
                            api = '0', 
                            ssh = '0', ), ), ), 
                self_link = '0'
            )
        else :
            return HashResponse(
        )

    def testHashResponse(self):
        """Test HashResponse"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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