Implementation of the ‘SequenceNumber’ model.
Sequence Number for each change for MongoDB Entity.
- timestamp (long|int): Timestamp field of the change event.
Mongodb associates each change with a timestamp type which is a 64 bit value where: The most significant 32 bits are a time_t value (seconds since the Unix epoch), the least significant 32 bits are an incrementing ordinal for operations within a given second. Note that the timestamps of events are not consecutive numbers and also we can have multiple colocated changes entries for same timestamp.
Creates an instance of this model from a dictionary
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
object: An instance of this structure class.