Source code for nisystemlink.clients.testmonitor.models._delete_steps_partial_success

from typing import List

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


[docs]class StepIdResultIdPair(JsonModel): step_id: str """The ID of the step.""" result_id: str """The ID of the result associated with the step."""
[docs]class DeleteStepsPartialSuccess(JsonModel): """The result of deleting multiple steps when one or more steps could not be deleted.""" steps: List[StepIdResultIdPair] """The step_id and result_id pairs of the steps that were successfully deleted.""" failed: List[StepIdResultIdPair] | None = None """The step_id and result_id pairs of the steps that could not be deleted.""" error: ApiError | None = None """The error that occurred when deleting the steps."""