Class GenerateShiftsRequest
Request with constraints for generating shifts. The shifts generated must adhere to these constraints.
Implements
Inherited Members
Namespace: Google.Apis.CCAIPlatform.v1alpha1.Data
Assembly: Google.Apis.CCAIPlatform.v1alpha1.dll
Syntax
public class GenerateShiftsRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EmployeeInfo
Optional. Employee information that should be considered when generating shifts.
Declaration
[JsonProperty("employeeInfo")]
public virtual IList<EmployeeInfo> EmployeeInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<EmployeeInfo> |
PlanningHorizon
Required. The solver will generate the maximum number of shifts per shift template.
Declaration
[JsonProperty("planningHorizon")]
public virtual PlanningHorizon PlanningHorizon { get; set; }
Property Value
| Type | Description |
|---|---|
| PlanningHorizon |
ShiftTemplates
Required. Set of shift templates specifying rules for generating shifts. A shift template can be used for generating multiple shifts.
Declaration
[JsonProperty("shiftTemplates")]
public virtual IList<ShiftTemplate> ShiftTemplates { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<ShiftTemplate> |
SolverConfig
Optional. Parameters for the solver.
Declaration
[JsonProperty("solverConfig")]
public virtual SolverConfig SolverConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| SolverConfig |
WorkforceDemands
Required. All the workforce demands that the generated shifts need to cover. The planning horizon is defined between the earliest start time and the latest end time across all the entries. This field cannot be empty.
Declaration
[JsonProperty("workforceDemands")]
public virtual WorkforceDemandList WorkforceDemands { get; set; }
Property Value
| Type | Description |
|---|---|
| WorkforceDemandList |