Source code for azure.mgmt.iothub.models.routing_message_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 RoutingMessage(Model): """Routing message. :param body: Body of routing message :type body: str :param app_properties: App properties :type app_properties: dict[str, str] :param system_properties: System properties :type system_properties: dict[str, str] """ _attribute_map = { 'body': {'key': 'body', 'type': 'str'}, 'app_properties': {'key': 'appProperties', 'type': '{str}'}, 'system_properties': {'key': 'systemProperties', 'type': '{str}'}, } def __init__(self, *, body: str=None, app_properties=None, system_properties=None, **kwargs) -> None: super(RoutingMessage, self).__init__(**kwargs) self.body = body self.app_properties = app_properties self.system_properties = system_properties