MicrosoftGraphScheduleInformation Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphScheduleInformation
- com.
Implements
public final class MicrosoftGraphScheduleInformation
implements JsonSerializable<MicrosoftGraphScheduleInformation>
Represents a schedule information.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphScheduleInformation() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
| String |
availabilityView()
Get the availability |
|
Microsoft |
error()
Get the error property: free |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
| String |
scheduleId()
Get the schedule |
|
List<Microsoft |
scheduleItems()
Get the schedule |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withAvailabilityView(String availabilityView)
Set the availability |
|
Microsoft |
withError(MicrosoftGraphFreeBusyError error)
Set the error property: free |
|
Microsoft |
withScheduleId(String scheduleId)
Set the schedule |
|
Microsoft |
withScheduleItems(List<MicrosoftGraphScheduleItem> scheduleItems)
Set the schedule |
|
Microsoft |
withWorkingHours(MicrosoftGraphWorkingHours workingHours)
Set the working |
|
Microsoft |
workingHours()
Get the working |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphScheduleInformation
public MicrosoftGraphScheduleInformation()
Creates an instance of MicrosoftGraphScheduleInformation class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: scheduleInformation.
Returns:
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:
error
public MicrosoftGraphFreeBusyError error()
Get the error property: freeBusyError.
Returns:
fromJson
public static MicrosoftGraphScheduleInformation fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphScheduleInformation from the JsonReader.
Parameters:
Returns:
Throws:
scheduleId
public String scheduleId()
Get the scheduleId property: An SMTP address of the user, distribution list, or resource, identifying an instance of scheduleInformation.
Returns:
scheduleItems
public List<MicrosoftGraphScheduleItem> scheduleItems()
Get the scheduleItems property: Contains the items that describe the availability of the user or resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphScheduleInformation withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: scheduleInformation.
Parameters:
Returns:
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:
Returns:
withError
public MicrosoftGraphScheduleInformation withError(MicrosoftGraphFreeBusyError error)
Set the error property: freeBusyError.
Parameters:
Returns:
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:
Returns:
withScheduleItems
public MicrosoftGraphScheduleInformation withScheduleItems(List<MicrosoftGraphScheduleItem> scheduleItems)
Set the scheduleItems property: Contains the items that describe the availability of the user or resource.
Parameters:
Returns:
withWorkingHours
public MicrosoftGraphScheduleInformation withWorkingHours(MicrosoftGraphWorkingHours workingHours)
Set the workingHours property: workingHours.
Parameters:
Returns:
workingHours
public MicrosoftGraphWorkingHours workingHours()
Get the workingHours property: workingHours.
Returns: