Source code for nisystemlink.clients.test_plan.models._create_test_plans_partial_success_response

from typing import List

from nisystemlink.clients.core._api_error import ApiError
from nisystemlink.clients.core._uplink._json_model import JsonModel

from ._create_test_plan_request import CreateTestPlanRequest
from ._test_plan import TestPlan


[docs]class CreateTestPlansPartialSuccessResponse(JsonModel): """Represents the response from creating test plans, including successfully created, failed test plans, and any associated errors. """ created_test_plans: List[TestPlan] | None = None """List of test plans that were successfully created.""" failed_test_plans: List[CreateTestPlanRequest] | None = None """List of test plans that failed to be created, with their request body content.""" error: ApiError | None = None """The error that occurred when creating the test plans."""