/// <summary>
 /// Initializes a new instance of the <see cref="JourneySegment" /> class.
 /// </summary>
 /// <param name="IsActive">Whether or not the segment is active..</param>
 /// <param name="DisplayName">The display name of the segment. (required).</param>
 /// <param name="Version">The version of the segment..</param>
 /// <param name="Description">A description of the segment..</param>
 /// <param name="Color">The hexadecimal color value of the segment..</param>
 /// <param name="Scope">The target entity that a segment applies to..</param>
 /// <param name="ShouldDisplayToAgent">Whether or not the segment should be displayed to agent/supervisor users..</param>
 /// <param name="Context">The context of the segment..</param>
 /// <param name="Journey">The pattern of rules defining the segment..</param>
 /// <param name="ExternalSegment">Details of an entity corresponding to this segment in an external system..</param>
 /// <param name="AssignmentExpirationDays">Time, in days, from when the segment is assigned until it is automatically unassigned..</param>
 /// <param name="CreatedDate">Timestamp indicating when the segment was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="ModifiedDate">Timestamp indicating when the the segment was last updated. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 public JourneySegment(bool?IsActive = null, string DisplayName = null, int?Version = null, string Description = null, string Color = null, ScopeEnum?Scope = null, bool?ShouldDisplayToAgent = null, Context Context = null, Journey Journey = null, ExternalSegment ExternalSegment = null, int?AssignmentExpirationDays = null, DateTime?CreatedDate = null, DateTime?ModifiedDate = null)
 {
     this.IsActive                 = IsActive;
     this.DisplayName              = DisplayName;
     this.Version                  = Version;
     this.Description              = Description;
     this.Color                    = Color;
     this.Scope                    = Scope;
     this.ShouldDisplayToAgent     = ShouldDisplayToAgent;
     this.Context                  = Context;
     this.Journey                  = Journey;
     this.ExternalSegment          = ExternalSegment;
     this.AssignmentExpirationDays = AssignmentExpirationDays;
     this.CreatedDate              = CreatedDate;
     this.ModifiedDate             = ModifiedDate;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PatchOutcome" /> class.
 /// </summary>
 /// <param name="IsActive">Whether or not the outcome is active..</param>
 /// <param name="DisplayName">The display name of the outcome. (required).</param>
 /// <param name="Version">The version of the outcome..</param>
 /// <param name="Description">A description of the outcome..</param>
 /// <param name="IsPositive">Whether or not the outcome is positive..</param>
 /// <param name="Context">The context of the outcome..</param>
 /// <param name="Journey">The pattern of rules defining the filter of the outcome..</param>
 /// <param name="AssociatedValueField">The field from the event indicating the associated value..</param>
 /// <param name="CreatedDate">Timestamp indicating when the outcome was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="ModifiedDate">Timestamp indicating when the outcome was last updated. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 public PatchOutcome(bool?IsActive = null, string DisplayName = null, int?Version = null, string Description = null, bool?IsPositive = null, Context Context = null, Journey Journey = null, AssociatedValueField AssociatedValueField = null, DateTime?CreatedDate = null, DateTime?ModifiedDate = null)
 {
     this.IsActive             = IsActive;
     this.DisplayName          = DisplayName;
     this.Version              = Version;
     this.Description          = Description;
     this.IsPositive           = IsPositive;
     this.Context              = Context;
     this.Journey              = Journey;
     this.AssociatedValueField = AssociatedValueField;
     this.CreatedDate          = CreatedDate;
     this.ModifiedDate         = ModifiedDate;
 }