MicrosoftGraphShiftItem Class   
	- java.
lang. Object  - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphScheduleEntity  - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphShiftItem  
- com.
 
- com.
 
public class MicrosoftGraphShiftItem
 extends MicrosoftGraphScheduleEntity
shiftItem.
Constructor Summary
| Constructor | Description | 
|---|---|
| MicrosoftGraphShiftItem() | 
								 Creates an instance of Microsoft  | 
					
Method Summary
| Modifier and Type | Method and Description | 
|---|---|
| 
									List<Microsoft | 
						
							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 additional  | 
					
| String | 
							displayName()
								 Get the display  | 
					
| 
								static
									Microsoft | 
						
							fromJson(JsonReader jsonReader)
								 Reads an instance of Microsoft  | 
					
| String | 
							notes()
								 Get the notes property: The shift notes for the shift  | 
					
| 
									Json | 
						toJson(JsonWriter jsonWriter) | 
| void | 
							validate()
								 Validates the instance.  | 
					
| 
									Microsoft | 
						
							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.  | 
					
| 
									Microsoft | 
						
							withAdditionalProperties(Map<String,Object> additionalProperties)
								 Set the additional  | 
					
| 
									Microsoft | 
						
							withDisplayName(String displayName)
								 Set the display  | 
					
| 
									Microsoft | 
						
							withEndDateTime(OffsetDateTime endDateTime)
								 Set the end  | 
					
| 
									Microsoft | 
						
							withNotes(String notes)
								 Set the notes property: The shift notes for the shift  | 
					
| 
									Microsoft | 
						
							withStartDateTime(OffsetDateTime startDateTime)
								 Set the start  | 
					
| 
									Microsoft | 
						
							withTheme(MicrosoftGraphScheduleEntityTheme theme)
								 Set the theme property: schedule  | 
					
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<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. For example, an assignment or a scheduled break or lunch. Required.
Returns:
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: shiftItem.
Overrides:
MicrosoftGraphShiftItem.additionalProperties()Returns:
displayName
public String displayName()
Get the displayName property: The shift label of the shiftItem.
Returns:
fromJson
public static MicrosoftGraphShiftItem fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphShiftItem from the JsonReader.
Parameters:
Returns:
Throws:
notes
public String notes()
Get the notes property: The shift notes for the shiftItem.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphShiftItem.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphShiftItem.validate()withActivities
public 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. For example, an assignment or a scheduled break or lunch. Required.
Parameters:
Returns:
withAdditionalProperties
public MicrosoftGraphShiftItem withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: shiftItem.
Overrides:
MicrosoftGraphShiftItem.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withDisplayName
public MicrosoftGraphShiftItem withDisplayName(String displayName)
Set the displayName property: The shift label of the shiftItem.
Parameters:
Returns:
withEndDateTime
public MicrosoftGraphShiftItem withEndDateTime(OffsetDateTime endDateTime)
Set the endDateTime property: The endDateTime property.
Overrides:
MicrosoftGraphShiftItem.withEndDateTime(OffsetDateTime endDateTime)Parameters:
withNotes
public MicrosoftGraphShiftItem withNotes(String notes)
Set the notes property: The shift notes for the shiftItem.
Parameters:
Returns:
withStartDateTime
public MicrosoftGraphShiftItem withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: The startDateTime property.
Overrides:
MicrosoftGraphShiftItem.withStartDateTime(OffsetDateTime startDateTime)Parameters:
withTheme
public MicrosoftGraphShiftItem withTheme(MicrosoftGraphScheduleEntityTheme theme)
Set the theme property: scheduleEntityTheme.
Overrides:
MicrosoftGraphShiftItem.withTheme(MicrosoftGraphScheduleEntityTheme theme)Parameters: