Example #1
0
 /// <summary>
 /// Initializes a new instance of the ReadEventsDetailsApiModel class.
 /// </summary>
 /// <param name="startTime">Start time to read from</param>
 /// <param name="endTime">End time to read to</param>
 /// <param name="numEvents">Number of events to read</param>
 public ReadEventsDetailsApiModel(System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), int?numEvents = default(int?), EventFilterApiModel filter = default(EventFilterApiModel))
 {
     StartTime = startTime;
     EndTime   = endTime;
     NumEvents = numEvents;
     Filter    = filter;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the InsertEventsDetailsApiModel
 /// class.
 /// </summary>
 /// <param name="events">The new events to insert</param>
 public InsertEventsDetailsApiModel(IList <HistoricEventApiModel> events, EventFilterApiModel filter = default(EventFilterApiModel))
 {
     Filter = filter;
     Events = events;
     CustomInit();
 }