Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImportShortTermForecastRequest" /> class.
 /// </summary>
 /// <param name="FileName">The file name, if applicable, this data was extracted from (display purposes only).</param>
 /// <param name="Description">Description for the imported forecast.  Pass an empty string for no description (required).</param>
 /// <param name="RouteGroupList">The raw data to import (required).</param>
 /// <param name="PartialUploadIds">IDs of partial uploads to include in this imported forecast.  Only relevant for large forecasts.</param>
 public ImportShortTermForecastRequest(string FileName = null, string Description = null, RouteGroupList RouteGroupList = null, List <string> PartialUploadIds = null)
 {
     this.FileName         = FileName;
     this.Description      = Description;
     this.RouteGroupList   = RouteGroupList;
     this.PartialUploadIds = PartialUploadIds;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ForecastResultResponse" /> class.
 /// </summary>
 /// <param name="Result">The forecast result.  If null, fetch the result from the url in downloadUrl.</param>
 /// <param name="DownloadUrl">The downloadUrl to fetch the result if it is too large to be sent directly.</param>
 public ForecastResultResponse(RouteGroupList Result = null, string DownloadUrl = null)
 {
     this.Result      = Result;
     this.DownloadUrl = DownloadUrl;
 }