MicrosoftGraphSchedule Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphSchedule
- com.
- com.
public final class MicrosoftGraphSchedule
extends MicrosoftGraphEntity
schedule.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphSchedule() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Boolean |
enabled()
Get the enabled property: Indicates whether the schedule is enabled for the team. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
List<Microsoft |
offerShiftRequests()
Get the offer |
Boolean |
offerShiftRequestsEnabled()
Get the offer |
List<Microsoft |
openShiftChangeRequests()
Get the open |
List<Microsoft |
openShifts()
Get the open |
Boolean |
openShiftsEnabled()
Get the open |
Microsoft |
provisionStatus()
Get the provision |
String |
provisionStatusCode()
Get the provision |
List<Microsoft |
schedulingGroups()
Get the scheduling |
List<Microsoft |
shifts()
Get the shifts property: The shifts in the schedule. |
List<Microsoft |
swapShiftsChangeRequests()
Get the swap |
Boolean |
swapShiftsRequestsEnabled()
Get the swap |
Boolean |
timeClockEnabled()
Get the time |
List<Microsoft |
timeOffReasons()
Get the time |
List<Microsoft |
timeOffRequests()
Get the time |
Boolean |
timeOffRequestsEnabled()
Get the time |
String |
timeZone()
Get the time |
List<Microsoft |
timesOff()
Get the times |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withEnabled(Boolean enabled)
Set the enabled property: Indicates whether the schedule is enabled for the team. |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withOfferShiftRequests(List<MicrosoftGraphOfferShiftRequest> offerShiftRequests)
Set the offer |
Microsoft |
withOfferShiftRequestsEnabled(Boolean offerShiftRequestsEnabled)
Set the offer |
Microsoft |
withOpenShiftChangeRequests(List<MicrosoftGraphOpenShiftChangeRequest> openShiftChangeRequests)
Set the open |
Microsoft |
withOpenShifts(List<MicrosoftGraphOpenShift> openShifts)
Set the open |
Microsoft |
withOpenShiftsEnabled(Boolean openShiftsEnabled)
Set the open |
Microsoft |
withProvisionStatus(MicrosoftGraphOperationStatus provisionStatus)
Set the provision |
Microsoft |
withProvisionStatusCode(String provisionStatusCode)
Set the provision |
Microsoft |
withSchedulingGroups(List<MicrosoftGraphSchedulingGroup> schedulingGroups)
Set the scheduling |
Microsoft |
withShifts(List<MicrosoftGraphShift> shifts)
Set the shifts property: The shifts in the schedule. |
Microsoft |
withSwapShiftsChangeRequests(List<MicrosoftGraphSwapShiftsChangeRequest> swapShiftsChangeRequests)
Set the swap |
Microsoft |
withSwapShiftsRequestsEnabled(Boolean swapShiftsRequestsEnabled)
Set the swap |
Microsoft |
withTimeClockEnabled(Boolean timeClockEnabled)
Set the time |
Microsoft |
withTimeOffReasons(List<MicrosoftGraphTimeOffReason> timeOffReasons)
Set the time |
Microsoft |
withTimeOffRequests(List<MicrosoftGraphTimeOffRequest> timeOffRequests)
Set the time |
Microsoft |
withTimeOffRequestsEnabled(Boolean timeOffRequestsEnabled)
Set the time |
Microsoft |
withTimeZone(String timeZone)
Set the time |
Microsoft |
withTimesOff(List<MicrosoftGraphTimeOff> timesOff)
Set the times |
Microsoft |
withWorkforceIntegrationIds(List<String> workforceIntegrationIds)
Set the workforce |
List<String> |
workforceIntegrationIds()
Get the workforce |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphSchedule
public MicrosoftGraphSchedule()
Creates an instance of MicrosoftGraphSchedule class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: schedule.
Overrides:
MicrosoftGraphSchedule.additionalProperties()Returns:
enabled
public Boolean enabled()
Get the enabled property: Indicates whether the schedule is enabled for the team. Required.
Returns:
fromJson
public static MicrosoftGraphSchedule fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphSchedule from the JsonReader.
Parameters:
Returns:
Throws:
offerShiftRequests
public List
Get the offerShiftRequests property: The offerShiftRequests property.
Returns:
offerShiftRequestsEnabled
public Boolean offerShiftRequestsEnabled()
Get the offerShiftRequestsEnabled property: Indicates whether offer shift requests are enabled for the schedule.
Returns:
openShiftChangeRequests
public List
Get the openShiftChangeRequests property: The openShiftChangeRequests property.
Returns:
openShifts
public List
Get the openShifts property: The openShifts property.
Returns:
openShiftsEnabled
public Boolean openShiftsEnabled()
Get the openShiftsEnabled property: Indicates whether open shifts are enabled for the schedule.
Returns:
provisionStatus
public MicrosoftGraphOperationStatus provisionStatus()
Get the provisionStatus property: operationStatus.
Returns:
provisionStatusCode
public String provisionStatusCode()
Get the provisionStatusCode property: Additional information about why schedule provisioning failed.
Returns:
schedulingGroups
public List
Get the schedulingGroups property: The logical grouping of users in the schedule (usually by role).
Returns:
shifts
public List
Get the shifts property: The shifts in the schedule.
Returns:
swapShiftsChangeRequests
public List
Get the swapShiftsChangeRequests property: The swapShiftsChangeRequests property.
Returns:
swapShiftsRequestsEnabled
public Boolean swapShiftsRequestsEnabled()
Get the swapShiftsRequestsEnabled property: Indicates whether swap shifts requests are enabled for the schedule.
Returns:
timeClockEnabled
public Boolean timeClockEnabled()
Get the timeClockEnabled property: Indicates whether time clock is enabled for the schedule.
Returns:
timeOffReasons
public List
Get the timeOffReasons property: The set of reasons for a time off in the schedule.
Returns:
timeOffRequests
public List
Get the timeOffRequests property: The timeOffRequests property.
Returns:
timeOffRequestsEnabled
public Boolean timeOffRequestsEnabled()
Get the timeOffRequestsEnabled property: Indicates whether time off requests are enabled for the schedule.
Returns:
timeZone
public String timeZone()
Get the timeZone property: Indicates the time zone of the schedule team using tz database format. Required.
Returns:
timesOff
public List
Get the timesOff property: The instances of times off in the schedule.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphSchedule.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphSchedule.validate()withAdditionalProperties
public MicrosoftGraphSchedule withAdditionalProperties(Map
Set the additionalProperties property: schedule.
Overrides:
MicrosoftGraphSchedule.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withEnabled
public MicrosoftGraphSchedule withEnabled(Boolean enabled)
Set the enabled property: Indicates whether the schedule is enabled for the team. Required.
Parameters:
Returns:
withId
public MicrosoftGraphSchedule withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphSchedule.withId(String id)Parameters:
withOfferShiftRequests
public MicrosoftGraphSchedule withOfferShiftRequests(List
Set the offerShiftRequests property: The offerShiftRequests property.
Parameters:
Returns:
withOfferShiftRequestsEnabled
public MicrosoftGraphSchedule withOfferShiftRequestsEnabled(Boolean offerShiftRequestsEnabled)
Set the offerShiftRequestsEnabled property: Indicates whether offer shift requests are enabled for the schedule.
Parameters:
Returns:
withOpenShiftChangeRequests
public MicrosoftGraphSchedule withOpenShiftChangeRequests(List
Set the openShiftChangeRequests property: The openShiftChangeRequests property.
Parameters:
Returns:
withOpenShifts
public MicrosoftGraphSchedule withOpenShifts(List
Set the openShifts property: The openShifts property.
Parameters:
Returns:
withOpenShiftsEnabled
public MicrosoftGraphSchedule withOpenShiftsEnabled(Boolean openShiftsEnabled)
Set the openShiftsEnabled property: Indicates whether open shifts are enabled for the schedule.
Parameters:
Returns:
withProvisionStatus
public MicrosoftGraphSchedule withProvisionStatus(MicrosoftGraphOperationStatus provisionStatus)
Set the provisionStatus property: operationStatus.
Parameters:
Returns:
withProvisionStatusCode
public MicrosoftGraphSchedule withProvisionStatusCode(String provisionStatusCode)
Set the provisionStatusCode property: Additional information about why schedule provisioning failed.
Parameters:
Returns:
withSchedulingGroups
public MicrosoftGraphSchedule withSchedulingGroups(List
Set the schedulingGroups property: The logical grouping of users in the schedule (usually by role).
Parameters:
Returns:
withShifts
public MicrosoftGraphSchedule withShifts(List
Set the shifts property: The shifts in the schedule.
Parameters:
Returns:
withSwapShiftsChangeRequests
public MicrosoftGraphSchedule withSwapShiftsChangeRequests(List
Set the swapShiftsChangeRequests property: The swapShiftsChangeRequests property.
Parameters:
Returns:
withSwapShiftsRequestsEnabled
public MicrosoftGraphSchedule withSwapShiftsRequestsEnabled(Boolean swapShiftsRequestsEnabled)
Set the swapShiftsRequestsEnabled property: Indicates whether swap shifts requests are enabled for the schedule.
Parameters:
Returns:
withTimeClockEnabled
public MicrosoftGraphSchedule withTimeClockEnabled(Boolean timeClockEnabled)
Set the timeClockEnabled property: Indicates whether time clock is enabled for the schedule.
Parameters:
Returns:
withTimeOffReasons
public MicrosoftGraphSchedule withTimeOffReasons(List
Set the timeOffReasons property: The set of reasons for a time off in the schedule.
Parameters:
Returns:
withTimeOffRequests
public MicrosoftGraphSchedule withTimeOffRequests(List
Set the timeOffRequests property: The timeOffRequests property.
Parameters:
Returns:
withTimeOffRequestsEnabled
public MicrosoftGraphSchedule withTimeOffRequestsEnabled(Boolean timeOffRequestsEnabled)
Set the timeOffRequestsEnabled property: Indicates whether time off requests are enabled for the schedule.
Parameters:
Returns:
withTimeZone
public MicrosoftGraphSchedule withTimeZone(String timeZone)
Set the timeZone property: Indicates the time zone of the schedule team using tz database format. Required.
Parameters:
Returns:
withTimesOff
public MicrosoftGraphSchedule withTimesOff(List
Set the timesOff property: The instances of times off in the schedule.
Parameters:
Returns:
withWorkforceIntegrationIds
public MicrosoftGraphSchedule withWorkforceIntegrationIds(List
Set the workforceIntegrationIds property: The workforceIntegrationIds property.
Parameters:
Returns:
workforceIntegrationIds
public List
Get the workforceIntegrationIds property: The workforceIntegrationIds property.
Returns:
Applies to
Azure SDK for Java