models.last_protection_run_stats_by_env module¶
-
class
models.last_protection_run_stats_by_env.
LastProtectionRunStatsByEnv
(environment=None, num_objects_cancelled=None, num_objects_failed=None, num_objects_in_progress=None, num_objects_failed_sla=None, num_objects_successful=None, num_objects_met_sla=None)[source]¶ Bases:
object
Implementation of the ‘LastProtectionRunStatsByEnv’ model.
Specifies the last Protection Run stats by env.
- Attributes:
- environment (EnvironmentLastProtectionRunStatsByEnvEnum): Specifies
the environment.
- num_objects_cancelled (long|int): Specifies the number of objects
that were cancelled in the last Run across all Protection Jobs.
- num_objects_failed (long|int): Specifies the count of objects that
failed last Protection Run.
- num_objects_in_progress (long|int): Specifies the number of objects
that are still in progress in the last Run across all Protection Jobs.
- num_objects_failed_sla (long|int): Specifies the count of objects that
failed sla in the last Run.
- num_objects_successful (long|int): Specifies the number of objects
that were successful in the last Run across all Protection Jobs.
- num_objects_met_sla (long|int): Specifies the count of objects that
met sla in the last Run.
-
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.