# coding: utf-8
"""
System Initiative API
The API Server for interacting with a System Initiative workspace
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
import unittest
from system_initiative_api_client.models.create_component_v1_request import CreateComponentV1Request
class TestCreateComponentV1Request(unittest.TestCase):
"""CreateComponentV1Request unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def make_instance(self, include_optional) -> CreateComponentV1Request:
"""Test CreateComponentV1Request
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 `CreateComponentV1Request`
"""
model = CreateComponentV1Request()
if include_optional:
return CreateComponentV1Request(
attributes = {/domain/VpcId={$source={component=01K0WRC69ZPEMD6SMTKC84FBWC, path=/resource_value/VpcId}}, /domain/SubnetId={$source={component=01K0WRC69ZPEMD6SMTKC84FBWD, path=/resource_value/SubnetId}}, /domain/Version={$source=null}},
managed_by = {component=ComponentName},
name = 'MyComponentName',
resource_id = 'i-12345678',
schema_name = 'AWS::EC2::Instance',
use_working_copy = True,
view_name = 'MyView'
)
else:
return CreateComponentV1Request(
name = 'MyComponentName',
schema_name = 'AWS::EC2::Instance',
)
"""
def testCreateComponentV1Request(self):
"""Test CreateComponentV1Request"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)
if __name__ == '__main__':
unittest.main()