/// <summary> /// Initializes a new instance of the <see cref="ManagementUnit" /> class. /// </summary> /// <param name="Name">Name.</param> /// <param name="BusinessUnit">The business unit to which this management unit belongs.</param> /// <param name="StartDayOfWeek">Start day of week for scheduling and forecasting purposes. Moving to Business Unit.</param> /// <param name="TimeZone">The time zone for the management unit in standard Olson format. Moving to Business Unit.</param> /// <param name="Settings">The configuration settings for this management unit.</param> /// <param name="Metadata">Version info metadata for this management unit. Deprecated, use settings.metadata.</param> /// <param name="Division">The division to which this entity belongs..</param> public ManagementUnit(string Name = null, BusinessUnitReference BusinessUnit = null, StartDayOfWeekEnum?StartDayOfWeek = null, string TimeZone = null, ManagementUnitSettingsResponse Settings = null, WfmVersionedEntityMetadata Metadata = null, DivisionReference Division = null) { this.Name = Name; this.BusinessUnit = BusinessUnit; this.StartDayOfWeek = StartDayOfWeek; this.TimeZone = TimeZone; this.Settings = Settings; this.Metadata = Metadata; this.Division = Division; }
/// <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; }
/// <summary> /// Initializes a new instance of the <see cref="BuScheduleReferenceForMuRoute" /> class. /// </summary> /// <param name="WeekDate">The start week date for this schedule. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd.</param> /// <param name="BusinessUnit">The start week date for this schedule.</param> public BuScheduleReferenceForMuRoute(String WeekDate = null, BusinessUnitReference BusinessUnit = null) { this.WeekDate = WeekDate; this.BusinessUnit = BusinessUnit; }
/// <summary> /// Initializes a new instance of the <see cref="MoveManagementUnitResponse" /> class. /// </summary> /// <param name="BusinessUnit">The new business unit.</param> /// <param name="Status">The status of the move. Will always be 'Processing' unless the Management Unit is already in the requested Business Unit in which case it will be 'Complete'.</param> public MoveManagementUnitResponse(BusinessUnitReference BusinessUnit = null, StatusEnum?Status = null) { this.BusinessUnit = BusinessUnit; this.Status = Status; }
/// <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; }