Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuManagementUnitScheduleSummary" /> class.
 /// </summary>
 /// <param name="ManagementUnit">The management unit to which this summary applies.</param>
 /// <param name="AgentCount">The number of agents from this management unit that are in the schedule.</param>
 /// <param name="StartDate">The start of the schedule change in the management unit. Only populated in schedule update notifications. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="EndDate">The end of the schedule change in the management unit. Only populated in schedule update notifications. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="Agents">The agents in the management unit who are part of this schedule, or in schedule change notifications, the agents that were changed. Note this will come back as an empty list unless the appropriate expand query parameter is passed.</param>
 public BuManagementUnitScheduleSummary(ManagementUnitReference ManagementUnit = null, int?AgentCount = null, DateTime?StartDate = null, DateTime?EndDate = null, List <UserReference> Agents = null)
 {
     this.ManagementUnit = ManagementUnit;
     this.AgentCount     = AgentCount;
     this.StartDate      = StartDate;
     this.EndDate        = EndDate;
     this.Agents         = Agents;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AdherenceExplanationNotification" /> class.
 /// </summary>
 /// <param name="Agent">The agent for whom the adherence explanation applies.</param>
 /// <param name="ManagementUnit">The management unit to which the agent belonged at the time the adherence explanation was submitted.</param>
 /// <param name="BusinessUnit">The business unit to which the agent belonged at the time the adherence explanation was submitted.</param>
 /// <param name="StartDate">The start date of the adherence explanation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="LengthMinutes">The length of the adherence explanation in minutes.</param>
 /// <param name="Status">The status of the adherence explanation.</param>
 /// <param name="Type">The type of the adherence explanation.</param>
 /// <param name="Notes">Notes about the adherence explanation.</param>
 public AdherenceExplanationNotification(UserReference Agent = null, ManagementUnitReference ManagementUnit = null, BusinessUnitReference BusinessUnit = null, DateTime?StartDate = null, int?LengthMinutes = null, StatusEnum?Status = null, TypeEnum?Type = null, string Notes = null)
 {
     this.Agent          = Agent;
     this.ManagementUnit = ManagementUnit;
     this.BusinessUnit   = BusinessUnit;
     this.StartDate      = StartDate;
     this.LengthMinutes  = LengthMinutes;
     this.Status         = Status;
     this.Type           = Type;
     this.Notes          = Notes;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AgentManagementUnitReference" /> class.
 /// </summary>
 /// <param name="User">The user (agent) for whom the management unit was requested.</param>
 /// <param name="ManagementUnit">The management to which the user (agent) belongs.</param>
 /// <param name="BusinessUnit">The business unit to which the user (agent) belongs. Populate with expand=businessUnit.</param>
 public AgentManagementUnitReference(UserReference User = null, ManagementUnitReference ManagementUnit = null, BusinessUnitReference BusinessUnit = null)
 {
     this.User           = User;
     this.ManagementUnit = ManagementUnit;
     this.BusinessUnit   = BusinessUnit;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReschedulingManagementUnitResponse" /> class.
 /// </summary>
 /// <param name="ManagementUnit">The management unit.</param>
 /// <param name="Applied">Whether the rescheduling run is applied for the given management unit.</param>
 public ReschedulingManagementUnitResponse(ManagementUnitReference ManagementUnit = null, bool?Applied = null)
 {
     this.ManagementUnit = ManagementUnit;
     this.Applied        = Applied;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WorkPlanReference" /> class.
 /// </summary>
 /// <param name="ManagementUnit">The management unit to which this work plan belongs.  Nullable in some routes.</param>
 public WorkPlanReference(ManagementUnitReference ManagementUnit = null)
 {
     this.ManagementUnit = ManagementUnit;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BuRescheduleAgentScheduleResult" /> class.
 /// </summary>
 /// <param name="ManagementUnit">The management unit to which this part of the result applies.</param>
 /// <param name="DownloadResult">The agent schedules.  Result will always come via the downloadUrl; however the schema is included for documentation.</param>
 /// <param name="DownloadUrl">The download URL from which to fetch the result.</param>
 public BuRescheduleAgentScheduleResult(ManagementUnitReference ManagementUnit = null, MuRescheduleResultWrapper DownloadResult = null, string DownloadUrl = null)
 {
     this.ManagementUnit = ManagementUnit;
     this.DownloadResult = DownloadResult;
     this.DownloadUrl    = DownloadUrl;
 }