Partilhar via


MicrosoftGraphWorkingHours Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkingHours

Implements

public final class MicrosoftGraphWorkingHours
implements JsonSerializable<MicrosoftGraphWorkingHours>

workingHours.

Constructor Summary

Constructor Description
MicrosoftGraphWorkingHours()

Creates an instance of MicrosoftGraphWorkingHours class.

Method Summary

Modifier and Type Method and 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.

static MicrosoftGraphWorkingHours fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkingHours from the JsonReader.

String startTime()

Get the startTime property: The time of the day that the user starts working.

MicrosoftGraphTimeZoneBase timeZone()

Get the timeZone property: timeZoneBase.

JsonWriter toJson(JsonWriter jsonWriter)
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.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkingHours

public MicrosoftGraphWorkingHours()

Creates an instance of MicrosoftGraphWorkingHours class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workingHours.

Returns:

the additionalProperties value.

daysOfWeek

public List daysOfWeek()

Get the daysOfWeek property: The days of the week on which the user works.

Returns:

the daysOfWeek value.

endTime

public String endTime()

Get the endTime property: The time of the day that the user stops working.

Returns:

the endTime value.

fromJson

public static MicrosoftGraphWorkingHours fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkingHours from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphWorkingHours if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphWorkingHours.

startTime

public String startTime()

Get the startTime property: The time of the day that the user starts working.

Returns:

the startTime value.

timeZone

public MicrosoftGraphTimeZoneBase timeZone()

Get the timeZone property: timeZoneBase.

Returns:

the timeZone value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphWorkingHours withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workingHours.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkingHours object itself.

withDaysOfWeek

public MicrosoftGraphWorkingHours withDaysOfWeek(List 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.

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.

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.

withTimeZone

public MicrosoftGraphWorkingHours withTimeZone(MicrosoftGraphTimeZoneBase timeZone)

Set the timeZone property: timeZoneBase.

Parameters:

timeZone - the timeZone value to set.

Returns:

the MicrosoftGraphWorkingHours object itself.

Applies to