models.last_protection_run_stats module

class models.last_protection_run_stats.LastProtectionRunStats(num_objects_cancelled=None, num_objects_failed=None, num_objects_in_progress=None, num_objects_successful=None, num_runs_failed=None, num_runs_failed_sla=None, num_runs_met_sla=None, stats_by_env=None)[source]

Bases: object

Implementation of the ‘LastProtectionRunStats’ model.

Specifies the stats of last Protection Run.

Attributes:
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 number of objects that

were failed in the last Run across all Protection Jobs.

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_successful (long|int): Specifies the number of objects

that were successful in the last Run across all Protection Jobs.

num_runs_failed (long|int): Specifies the number of Protection Jobs

for which specified Protection Run failed.

num_runs_failed_sla (long|int): Specifies the number of Protection

Jobs for which specified Protection Run failed SLA.

num_runs_met_sla (long|int): Specifies the number of Protection Jobs

for which specified Protection Run met SLA.

stats_by_env (list of LastProtectionRunStatsByEnv): Specifies the last

Protection Run stats by environment.

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.