MicrosoftGraphShiftItem Class

public class MicrosoftGraphShiftItem
extends MicrosoftGraphScheduleEntity

shiftItem.

Constructor Summary

Constructor Description
MicrosoftGraphShiftItem()

Creates an instance of MicrosoftGraphShiftItem class.

Method Summary

Modifier and Type Method and Description
List<MicrosoftGraphShiftActivity> activities()

Get the activities property: An incremental part of a shift which can cover details of when and where an employee is during their shift.

Map<String,Object> additionalProperties()

Get the additionalProperties property: shiftItem.

String displayName()

Get the displayName property: The shift label of the shiftItem.

String notes()

Get the notes property: The shift notes for the shiftItem.

void validate()

Validates the instance.

MicrosoftGraphShiftItem withActivities(List<MicrosoftGraphShiftActivity> activities)

Set the activities property: An incremental part of a shift which can cover details of when and where an employee is during their shift.

MicrosoftGraphShiftItem withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: shiftItem.

MicrosoftGraphShiftItem withDisplayName(String displayName)

Set the displayName property: The shift label of the shiftItem.

MicrosoftGraphShiftItem withEndDateTime(OffsetDateTime endDateTime)

Set the endDateTime property: The endDateTime property.

MicrosoftGraphShiftItem withNotes(String notes)

Set the notes property: The shift notes for the shiftItem.

MicrosoftGraphShiftItem withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: The startDateTime property.

MicrosoftGraphShiftItem withTheme(MicrosoftGraphScheduleEntityTheme theme)

Set the theme property: scheduleEntityTheme.

Methods inherited from MicrosoftGraphScheduleEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphShiftItem

public MicrosoftGraphShiftItem()

Creates an instance of MicrosoftGraphShiftItem class.

Method Details

activities

public List activities()

Get the activities property: An incremental part of a shift which can cover details of when and where an employee is during their shift. For example, an assignment or a scheduled break or lunch. Required.

Returns:

the activities value.

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: shiftItem.

Overrides:

MicrosoftGraphShiftItem.additionalProperties()

Returns:

the additionalProperties value.

displayName

public String displayName()

Get the displayName property: The shift label of the shiftItem.

Returns:

the displayName value.

notes

public String notes()

Get the notes property: The shift notes for the shiftItem.

Returns:

the notes value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphShiftItem.validate()

withActivities

public MicrosoftGraphShiftItem withActivities(List activities)

Set the activities property: An incremental part of a shift which can cover details of when and where an employee is during their shift. For example, an assignment or a scheduled break or lunch. Required.

Parameters:

activities - the activities value to set.

Returns:

the MicrosoftGraphShiftItem object itself.

withAdditionalProperties

public MicrosoftGraphShiftItem withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: shiftItem.

Overrides:

MicrosoftGraphShiftItem.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphShiftItem object itself.

withDisplayName

public MicrosoftGraphShiftItem withDisplayName(String displayName)

Set the displayName property: The shift label of the shiftItem.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphShiftItem object itself.

withEndDateTime

public MicrosoftGraphShiftItem withEndDateTime(OffsetDateTime endDateTime)

Set the endDateTime property: The endDateTime property.

Overrides:

MicrosoftGraphShiftItem.withEndDateTime(OffsetDateTime endDateTime)

Parameters:

endDateTime

withNotes

public MicrosoftGraphShiftItem withNotes(String notes)

Set the notes property: The shift notes for the shiftItem.

Parameters:

notes - the notes value to set.

Returns:

the MicrosoftGraphShiftItem object itself.

withStartDateTime

public MicrosoftGraphShiftItem withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: The startDateTime property.

Overrides:

MicrosoftGraphShiftItem.withStartDateTime(OffsetDateTime startDateTime)

Parameters:

startDateTime

withTheme

public MicrosoftGraphShiftItem withTheme(MicrosoftGraphScheduleEntityTheme theme)

Set the theme property: scheduleEntityTheme.

Overrides:

MicrosoftGraphShiftItem.withTheme(MicrosoftGraphScheduleEntityTheme theme)

Parameters:

theme

Applies to