/// <summary> /// Initializes a new instance of the MeasureMetadata class. /// </summary> /// <param name="name">Gets the unique name of the measure</param> /// <param name="description">Gets the description of the /// measure.</param> /// <param name="evaluationHistory">Gets the evaluation history for the /// measure. (not persisted in store)</param> /// <param name="outputHistory">Gets the output history for the /// measure. (not persisted in store)</param> /// <param name="version">Gets the version number of this /// object.</param> /// <param name="updatedBy">Gets the UPN of the user who last updated /// this record.</param> /// <param name="updatedUtc">Gets the time the object was last /// updated.</param> /// <param name="createdBy">Gets the email address of the user who /// created this record.</param> /// <param name="createdUtc">Gets the time the object was initially /// created.</param> /// <param name="instanceId">Gets the Customer Insights instance id /// associated with this object.</param> public MeasureMetadata(string displayName = default(string), string name = default(string), string description = default(string), MeasureDefinition definition = default(MeasureDefinition), Evaluation latestEvaluation = default(Evaluation), ScalarOutput output = default(ScalarOutput), EvaluationStats evaluationStats = default(EvaluationStats), StringInfo errorDescription = default(StringInfo), SqlValidationStats sqlValidationStats = default(SqlValidationStats), IList <Evaluation> evaluationHistory = default(IList <Evaluation>), IList <ScalarOutput> outputHistory = default(IList <ScalarOutput>), long?version = default(long?), string updatedBy = default(string), System.DateTime?updatedUtc = default(System.DateTime?), string createdBy = default(string), System.DateTime?createdUtc = default(System.DateTime?), System.Guid?instanceId = default(System.Guid?)) { DisplayName = displayName; Name = name; Description = description; Definition = definition; LatestEvaluation = latestEvaluation; Output = output; EvaluationStats = evaluationStats; ErrorDescription = errorDescription; SqlValidationStats = sqlValidationStats; EvaluationHistory = evaluationHistory; OutputHistory = outputHistory; Version = version; UpdatedBy = updatedBy; UpdatedUtc = updatedUtc; CreatedBy = createdBy; CreatedUtc = createdUtc; InstanceId = instanceId; CustomInit(); }
/// <summary> /// Initializes a new instance of the SegmentationPublishStats class. /// </summary> /// <param name="jobStatus">Possible values include: 'None', 'Queued', /// 'Running', 'CompletedSuccess', 'CompletedFailure', 'Cancelled', /// 'Interrupted', 'NotQualified'</param> public SegmentationPublishStats(string jobStatus = default(string), System.DateTime?evaluationDate = default(System.DateTime?), long?entityCount = default(long?), StringInfo error = default(StringInfo), System.Guid?lastSuccessfulRunId = default(System.Guid?)) { JobStatus = jobStatus; EvaluationDate = evaluationDate; EntityCount = entityCount; Error = error; LastSuccessfulRunId = lastSuccessfulRunId; CustomInit(); }
/// <summary> /// Initializes a new instance of the HistoricalSegmentStats class. /// </summary> /// <param name="evaluationDate">Gets the segment ran date.</param> /// <param name="entityCount">Gets the count of entity.</param> /// <param name="jobStatus">Gets the segment evaluation job /// status.</param> public HistoricalSegmentStats(System.DateTime?evaluationDate = default(System.DateTime?), long?entityCount = default(long?), string jobStatus = default(string), StringInfo error = default(StringInfo)) { EvaluationDate = evaluationDate; EntityCount = entityCount; JobStatus = jobStatus; Error = error; CustomInit(); }