# Source code for azure.eventgrid.models.device_connection_state_event_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

    class DeviceConnectionStateEventInfo(Model):
        """Information about the device connection state event.

        :param sequence_number: Sequence number is string representation of a
         hexadecimal number. string compare can be used to identify the larger
         number because both in ASCII and HEX numbers come after alphabets. If you
         are converting the string to hex, then the number is a 256 bit number.
        :type sequence_number: str
        """

        _attribute_map = {
            'sequence_number': {'key': 'sequenceNumber', 'type': 'str'},
        }

        def __init__(self, *, sequence_number: str=None, **kwargs) -> None:
            super(DeviceConnectionStateEventInfo, self).__init__(**kwargs)
            self.sequence_number = sequence_number