public class Schedule extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Schedule.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
enabled |
protected Boolean |
offerShiftRequestsEnabled |
protected Boolean |
openShiftsEnabled |
protected OperationStatus |
provisionStatus |
protected String |
provisionStatusCode |
protected Boolean |
swapShiftsRequestsEnabled |
protected Boolean |
timeClockEnabled |
protected Boolean |
timeOffRequestsEnabled |
protected String |
timeZone |
protected List<String> |
workforceIntegrationIds |
protected String |
workforceIntegrationIdsNextLink |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Schedule() |
| Modifier and Type | Method and Description |
|---|---|
static Schedule.Builder |
builderSchedule()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Boolean> |
getEnabled() |
OfferShiftRequestCollectionRequest |
getOfferShiftRequests() |
Optional<Boolean> |
getOfferShiftRequestsEnabled() |
OpenShiftChangeRequestCollectionRequest |
getOpenShiftChangeRequests() |
OpenShiftCollectionRequest |
getOpenShifts() |
Optional<Boolean> |
getOpenShiftsEnabled() |
Optional<OperationStatus> |
getProvisionStatus()
Org.OData.Core.V1.Computed
|
Optional<String> |
getProvisionStatusCode()
Org.OData.Core.V1.Computed
|
SchedulingGroupCollectionRequest |
getSchedulingGroups()
Org.OData.Capabilities.V1.ExpandRestrictions
|
ShiftCollectionRequest |
getShifts()
Org.OData.Capabilities.V1.ExpandRestrictions
|
SwapShiftsChangeRequestCollectionRequest |
getSwapShiftsChangeRequests() |
Optional<Boolean> |
getSwapShiftsRequestsEnabled() |
Optional<Boolean> |
getTimeClockEnabled() |
TimeOffReasonCollectionRequest |
getTimeOffReasons()
Org.OData.Capabilities.V1.ExpandRestrictions
|
TimeOffRequestCollectionRequest |
getTimeOffRequests()
Org.OData.Capabilities.V1.ExpandRestrictions
|
Optional<Boolean> |
getTimeOffRequestsEnabled() |
TimeOffCollectionRequest |
getTimesOff()
Org.OData.Capabilities.V1.ExpandRestrictions
|
Optional<String> |
getTimeZone() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getWorkforceIntegrationIds() |
String |
odataTypeName() |
Schedule |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Schedule |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
share(Boolean notifyTeam,
OffsetDateTime startDateTime,
OffsetDateTime endDateTime) |
String |
toString() |
Schedule |
withEnabled(Boolean enabled) |
Schedule |
withOfferShiftRequestsEnabled(Boolean offerShiftRequestsEnabled) |
Schedule |
withOpenShiftsEnabled(Boolean openShiftsEnabled) |
Schedule |
withProvisionStatus(OperationStatus provisionStatus)
Returns an immutable copy of
this with just the provisionStatus
field changed. |
Schedule |
withProvisionStatusCode(String provisionStatusCode)
Returns an immutable copy of
this with just the provisionStatusCode field changed. |
Schedule |
withSwapShiftsRequestsEnabled(Boolean swapShiftsRequestsEnabled) |
Schedule |
withTimeClockEnabled(Boolean timeClockEnabled) |
Schedule |
withTimeOffRequestsEnabled(Boolean timeOffRequestsEnabled) |
Schedule |
withTimeZone(String timeZone) |
protected Boolean enabled
protected String timeZone
protected OperationStatus provisionStatus
protected String provisionStatusCode
protected String workforceIntegrationIdsNextLink
protected Boolean timeClockEnabled
protected Boolean openShiftsEnabled
protected Boolean swapShiftsRequestsEnabled
protected Boolean offerShiftRequestsEnabled
protected Boolean timeOffRequestsEnabled
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Schedule.Builder builderSchedule()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<OperationStatus> getProvisionStatus()
Org.OData.Core.V1.Computed
true
public Schedule withProvisionStatus(OperationStatus provisionStatus)
this with just the provisionStatus
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
Org.OData.Core.V1.Computed
true
provisionStatus - new value of provisionStatus field (as defined in service metadata)this with just the provisionStatus field changedpublic Optional<String> getProvisionStatusCode()
Org.OData.Core.V1.Computed
true
public Schedule withProvisionStatusCode(String provisionStatusCode)
this with just the provisionStatusCode field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
Org.OData.Core.V1.Computed
true
provisionStatusCode - new value of provisionStatusCode field (as defined in service metadata)this with just the provisionStatusCode field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getWorkforceIntegrationIds()
public Schedule withSwapShiftsRequestsEnabled(Boolean swapShiftsRequestsEnabled)
public Schedule withOfferShiftRequestsEnabled(Boolean offerShiftRequestsEnabled)
public Schedule withTimeOffRequestsEnabled(Boolean timeOffRequestsEnabled)
public ShiftCollectionRequest getShifts()
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
public OpenShiftCollectionRequest getOpenShifts()
public TimeOffCollectionRequest getTimesOff()
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
public TimeOffReasonCollectionRequest getTimeOffReasons()
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
public SchedulingGroupCollectionRequest getSchedulingGroups()
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
public SwapShiftsChangeRequestCollectionRequest getSwapShiftsChangeRequests()
public OpenShiftChangeRequestCollectionRequest getOpenShiftChangeRequests()
public OfferShiftRequestCollectionRequest getOfferShiftRequests()
public TimeOffRequestCollectionRequest getTimeOffRequests()
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Schedule patch()
this with changed fields reset.public Schedule put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn share(Boolean notifyTeam, OffsetDateTime startDateTime, OffsetDateTime endDateTime)
Copyright © 2018–2020. All rights reserved.