MicrosoftGraphTimeOffItem Class    
	- java.
lang. Object  - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphScheduleEntity  - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphTimeOffItem  
- com.
 
- com.
 
public final class MicrosoftGraphTimeOffItem
 extends MicrosoftGraphScheduleEntity
timeOffItem.
Constructor Summary
| Constructor | Description | 
|---|---|
| MicrosoftGraphTimeOffItem() | 
								 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  | 
					
| String | 
							timeOffReasonId()
								 Get the time  | 
					
| 
									Json | 
						toJson(JsonWriter jsonWriter) | 
| void | 
							validate()
								 Validates the instance.  | 
					
| 
									Microsoft | 
						
							withAdditionalProperties(Map<String,Object> additionalProperties)
								 Set the additional  | 
					
| 
									Microsoft | 
						
							withEndDateTime(OffsetDateTime endDateTime)
								 Set the end  | 
					
| 
									Microsoft | 
						
							withStartDateTime(OffsetDateTime startDateTime)
								 Set the start  | 
					
| 
									Microsoft | 
						
							withTheme(MicrosoftGraphScheduleEntityTheme theme)
								 Set the theme property: schedule  | 
					
| 
									Microsoft | 
						
							withTimeOffReasonId(String timeOffReasonId)
								 Set the time  | 
					
Methods inherited from MicrosoftGraphScheduleEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphTimeOffItem
public MicrosoftGraphTimeOffItem()
Creates an instance of MicrosoftGraphTimeOffItem class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: timeOffItem.
Overrides:
MicrosoftGraphTimeOffItem.additionalProperties()Returns:
fromJson
public static MicrosoftGraphTimeOffItem fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphTimeOffItem from the JsonReader.
Parameters:
Returns:
Throws:
timeOffReasonId
public String timeOffReasonId()
Get the timeOffReasonId property: ID of the timeOffReason for this timeOffItem. Required.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphTimeOffItem.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphTimeOffItem.validate()withAdditionalProperties
public MicrosoftGraphTimeOffItem withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: timeOffItem.
Overrides:
MicrosoftGraphTimeOffItem.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withEndDateTime
public MicrosoftGraphTimeOffItem withEndDateTime(OffsetDateTime endDateTime)
Set the endDateTime property: The endDateTime property.
Overrides:
MicrosoftGraphTimeOffItem.withEndDateTime(OffsetDateTime endDateTime)Parameters:
withStartDateTime
public MicrosoftGraphTimeOffItem withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: The startDateTime property.
Overrides:
MicrosoftGraphTimeOffItem.withStartDateTime(OffsetDateTime startDateTime)Parameters:
withTheme
public MicrosoftGraphTimeOffItem withTheme(MicrosoftGraphScheduleEntityTheme theme)
Set the theme property: scheduleEntityTheme.
Overrides:
MicrosoftGraphTimeOffItem.withTheme(MicrosoftGraphScheduleEntityTheme theme)Parameters:
withTimeOffReasonId
public MicrosoftGraphTimeOffItem withTimeOffReasonId(String timeOffReasonId)
Set the timeOffReasonId property: ID of the timeOffReason for this timeOffItem. Required.
Parameters:
Returns: