Table of Contents

Class FeedResult<T>

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

true An object containing the result of a feed method.

public sealed class FeedResult<T> : IDisposable where T : class, IEntity

Type Parameters

T

Template parameter is an Entity.

Inheritance
FeedResult<T>
Implements
Inherited Members

Constructors

FeedResult()

Initializes a new instance of the FeedResult<T> class.An object containing the result of a feed method.

public FeedResult()

FeedResult(long?, IList<T>?)

Initializes a new instance of the FeedResult<T> class.An object containing the result of a data feed method.

public FeedResult(long? toVersion, IList<T>? data)

Parameters

toVersion long?

The last version of the set data returned by the feed. Means that we only need to look for new versions than this to know about changes to this data.

data IList<T>

A list of data returned by the feed.

Properties

Data

Gets or sets a list of data returned by the feed.

public IList<T>? Data { get; set; }

Property Value

IList<T>

IList

ToVersion

Gets or sets the last version of the data returned by the feed call. If this parameter is passed back into the feed call, then returned data will be the changes that occurred after the last feed call was made. In this way the feed can return a continuous stream of data.

public long? ToVersion { get; set; }

Property Value

long?

long