예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GenerateShortTermForecastResponse" /> class.
 /// </summary>
 /// <param name="Status">The status of the request.</param>
 /// <param name="Result">The resulting forecast.  May be sent asynchronously via notification depending on the complexity of the forecast.</param>
 /// <param name="OperationId">The operation id to watch for on the notification topic.</param>
 /// <param name="Progress">Percent progress.  Subscribe to the corresponding notification to view progress and await the result.</param>
 public GenerateShortTermForecastResponse(StatusEnum?Status = null, ShortTermForecast Result = null, string OperationId = null, int?Progress = null)
 {
     this.Status      = Status;
     this.Result      = Result;
     this.OperationId = OperationId;
     this.Progress    = Progress;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ShortTermForecastResponse" /> class.
 /// </summary>
 /// <param name="Status">The status of the request.</param>
 /// <param name="Result">The resulting forecast.  May be sent asynchronously via notification depending on the complexity of the forecast.</param>
 /// <param name="OperationId">The operation id to watch for on the notification topic.</param>
 public ShortTermForecastResponse(StatusEnum?Status = null, ShortTermForecast Result = null, string OperationId = null)
 {
     this.Status      = Status;
     this.Result      = Result;
     this.OperationId = OperationId;
 }