Class MicrosoftGraphScheduleInformation
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphScheduleInformation
scheduleInformation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphScheduleInformation class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: scheduleInformation.Get the availabilityView property: Represents a merged view of availability of all the items in scheduleItems.error()Get the error property: freeBusyError.Get the scheduleId property: An SMTP address of the user, distribution list, or resource, identifying an instance of scheduleInformation.Get the scheduleItems property: Contains the items that describe the availability of the user or resource.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: scheduleInformation.withAvailabilityView(String availabilityView) Set the availabilityView property: Represents a merged view of availability of all the items in scheduleItems.Set the error property: freeBusyError.withScheduleId(String scheduleId) Set the scheduleId property: An SMTP address of the user, distribution list, or resource, identifying an instance of scheduleInformation.withScheduleItems(List<MicrosoftGraphScheduleItem> scheduleItems) Set the scheduleItems property: Contains the items that describe the availability of the user or resource.withWorkingHours(MicrosoftGraphWorkingHours workingHours) Set the workingHours property: workingHours.Get the workingHours property: workingHours.
-
Constructor Details
-
MicrosoftGraphScheduleInformation
public MicrosoftGraphScheduleInformation()Creates an instance of MicrosoftGraphScheduleInformation class.
-
-
Method Details
-
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.
-
withAvailabilityView
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.
-
error
Get the error property: freeBusyError.- Returns:
- the error value.
-
withError
Set the error property: freeBusyError.- Parameters:
error- the error value to set.- Returns:
- the MicrosoftGraphScheduleInformation object itself.
-
scheduleId
Get the scheduleId property: An SMTP address of the user, distribution list, or resource, identifying an instance of scheduleInformation.- Returns:
- the scheduleId value.
-
withScheduleId
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.
-
scheduleItems
Get the scheduleItems property: Contains the items that describe the availability of the user or resource.- Returns:
- the scheduleItems value.
-
withScheduleItems
public MicrosoftGraphScheduleInformation withScheduleItems(List<MicrosoftGraphScheduleItem> 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.
-
workingHours
Get the workingHours property: workingHours.- Returns:
- the workingHours value.
-
withWorkingHours
Set the workingHours property: workingHours.- Parameters:
workingHours- the workingHours value to set.- Returns:
- the MicrosoftGraphScheduleInformation object itself.
-
additionalProperties
Get the additionalProperties property: scheduleInformation.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphScheduleInformation withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: scheduleInformation.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphScheduleInformation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-