Source code for azure.mgmt.edgegateway.models.tracking_info_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 TrackingInfo(Model): """Tracking courier information. :param serial_number: Serial number of the device being tracked. :type serial_number: str :param carrier_name: Name of the carrier used in the delivery. :type carrier_name: str :param tracking_id: Tracking ID of the shipment. :type tracking_id: str :param tracking_url: Tracking URL of the shipment. :type tracking_url: str """ _attribute_map = { 'serial_number': {'key': 'serialNumber', 'type': 'str'}, 'carrier_name': {'key': 'carrierName', 'type': 'str'}, 'tracking_id': {'key': 'trackingId', 'type': 'str'}, 'tracking_url': {'key': 'trackingUrl', 'type': 'str'}, } def __init__(self, *, serial_number: str=None, carrier_name: str=None, tracking_id: str=None, tracking_url: str=None, **kwargs) -> None: super(TrackingInfo, self).__init__(**kwargs) self.serial_number = serial_number self.carrier_name = carrier_name self.tracking_id = tracking_id self.tracking_url = tracking_url