Class MicrosoftGraphWorkingHours
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkingHours
-
public final class MicrosoftGraphWorkingHours extends Object
workingHours.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphWorkingHours()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: workingHours.List<MicrosoftGraphDayOfWeek>
daysOfWeek()
Get the daysOfWeek property: The days of the week on which the user works.String
endTime()
Get the endTime property: The time of the day that the user stops working.String
startTime()
Get the startTime property: The time of the day that the user starts working.MicrosoftGraphTimeZoneBase
timeZone()
Get the timeZone property: timeZoneBase.void
validate()
Validates the instance.MicrosoftGraphWorkingHours
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: workingHours.MicrosoftGraphWorkingHours
withDaysOfWeek(List<MicrosoftGraphDayOfWeek> daysOfWeek)
Set the daysOfWeek property: The days of the week on which the user works.MicrosoftGraphWorkingHours
withEndTime(String endTime)
Set the endTime property: The time of the day that the user stops working.MicrosoftGraphWorkingHours
withStartTime(String startTime)
Set the startTime property: The time of the day that the user starts working.MicrosoftGraphWorkingHours
withTimeZone(MicrosoftGraphTimeZoneBase timeZone)
Set the timeZone property: timeZoneBase.
-
-
-
Method Detail
-
daysOfWeek
public List<MicrosoftGraphDayOfWeek> daysOfWeek()
Get the daysOfWeek property: The days of the week on which the user works.- Returns:
- the daysOfWeek value.
-
withDaysOfWeek
public MicrosoftGraphWorkingHours withDaysOfWeek(List<MicrosoftGraphDayOfWeek> daysOfWeek)
Set the daysOfWeek property: The days of the week on which the user works.- Parameters:
daysOfWeek
- the daysOfWeek value to set.- Returns:
- the MicrosoftGraphWorkingHours object itself.
-
endTime
public String endTime()
Get the endTime property: The time of the day that the user stops working.- Returns:
- the endTime value.
-
withEndTime
public MicrosoftGraphWorkingHours withEndTime(String endTime)
Set the endTime property: The time of the day that the user stops working.- Parameters:
endTime
- the endTime value to set.- Returns:
- the MicrosoftGraphWorkingHours object itself.
-
startTime
public String startTime()
Get the startTime property: The time of the day that the user starts working.- Returns:
- the startTime value.
-
withStartTime
public MicrosoftGraphWorkingHours withStartTime(String startTime)
Set the startTime property: The time of the day that the user starts working.- Parameters:
startTime
- the startTime value to set.- Returns:
- the MicrosoftGraphWorkingHours object itself.
-
timeZone
public MicrosoftGraphTimeZoneBase timeZone()
Get the timeZone property: timeZoneBase.- Returns:
- the timeZone value.
-
withTimeZone
public MicrosoftGraphWorkingHours withTimeZone(MicrosoftGraphTimeZoneBase timeZone)
Set the timeZone property: timeZoneBase.- Parameters:
timeZone
- the timeZone value to set.- Returns:
- the MicrosoftGraphWorkingHours object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: workingHours.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphWorkingHours withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: workingHours.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphWorkingHours object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-