你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphScheduleInformation Class

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

Implements

public final class MicrosoftGraphScheduleInformation
implements JsonSerializable<MicrosoftGraphScheduleInformation>

scheduleInformation.

Constructor Summary

Constructor Description
MicrosoftGraphScheduleInformation()

Creates an instance of MicrosoftGraphScheduleInformation class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: scheduleInformation.

String availabilityView()

Get the availabilityView property: Represents a merged view of availability of all the items in scheduleItems.

MicrosoftGraphFreeBusyError error()

Get the error property: freeBusyError.

static MicrosoftGraphScheduleInformation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphScheduleInformation from the JsonReader.

String scheduleId()

Get the scheduleId property: An SMTP address of the user, distribution list, or resource, identifying an instance of scheduleInformation.

List<MicrosoftGraphScheduleItem> scheduleItems()

Get the scheduleItems property: Contains the items that describe the availability of the user or resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphScheduleInformation withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: scheduleInformation.

MicrosoftGraphScheduleInformation withAvailabilityView(String availabilityView)

Set the availabilityView property: Represents a merged view of availability of all the items in scheduleItems.

MicrosoftGraphScheduleInformation withError(MicrosoftGraphFreeBusyError error)

Set the error property: freeBusyError.

MicrosoftGraphScheduleInformation withScheduleId(String scheduleId)

Set the scheduleId property: An SMTP address of the user, distribution list, or resource, identifying an instance of scheduleInformation.

MicrosoftGraphScheduleInformation withScheduleItems(List<MicrosoftGraphScheduleItem> scheduleItems)

Set the scheduleItems property: Contains the items that describe the availability of the user or resource.

MicrosoftGraphScheduleInformation withWorkingHours(MicrosoftGraphWorkingHours workingHours)

Set the workingHours property: workingHours.

MicrosoftGraphWorkingHours workingHours()

Get the workingHours property: workingHours.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphScheduleInformation

public MicrosoftGraphScheduleInformation()

Creates an instance of MicrosoftGraphScheduleInformation class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: scheduleInformation.

Returns:

the additionalProperties value.

availabilityView

public String availabilityView()

Get the availabilityView property: Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free, 1= tentative, 2= busy, 3= out of office, 4= working elsewhere.

Returns:

the availabilityView value.

error

public MicrosoftGraphFreeBusyError error()

Get the error property: freeBusyError.

Returns:

the error value.

fromJson

public static MicrosoftGraphScheduleInformation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphScheduleInformation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphScheduleInformation 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 MicrosoftGraphScheduleInformation.

scheduleId

public String scheduleId()

Get the scheduleId property: An SMTP address of the user, distribution list, or resource, identifying an instance of scheduleInformation.

Returns:

the scheduleId value.

scheduleItems

public List scheduleItems()

Get the scheduleItems property: Contains the items that describe the availability of the user or resource.

Returns:

the scheduleItems value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphScheduleInformation withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: scheduleInformation.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphScheduleInformation object itself.

withAvailabilityView

public MicrosoftGraphScheduleInformation withAvailabilityView(String availabilityView)

Set the availabilityView property: Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free, 1= tentative, 2= busy, 3= out of office, 4= working elsewhere.

Parameters:

availabilityView - the availabilityView value to set.

Returns:

the MicrosoftGraphScheduleInformation object itself.

withError

public MicrosoftGraphScheduleInformation withError(MicrosoftGraphFreeBusyError error)

Set the error property: freeBusyError.

Parameters:

error - the error value to set.

Returns:

the MicrosoftGraphScheduleInformation object itself.

withScheduleId

public MicrosoftGraphScheduleInformation withScheduleId(String scheduleId)

Set the scheduleId property: An SMTP address of the user, distribution list, or resource, identifying an instance of scheduleInformation.

Parameters:

scheduleId - the scheduleId value to set.

Returns:

the MicrosoftGraphScheduleInformation object itself.

withScheduleItems

public MicrosoftGraphScheduleInformation withScheduleItems(List scheduleItems)

Set the scheduleItems property: Contains the items that describe the availability of the user or resource.

Parameters:

scheduleItems - the scheduleItems value to set.

Returns:

the MicrosoftGraphScheduleInformation object itself.

withWorkingHours

public MicrosoftGraphScheduleInformation withWorkingHours(MicrosoftGraphWorkingHours workingHours)

Set the workingHours property: workingHours.

Parameters:

workingHours - the workingHours value to set.

Returns:

the MicrosoftGraphScheduleInformation object itself.

workingHours

public MicrosoftGraphWorkingHours workingHours()

Get the workingHours property: workingHours.

Returns:

the workingHours value.

Applies to