Source code for azure.mgmt.recoveryservices.models.jobs_summary_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class JobsSummary(Model): """Summary of the replication job data for this vault. :param failed_jobs: Count of failed jobs. :type failed_jobs: int :param suspended_jobs: Count of suspended jobs. :type suspended_jobs: int :param in_progress_jobs: Count of in-progress jobs. :type in_progress_jobs: int """ _attribute_map = { 'failed_jobs': {'key': 'failedJobs', 'type': 'int'}, 'suspended_jobs': {'key': 'suspendedJobs', 'type': 'int'}, 'in_progress_jobs': {'key': 'inProgressJobs', 'type': 'int'}, } def __init__(self, *, failed_jobs: int=None, suspended_jobs: int=None, in_progress_jobs: int=None, **kwargs) -> None: super(JobsSummary, self).__init__(**kwargs) self.failed_jobs = failed_jobs self.suspended_jobs = suspended_jobs self.in_progress_jobs = in_progress_jobs