MicrosoftGraphOpenShiftItem Class    
	- java.
lang. Object  - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphScheduleEntity  - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphShiftItem  - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOpenShiftItem  
- com.
 
- com.
 
- com.
 
public final class MicrosoftGraphOpenShiftItem
 extends MicrosoftGraphShiftItem
openShiftItem.
Constructor Summary
| Constructor | Description | 
|---|---|
| MicrosoftGraphOpenShiftItem() | 
								 Creates an instance of Microsoft  | 
					
Method Summary
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,Object> | 
							additionalProperties()
								 Get the additional  | 
					
| 
								static
									Microsoft | 
						
							fromJson(JsonReader jsonReader)
								 Reads an instance of Microsoft  | 
					
| Integer | 
							openSlotCount()
								 Get the open  | 
					
| 
									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 | 
						
							withOpenSlotCount(Integer openSlotCount)
								 Set the open  | 
					
| 
									Microsoft | 
						
							withStartDateTime(OffsetDateTime startDateTime)
								 Set the start  | 
					
| 
									Microsoft | 
						
							withTheme(MicrosoftGraphScheduleEntityTheme theme)
								 Set the theme property: schedule  | 
					
Methods inherited from MicrosoftGraphScheduleEntity
Methods inherited from MicrosoftGraphShiftItem
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphOpenShiftItem
public MicrosoftGraphOpenShiftItem()
Creates an instance of MicrosoftGraphOpenShiftItem class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: openShiftItem.
Overrides:
MicrosoftGraphOpenShiftItem.additionalProperties()Returns:
fromJson
public static MicrosoftGraphOpenShiftItem fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphOpenShiftItem from the JsonReader.
Parameters:
Returns:
Throws:
openSlotCount
public Integer openSlotCount()
Get the openSlotCount property: Count of the number of slots for the given open shift.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphOpenShiftItem.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphOpenShiftItem.validate()withActivities
public MicrosoftGraphOpenShiftItem 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.
Overrides:
MicrosoftGraphOpenShiftItem.withActivities(List<MicrosoftGraphShiftActivity> activities)Parameters:
withAdditionalProperties
public MicrosoftGraphOpenShiftItem withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: openShiftItem.
Overrides:
MicrosoftGraphOpenShiftItem.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withDisplayName
public MicrosoftGraphOpenShiftItem withDisplayName(String displayName)
Set the displayName property: The shift label of the shiftItem.
Overrides:
MicrosoftGraphOpenShiftItem.withDisplayName(String displayName)Parameters:
withEndDateTime
public MicrosoftGraphOpenShiftItem withEndDateTime(OffsetDateTime endDateTime)
Set the endDateTime property: The endDateTime property.
Overrides:
MicrosoftGraphOpenShiftItem.withEndDateTime(OffsetDateTime endDateTime)Parameters:
withNotes
public MicrosoftGraphOpenShiftItem withNotes(String notes)
Set the notes property: The shift notes for the shiftItem.
Overrides:
MicrosoftGraphOpenShiftItem.withNotes(String notes)Parameters:
withOpenSlotCount
public MicrosoftGraphOpenShiftItem withOpenSlotCount(Integer openSlotCount)
Set the openSlotCount property: Count of the number of slots for the given open shift.
Parameters:
Returns:
withStartDateTime
public MicrosoftGraphOpenShiftItem withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: The startDateTime property.
Overrides:
MicrosoftGraphOpenShiftItem.withStartDateTime(OffsetDateTime startDateTime)Parameters:
withTheme
public MicrosoftGraphOpenShiftItem withTheme(MicrosoftGraphScheduleEntityTheme theme)
Set the theme property: scheduleEntityTheme.
Overrides:
MicrosoftGraphOpenShiftItem.withTheme(MicrosoftGraphScheduleEntityTheme theme)Parameters: