# 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 NodeCounts(Model):
"""Gets the count of nodes by count type.
:param value: Gets an array of counts
:type value: list[~azure.mgmt.automation.models.NodeCount]
:param total_count: Gets the total number of records matching countType
criteria.
:type total_count: int
"""
_attribute_map = {
'value': {'key': 'value', 'type': '[NodeCount]'},
'total_count': {'key': 'totalCount', 'type': 'int'},
}
def __init__(self, *, value=None, total_count: int=None, **kwargs) -> None:
super(NodeCounts, self).__init__(**kwargs)
self.value = value
self.total_count = total_count