MicrosoftGraphWorkingHours Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphWorkingHours
- com.
Implements
public final class MicrosoftGraphWorkingHours
implements JsonSerializable<MicrosoftGraphWorkingHours>
Represents a working hours.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphWorkingHours() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
|
List<Microsoft |
daysOfWeek()
Get the days |
| String |
endTime()
Get the end |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
| String |
startTime()
Get the start |
|
Microsoft |
timeZone()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withDaysOfWeek(List<MicrosoftGraphDayOfWeek> daysOfWeek)
Set the days |
|
Microsoft |
withEndTime(String endTime)
Set the end |
|
Microsoft |
withStartTime(String startTime)
Set the start |
|
Microsoft |
withTimeZone(MicrosoftGraphTimeZoneBase timeZone)
Set the time |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphWorkingHours
public MicrosoftGraphWorkingHours()
Creates an instance of MicrosoftGraphWorkingHours class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: workingHours.
Returns:
daysOfWeek
public List<MicrosoftGraphDayOfWeek> daysOfWeek()
Get the daysOfWeek property: The days of the week on which the user works.
Returns:
endTime
public String endTime()
Get the endTime property: The time of the day that the user stops working.
Returns:
fromJson
public static MicrosoftGraphWorkingHours fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphWorkingHours from the JsonReader.
Parameters:
Returns:
Throws:
startTime
public String startTime()
Get the startTime property: The time of the day that the user starts working.
Returns:
timeZone
public MicrosoftGraphTimeZoneBase timeZone()
Get the timeZone property: timeZoneBase.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphWorkingHours withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: workingHours.
Parameters:
Returns:
withDaysOfWeek
public MicrosoftGraphWorkingHours withDaysOfWeek(List<MicrosoftGraphDayOfWeek> daysOfWeek)
Set the daysOfWeek property: The days of the week on which the user works.
Parameters:
Returns:
withEndTime
public MicrosoftGraphWorkingHours withEndTime(String endTime)
Set the endTime property: The time of the day that the user stops working.
Parameters:
Returns:
withStartTime
public MicrosoftGraphWorkingHours withStartTime(String startTime)
Set the startTime property: The time of the day that the user starts working.
Parameters:
Returns:
withTimeZone
public MicrosoftGraphWorkingHours withTimeZone(MicrosoftGraphTimeZoneBase timeZone)
Set the timeZone property: timeZoneBase.
Parameters:
Returns: