Source code for azure.mgmt.alertsmanagement.models.smart_groups_list_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 SmartGroupsList(Model): """List the alerts. :param next_link: URL to fetch the next set of alerts. :type next_link: str :param value: List of alerts :type value: list[~azure.mgmt.alertsmanagement.models.SmartGroup] """ _attribute_map = { 'next_link': {'key': 'nextLink', 'type': 'str'}, 'value': {'key': 'value', 'type': '[SmartGroup]'}, } def __init__(self, *, next_link: str=None, value=None, **kwargs) -> None: super(SmartGroupsList, self).__init__(**kwargs) self.next_link = next_link self.value = value