Class MicrosoftGraphScheduleEntity
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphScheduleEntity
- Direct Known Subclasses:
MicrosoftGraphShiftItem,MicrosoftGraphTimeOffItem
scheduleEntity.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphScheduleEntity class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: scheduleEntity.Get the endDateTime property: The endDateTime property.Get the startDateTime property: The startDateTime property.theme()Get the theme property: scheduleEntityTheme.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: scheduleEntity.withEndDateTime(OffsetDateTime endDateTime) Set the endDateTime property: The endDateTime property.withStartDateTime(OffsetDateTime startDateTime) Set the startDateTime property: The startDateTime property.Set the theme property: scheduleEntityTheme.
-
Constructor Details
-
MicrosoftGraphScheduleEntity
public MicrosoftGraphScheduleEntity()Creates an instance of MicrosoftGraphScheduleEntity class.
-
-
Method Details
-
endDateTime
Get the endDateTime property: The endDateTime property.- Returns:
- the endDateTime value.
-
withEndDateTime
Set the endDateTime property: The endDateTime property.- Parameters:
endDateTime- the endDateTime value to set.- Returns:
- the MicrosoftGraphScheduleEntity object itself.
-
startDateTime
Get the startDateTime property: The startDateTime property.- Returns:
- the startDateTime value.
-
withStartDateTime
Set the startDateTime property: The startDateTime property.- Parameters:
startDateTime- the startDateTime value to set.- Returns:
- the MicrosoftGraphScheduleEntity object itself.
-
theme
Get the theme property: scheduleEntityTheme.- Returns:
- the theme value.
-
withTheme
Set the theme property: scheduleEntityTheme.- Parameters:
theme- the theme value to set.- Returns:
- the MicrosoftGraphScheduleEntity object itself.
-
additionalProperties
Get the additionalProperties property: scheduleEntity.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphScheduleEntity withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: scheduleEntity.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphScheduleEntity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-