Source code for azure.mgmt.devtestlabs.models.event_fragment

# 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 EventFragment(Model): """An event to be notified for. :param event_name: The event type for which this notification is enabled (i.e. AutoShutdown, Cost). Possible values include: 'AutoShutdown', 'Cost' :type event_name: str or ~azure.mgmt.devtestlabs.models.NotificationChannelEventType """ _attribute_map = { 'event_name': {'key': 'eventName', 'type': 'str'}, } def __init__(self, event_name=None): super(EventFragment, self).__init__() self.event_name = event_name