Source code for azure.mgmt.alertsmanagement.models._paged_models

# 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.paging import Paged


[docs]class OperationPaged(Paged): """ A paging container for iterating over a list of :class:`Operation <azure.mgmt.alertsmanagement.models.Operation>` object """ _attribute_map = { 'next_link': {'key': 'nextLink', 'type': 'str'}, 'current_page': {'key': 'value', 'type': '[Operation]'} } def __init__(self, *args, **kwargs): super(OperationPaged, self).__init__(*args, **kwargs)
[docs]class AlertPaged(Paged): """ A paging container for iterating over a list of :class:`Alert <azure.mgmt.alertsmanagement.models.Alert>` object """ _attribute_map = { 'next_link': {'key': 'nextLink', 'type': 'str'}, 'current_page': {'key': 'value', 'type': '[Alert]'} } def __init__(self, *args, **kwargs): super(AlertPaged, self).__init__(*args, **kwargs)
[docs]class SmartGroupPaged(Paged): """ A paging container for iterating over a list of :class:`SmartGroup <azure.mgmt.alertsmanagement.models.SmartGroup>` object """ _attribute_map = { 'next_link': {'key': 'nextLink', 'type': 'str'}, 'current_page': {'key': 'value', 'type': '[SmartGroup]'} } def __init__(self, *args, **kwargs): super(SmartGroupPaged, self).__init__(*args, **kwargs)
[docs]class ActionRulePaged(Paged): """ A paging container for iterating over a list of :class:`ActionRule <azure.mgmt.alertsmanagement.models.ActionRule>` object """ _attribute_map = { 'next_link': {'key': 'nextLink', 'type': 'str'}, 'current_page': {'key': 'value', 'type': '[ActionRule]'} } def __init__(self, *args, **kwargs): super(ActionRulePaged, self).__init__(*args, **kwargs)
[docs]class AlertRulePaged(Paged): """ A paging container for iterating over a list of :class:`AlertRule <azure.mgmt.alertsmanagement.models.AlertRule>` object """ _attribute_map = { 'next_link': {'key': 'nextLink', 'type': 'str'}, 'current_page': {'key': 'value', 'type': '[AlertRule]'} } def __init__(self, *args, **kwargs): super(AlertRulePaged, self).__init__(*args, **kwargs)