Class MicrosoftGraphScheduleEntity
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphScheduleEntity
-
- Direct Known Subclasses:
MicrosoftGraphShiftItem,MicrosoftGraphTimeOffItem
public class MicrosoftGraphScheduleEntity extends Object
scheduleEntity.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphScheduleEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: scheduleEntity.OffsetDateTimeendDateTime()Get the endDateTime property: The endDateTime property.OffsetDateTimestartDateTime()Get the startDateTime property: The startDateTime property.MicrosoftGraphScheduleEntityThemetheme()Get the theme property: The theme property.voidvalidate()Validates the instance.MicrosoftGraphScheduleEntitywithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: scheduleEntity.MicrosoftGraphScheduleEntitywithEndDateTime(OffsetDateTime endDateTime)Set the endDateTime property: The endDateTime property.MicrosoftGraphScheduleEntitywithStartDateTime(OffsetDateTime startDateTime)Set the startDateTime property: The startDateTime property.MicrosoftGraphScheduleEntitywithTheme(MicrosoftGraphScheduleEntityTheme theme)Set the theme property: The theme property.
-
-
-
Method Detail
-
endDateTime
public OffsetDateTime endDateTime()
Get the endDateTime property: The endDateTime property.- Returns:
- the endDateTime value.
-
withEndDateTime
public MicrosoftGraphScheduleEntity withEndDateTime(OffsetDateTime endDateTime)
Set the endDateTime property: The endDateTime property.- Parameters:
endDateTime- the endDateTime value to set.- Returns:
- the MicrosoftGraphScheduleEntity object itself.
-
startDateTime
public OffsetDateTime startDateTime()
Get the startDateTime property: The startDateTime property.- Returns:
- the startDateTime value.
-
withStartDateTime
public MicrosoftGraphScheduleEntity withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: The startDateTime property.- Parameters:
startDateTime- the startDateTime value to set.- Returns:
- the MicrosoftGraphScheduleEntity object itself.
-
theme
public MicrosoftGraphScheduleEntityTheme theme()
Get the theme property: The theme property.- Returns:
- the theme value.
-
withTheme
public MicrosoftGraphScheduleEntity withTheme(MicrosoftGraphScheduleEntityTheme theme)
Set the theme property: The theme property.- Parameters:
theme- the theme value to set.- Returns:
- the MicrosoftGraphScheduleEntity object itself.
-
additionalProperties
public Map<String,Object> 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.
-
-