Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateWorkPlanRotationAgentRequest" /> class.
 /// </summary>
 /// <param name="UserId">The ID of an agent in this work plan rotation (required).</param>
 /// <param name="DateRange">The date range to which this agent is effective in the work plan rotation.</param>
 /// <param name="Position">Start position of the work plan in the pattern for this agent in the work plan rotation. Position value starts from 0.</param>
 /// <param name="Delete">If marked true for this agent when updating, then this agent will be removed from this work plan rotation.</param>
 public UpdateWorkPlanRotationAgentRequest(string UserId = null, DateRangeWithOptionalEnd DateRange = null, int?Position = null, bool?Delete = null)
 {
     this.UserId    = UserId;
     this.DateRange = DateRange;
     this.Position  = Position;
     this.Delete    = Delete;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WorkPlanRotationResponse" /> class.
 /// </summary>
 /// <param name="Name">Name.</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="Pattern">Pattern with ordered list of work plans that rotate on a weekly basis.</param>
 /// <param name="AgentCount">Number of agents in this work plan rotation.</param>
 /// <param name="Agents">Agents in this work plan rotation. Populate with expand=agents for GET WorkPlanRotationsList (defaults to empty list).</param>
 /// <param name="Metadata">Version metadata for this work plan rotation.</param>
 public WorkPlanRotationResponse(string Name = null, bool?Enabled = null, DateRangeWithOptionalEnd DateRange = null, WorkPlanPatternResponse Pattern = null, int?AgentCount = null, List <WorkPlanRotationAgentResponse> Agents = null, WfmVersionedEntityMetadata Metadata = null)
 {
     this.Name       = Name;
     this.Enabled    = Enabled;
     this.DateRange  = DateRange;
     this.Pattern    = Pattern;
     this.AgentCount = AgentCount;
     this.Agents     = Agents;
     this.Metadata   = Metadata;
 }
 /// <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="WorkPlanRotationAgentResponse" /> class.
 /// </summary>
 /// <param name="User">The user associated with this work plan rotation.</param>
 /// <param name="DateRange">The date range to which this agent is effective in the work plan rotation.</param>
 /// <param name="Position">Start position of the work plan in the pattern for this agent in the work plan rotation. Position value starts from 0.</param>
 public WorkPlanRotationAgentResponse(UserReference User = null, DateRangeWithOptionalEnd DateRange = null, int?Position = null)
 {
     this.User      = User;
     this.DateRange = DateRange;
     this.Position  = Position;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AddWorkPlanRotationAgentRequest" /> class.
 /// </summary>
 /// <param name="UserId">The ID of an agent in this work plan rotation (required).</param>
 /// <param name="DateRange">The date range to which this agent is effective in the work plan rotation (required).</param>
 /// <param name="Position">Start position of the work plan in the pattern for this agent in the work plan rotation. Position value starts from 0 (required).</param>
 public AddWorkPlanRotationAgentRequest(string UserId = null, DateRangeWithOptionalEnd DateRange = null, int?Position = null)
 {
     this.UserId    = UserId;
     this.DateRange = DateRange;
     this.Position  = Position;
 }