models_v2.cancel_object_runs_params module

class models_v2.cancel_object_runs_params.CancelObjectRunsParams(object_id=None, runs_config=None)[source]

Bases: object

Implementation of the ‘CancelObjectRunsParams’ model.

Request to cancel object runs.

Attributes:

object_id (long|int): Specifies object id runs_config (list of CancelObjectRunParams): Specifies a list of runs

to cancel. If no runs are specified, then all the outstanding runs will be canceled.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.