FixedShiftElement
A fixed type of shift, can contain one of the FixedShiftType types
type FixedShiftElement implements ShiftElement {
assignee: Employee
backgroundColor: String!
description: String
endsAt: DateTime!
fontColor: String!
id: ShiftElementID!
label: String!
notes: String
startsAt: DateTime!
}
Fields
FixedShiftElement.assignee ● Employee object
The employee this element is assigned to. (Optional) Not available on unassigned tour shifts.
FixedShiftElement.backgroundColor ● String! non-null scalar
Background color when visualizing the element in the shift plan (as a hexadecimal number)
FixedShiftElement.description ● String scalar
Additional short description of the shift
FixedShiftElement.endsAt ● DateTime! non-null scalar
The time this shift element ends.
FixedShiftElement.fontColor ● String! non-null scalar
Font color when visualizing the element in the shift plan (as a hexadecimal number)
FixedShiftElement.id ● ShiftElementID! non-null scalar
Unique identifier
FixedShiftElement.label ● String! non-null scalar
Short label for the shift
FixedShiftElement.notes ● String scalar
Notes regarding the shift, up to 500 characters
FixedShiftElement.startsAt ● DateTime! non-null scalar
The time this shift element starts.
Interfaces
ShiftElement interface
A single element as a part of the employee's shift
Returned By
addFixedShift mutation