/// <summary> /// Initializes a new instance of the SegmentMetadata class. /// </summary> /// <param name="name">Gets the unique name of the segment</param> /// <param name="friendlyName">Gets the friendlyName of the /// segment.</param> /// <param name="description">Gets the description of the /// segment.</param> /// <param name="state">Possible values include: 'inactive', 'active', /// 'validating', 'validated', 'invalid', 'validationError'</param> /// <param name="errorDescription">Gets the error description when the /// segment metadata has some issues after refresh.</param> /// <param name="endDate">Gets the end date of the segment.</param> /// <param name="evaluationStatusHistory">Gets the segment evaluation /// status history. (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 SegmentMetadata(string name = default(string), string friendlyName = default(string), string description = default(string), SegmentationQuery segmentQueryExpression = default(SegmentationQuery), string state = default(string), string errorDescription = default(string), System.DateTime?endDate = default(System.DateTime?), SegmentationPublishStats evaluationStatus = default(SegmentationPublishStats), SqlValidationStats sqlValidationStats = default(SqlValidationStats), IList <HistoricalSegmentStats> evaluationStatusHistory = default(IList <HistoricalSegmentStats>), 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?)) { Name = name; FriendlyName = friendlyName; Description = description; SegmentQueryExpression = segmentQueryExpression; State = state; ErrorDescription = errorDescription; EndDate = endDate; EvaluationStatus = evaluationStatus; SqlValidationStats = sqlValidationStats; EvaluationStatusHistory = evaluationStatusHistory; Version = version; UpdatedBy = updatedBy; UpdatedUtc = updatedUtc; CreatedBy = createdBy; CreatedUtc = createdUtc; InstanceId = instanceId; CustomInit(); }
/// <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(); }