# coding: utf-8

"""
    Vayu API

    The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities.           The API is secured using the Bearer Authentication scheme with JWT tokens.           To obtain a JWT token, please contact Vayu at team@withvayu.com

    The version of the OpenAPI document: 1.0.0
    Contact: dev@withvayu.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from openapi.models.cloud_usage_result import CloudUsageResult

class TestCloudUsageResult(unittest.TestCase):
    """CloudUsageResult unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> CloudUsageResult:
        """Test CloudUsageResult
            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 `CloudUsageResult`
        """
        model = CloudUsageResult()
        if include_optional:
            return CloudUsageResult(
                status = 'ACCEPTED',
                error_code = '',
                usage_window = openapi.models.usage_window.UsageWindow(
                    start = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ),
                error_message = '',
                correlation_id = '',
                idempotency_key = 'vayu-ok%?x!u\'K}qz^sEC)lJ*=-jQ-+\'6`%cClu,k\'!\'su[.lzF6V,-V6rEtCO?&28nxs#k8z)\"\\6\\%-TMxo:-sWVoim9gsbE`buHkrT',
                meter_dimension = '',
                accepted_quantity = 1.337,
                partner_submission = {
                    'key' : openapi.models.partner_submission_detail.PartnerSubmissionDetail(
                        received_at = '', 
                        status = 'SUCCESS', 
                        error = null, )
                    },
                quantity_submitted = 1.337,
                timestamp_submitted = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                aws_customer_identifier = ''
            )
        else:
            return CloudUsageResult(
                status = 'ACCEPTED',
                usage_window = openapi.models.usage_window.UsageWindow(
                    start = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    end = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ),
                correlation_id = '',
                idempotency_key = 'vayu-ok%?x!u\'K}qz^sEC)lJ*=-jQ-+\'6`%cClu,k\'!\'su[.lzF6V,-V6rEtCO?&28nxs#k8z)\"\\6\\%-TMxo:-sWVoim9gsbE`buHkrT',
                meter_dimension = '',
                accepted_quantity = 1.337,
                partner_submission = {
                    'key' : openapi.models.partner_submission_detail.PartnerSubmissionDetail(
                        received_at = '', 
                        status = 'SUCCESS', 
                        error = null, )
                    },
                quantity_submitted = 1.337,
                timestamp_submitted = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                aws_customer_identifier = '',
        )
        """

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

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