# coding=utf-8
# --------------------------------------------------------------------------
# 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


class DeviceJobStatistics(Model):
    """The job counts, e.g., number of failed/succeeded devices.

    :param device_count: Number of devices in the job
    :type device_count: int
    :param failed_count: The number of failed jobs
    :type failed_count: int
    :param succeeded_count: The number of Successed jobs
    :type succeeded_count: int
    :param running_count: The number of running jobs
    :type running_count: int
    :param pending_count: The number of pending (scheduled) jobs
    :type pending_count: int
    """

    _attribute_map = {
        "device_count": {"key": "deviceCount", "type": "int"},
        "failed_count": {"key": "failedCount", "type": "int"},
        "succeeded_count": {"key": "succeededCount", "type": "int"},
        "running_count": {"key": "runningCount", "type": "int"},
        "pending_count": {"key": "pendingCount", "type": "int"},
    }

    def __init__(
        self,
        *,
        device_count: int = None,
        failed_count: int = None,
        succeeded_count: int = None,
        running_count: int = None,
        pending_count: int = None,
        **kwargs
    ) -> None:
        super(DeviceJobStatistics, self).__init__(**kwargs)
        self.device_count = device_count
        self.failed_count = failed_count
        self.succeeded_count = succeeded_count
        self.running_count = running_count
        self.pending_count = pending_count
