Class MicrosoftGraphScheduleInformation
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphScheduleInformation
-
public final class MicrosoftGraphScheduleInformation extends Object
scheduleInformation.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphScheduleInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.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.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.
-
-
-
Method Detail
-
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.
-
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.
-
error
public MicrosoftGraphFreeBusyError error()
Get the error property: freeBusyError.- Returns:
- the error value.
-
withError
public MicrosoftGraphScheduleInformation withError(MicrosoftGraphFreeBusyError error)
Set the error property: freeBusyError.- Parameters:
error
- the error value to set.- Returns:
- the MicrosoftGraphScheduleInformation object itself.
-
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.
-
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.
-
scheduleItems
public List<MicrosoftGraphScheduleItem> 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
public MicrosoftGraphWorkingHours workingHours()
Get the workingHours property: workingHours.- Returns:
- the workingHours value.
-
withWorkingHours
public MicrosoftGraphScheduleInformation withWorkingHours(MicrosoftGraphWorkingHours workingHours)
Set the workingHours property: workingHours.- Parameters:
workingHours
- the workingHours value to set.- Returns:
- the MicrosoftGraphScheduleInformation object itself.
-
additionalProperties
public Map<String,Object> 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.
-
-