Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="APICounterV2Out" /> class.
 /// </summary>
 /// <param name="apiKey">apiKey.</param>
 /// <param name="apiService">apiService.</param>
 /// <param name="createdDateTime">createdDateTime.</param>
 /// <param name="totalUsage">totalUsage.</param>
 /// <param name="lastFlushedDateTime">lastFlushedDateTime.</param>
 /// <param name="lastUsedDateTime">lastUsedDateTime.</param>
 /// <param name="serviceFeaturesUsage">serviceFeaturesUsage.</param>
 public APICounterV2Out(APIKeyOut apiKey = default(APIKeyOut), string apiService = default(string), long?createdDateTime = default(long?), long?totalUsage = default(long?), long?lastFlushedDateTime = default(long?), long?lastUsedDateTime = default(long?), Dictionary <string, long?> serviceFeaturesUsage = default(Dictionary <string, long?>))
 {
     this.ApiKey               = apiKey;
     this.ApiService           = apiService;
     this.CreatedDateTime      = createdDateTime;
     this.TotalUsage           = totalUsage;
     this.LastFlushedDateTime  = lastFlushedDateTime;
     this.LastUsedDateTime     = lastUsedDateTime;
     this.ServiceFeaturesUsage = serviceFeaturesUsage;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SourceMetricsOut" /> class.
 /// </summary>
 /// <param name="classifierName">classifierName.</param>
 /// <param name="source">source.</param>
 /// <param name="aiEstimateTotal">aiEstimateTotal.</param>
 /// <param name="aiEstimatePrecision">aiEstimatePrecision.</param>
 /// <param name="aiEstimateRecall">aiEstimateRecall.</param>
 /// <param name="metricTimeStamp">metricTimeStamp.</param>
 /// <param name="aiStartTime">aiStartTime.</param>
 /// <param name="aiLearnTotal">aiLearnTotal.</param>
 /// <param name="snapshotDate">snapshotDate.</param>
 public SourceMetricsOut(string classifierName = default(string), APIKeyOut source = default(APIKeyOut), long?aiEstimateTotal = default(long?), double?aiEstimatePrecision = default(double?), double?aiEstimateRecall = default(double?), long?metricTimeStamp = default(long?), long?aiStartTime = default(long?), long?aiLearnTotal = default(long?), long?snapshotDate = default(long?))
 {
     this.ClassifierName      = classifierName;
     this.Source              = source;
     this.AiEstimateTotal     = aiEstimateTotal;
     this.AiEstimatePrecision = aiEstimatePrecision;
     this.AiEstimateRecall    = aiEstimateRecall;
     this.MetricTimeStamp     = metricTimeStamp;
     this.AiStartTime         = aiStartTime;
     this.AiLearnTotal        = aiLearnTotal;
     this.SnapshotDate        = snapshotDate;
 }