/// <summary> /// Initializes a new instance of the <see cref="UpdateWorkPlanRotationRequest" /> class. /// </summary> /// <param name="Name">Name of this work plan rotation.</param> /// <param name="Enabled">Whether the work plan rotation is enabled for scheduling.</param> /// <param name="DateRange">The date range to which this work plan rotation applies.</param> /// <param name="Agents">Agents in this work plan rotation.</param> /// <param name="Pattern">Pattern with list of work plan IDs that rotate on a weekly basis.</param> /// <param name="Metadata">Version metadata for this work plan rotation (required).</param> public UpdateWorkPlanRotationRequest(string Name = null, bool?Enabled = null, DateRangeWithOptionalEnd DateRange = null, List <UpdateWorkPlanRotationAgentRequest> Agents = null, WorkPlanPatternRequest Pattern = null, WfmVersionedEntityMetadata Metadata = null) { this.Name = Name; this.Enabled = Enabled; this.DateRange = DateRange; this.Agents = Agents; this.Pattern = Pattern; this.Metadata = Metadata; }
/// <summary> /// Initializes a new instance of the <see cref="AddWorkPlanRotationRequest" /> class. /// </summary> /// <param name="Name">Name of this work plan rotation (required).</param> /// <param name="DateRange">The date range to which this work plan rotation applies (required).</param> /// <param name="Agents">Agents in this work plan rotation.</param> /// <param name="Pattern">Pattern with list of work plan IDs that rotate on a weekly basis (required).</param> public AddWorkPlanRotationRequest(string Name = null, DateRangeWithOptionalEnd DateRange = null, List <AddWorkPlanRotationAgentRequest> Agents = null, WorkPlanPatternRequest Pattern = null) { this.Name = Name; this.DateRange = DateRange; this.Agents = Agents; this.Pattern = Pattern; }