# coding: utf-8

"""
    Qc API

    Qc API  # noqa: E501

    The version of the OpenAPI document: 3.0.0
    Contact: <EMAIL>
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import telestream_cloud_qc
from telestream_cloud_qc.models.audio_stream import AudioStream  # noqa: E501
from telestream_cloud_qc.rest import ApiException

class TestAudioStream(unittest.TestCase):
    """AudioStream unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test AudioStream
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = telestream_cloud_qc.models.audio_stream.AudioStream()  # noqa: E501
        if include_optional :
            return AudioStream(
                duration = 78.345, 
                codec = 'PCM', 
                channels = 6, 
                program = '0', 
                bitrate = 4608000, 
                sample_rate = 48000
            )
        else :
            return AudioStream(
        )

    def testAudioStream(self):
        """Test AudioStream"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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

# coding: utf-8

"""
    Qc API

    Qc API  # noqa: E501

    The version of the OpenAPI document: 3.0.0
    Contact: <EMAIL>
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import telestream_cloud_qc
from telestream_cloud_qc.models.audio_stream import AudioStream  # noqa: E501
from telestream_cloud_qc.rest import ApiException

class TestAudioStream(unittest.TestCase):
    """AudioStream unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test AudioStream
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = telestream_cloud_qc.models.audio_stream.AudioStream()  # noqa: E501
        if include_optional :
            return AudioStream(
                duration = 78.345, 
                codec = 'PCM', 
                channels = 6, 
                program = '0', 
                bitrate = 4608000, 
                sample_rate = 48000
            )
        else :
            return AudioStream(
        )

    def testAudioStream(self):
        """Test AudioStream"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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

# coding: utf-8 Qc API      Qc API  # noqa: E501      The version of the OpenAPI document: 3.0.0     Contact: <EMAIL>     Generated by: https://openapi-generator.tech # noqa: E501 AudioStream unit test stubs Test AudioStream             include_option is a boolean, when False only required             params are included, when True both required and             optional params are included # model = telestream_cloud_qc.models.audio_stream.AudioStream()  # noqa: E501 Test AudioStream