Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def openapi_types():
'is_enabled': (bool,), # noqa: E501
'is_required': (bool,), # noqa: E501
'is_global': (bool,), # noqa: E501
'is_read_only': (bool,), # noqa: E501
'is_system': (bool,), # noqa: E501
'targets': ([str],), # noqa: E501
'is_read_only': (bool, none_type,), # noqa: E501
'is_system': (bool, none_type,), # noqa: E501
'targets': ([str], none_type,), # noqa: E501
'code': (str, none_type,), # noqa: E501
}

Expand Down Expand Up @@ -123,7 +123,7 @@ def discriminator():

@classmethod
@convert_js_args_to_python_args
def _from_openapi_data(cls, id, options, type, is_deleted, name, is_enabled, is_required, is_global, is_read_only, is_system, targets, *args, **kwargs): # noqa: E501
def _from_openapi_data(cls, id, options, type, is_deleted, name, is_enabled, is_required, is_global, *args, **kwargs): # noqa: E501
"""CustomAttributeApiResult - a model defined in OpenAPI

Args:
Expand All @@ -135,11 +135,11 @@ def _from_openapi_data(cls, id, options, type, is_deleted, name, is_enabled, is_
is_enabled (bool): Indicates if the attribute is enabled
is_required (bool): Indicates if the attribute value is mandatory to specify
is_global (bool): Indicates if the attribute is available across all projects
is_read_only (bool): Indicates if the attribute is read-only
is_system (bool): Indicates if the attribute is system
targets ([str]): Collection of the attribute targets Defines where the attribute can be used (e.g., TestCases, AutoTestCases, TestPlans)

Keyword Args:
is_read_only (bool): Indicates if the attribute is read-only. [optional] # noqa: E501
is_system (bool): Indicates if the attribute is system. [optional] # noqa: E501
targets ([str]): Collection of the attribute targets. [optional] # noqa: E501
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
raised if the wrong type is input.
Expand Down Expand Up @@ -178,6 +178,9 @@ def _from_openapi_data(cls, id, options, type, is_deleted, name, is_enabled, is_
_path_to_item = kwargs.pop('_path_to_item', ())
_configuration = kwargs.pop('_configuration', None)
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
is_read_only = kwargs.pop('is_read_only', False)
is_system = kwargs.pop('is_system', False)
targets = kwargs.pop('targets', None)

self = super(OpenApiModel, cls).__new__(cls)

Expand Down Expand Up @@ -233,7 +236,7 @@ def _from_openapi_data(cls, id, options, type, is_deleted, name, is_enabled, is_
])

@convert_js_args_to_python_args
def __init__(self, id, options, type, is_deleted, name, is_enabled, is_required, is_global, is_read_only, is_system, targets, *args, **kwargs): # noqa: E501
def __init__(self, id, options, type, is_deleted, name, is_enabled, is_required, is_global, *args, **kwargs): # noqa: E501
"""CustomAttributeApiResult - a model defined in OpenAPI

Args:
Expand All @@ -245,11 +248,11 @@ def __init__(self, id, options, type, is_deleted, name, is_enabled, is_required,
is_enabled (bool): Indicates if the attribute is enabled
is_required (bool): Indicates if the attribute value is mandatory to specify
is_global (bool): Indicates if the attribute is available across all projects
is_read_only (bool): Indicates if the attribute is read-only
is_system (bool): Indicates if the attribute is system
targets ([str]): Collection of the attribute targets Defines where the attribute can be used (e.g., TestCases, AutoTestCases, TestPlans)

Keyword Args:
is_read_only (bool): Indicates if the attribute is read-only. [optional] # noqa: E501
is_system (bool): Indicates if the attribute is system. [optional] # noqa: E501
targets ([str]): Collection of the attribute targets. [optional] # noqa: E501
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
raised if the wrong type is input.
Expand Down Expand Up @@ -288,6 +291,9 @@ def __init__(self, id, options, type, is_deleted, name, is_enabled, is_required,
_path_to_item = kwargs.pop('_path_to_item', ())
_configuration = kwargs.pop('_configuration', None)
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
is_read_only = kwargs.pop('is_read_only', False)
is_system = kwargs.pop('is_system', False)
targets = kwargs.pop('targets', None)

if args:
for arg in args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ def test_result_to_autotest_put_model(
external_id=test_result.get_external_id(),
project_id=project_id,
name=test_result.get_autotest_name(),
reset_layer=False,
steps=cls.step_results_to_autotest_steps_model(
test_result.get_step_results()),
setup=cls.step_results_to_autotest_steps_model(
Expand All @@ -331,6 +332,7 @@ def test_result_to_update_autotest_request(
external_id=test_result.get_external_id(),
project_id=project_id,
name=test_result.get_autotest_name(),
reset_layer=False,
steps=cls.step_results_to_autotest_steps_model(
test_result.get_step_results()),
setup=cls.step_results_to_autotest_steps_model(
Expand Down
Loading