# coding: utf-8

"""
    Zarban Wallet API

    API for Zarban wallet services.  # noqa: E501

    The version of the OpenAPI document: 2.0.0
    Contact: info@zarban.io
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import zarban.wallet.openapi_client
from zarban.wallet.openapi_client.models.loan_create_request import LoanCreateRequest  # noqa: E501
from zarban.wallet.openapi_client.rest import ApiException

class TestLoanCreateRequest(unittest.TestCase):
    """LoanCreateRequest unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test LoanCreateRequest
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = zarban.wallet.openapi_client.models.loan_create_request.LoanCreateRequest()  # noqa: E501
        if include_optional :
            return LoanCreateRequest(
                intent = 'Create', 
                plan_name = 'ETH', 
                collateral = '1.234', 
                debt = '1.234', 
                symbol = 'ZAR', 
                loan_to_value_option = 'Safe'
            )
        else :
            return LoanCreateRequest(
                intent = 'Create',
                plan_name = 'ETH',
                symbol = 'ZAR',
                loan_to_value_option = 'Safe',
        )

    def testLoanCreateRequest(self):
        """Test LoanCreateRequest"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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