public class BookingStaffMember extends BookingPerson implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
BookingStaffMember.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
availabilityIsAffectedByPersonalCalendar |
protected Integer |
colorIndex |
protected BookingStaffRole |
role |
protected Boolean |
useBusinessHours |
protected List<BookingWorkHours> |
workingHours |
protected String |
workingHoursNextLink |
emailAddressdisplayNamechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
BookingStaffMember() |
| Modifier and Type | Method and Description |
|---|---|
static BookingStaffMember.Builder |
builderBookingStaffMember()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getAvailabilityIsAffectedByPersonalCalendar() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Integer> |
getColorIndex() |
Optional<BookingStaffRole> |
getRole() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<Boolean> |
getUseBusinessHours() |
com.github.davidmoten.odata.client.CollectionPage<BookingWorkHours> |
getWorkingHours() |
String |
odataTypeName() |
BookingStaffMember |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
BookingStaffMember |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
BookingStaffMember |
withAvailabilityIsAffectedByPersonalCalendar(Boolean availabilityIsAffectedByPersonalCalendar) |
BookingStaffMember |
withColorIndex(Integer colorIndex) |
BookingStaffMember |
withRole(BookingStaffRole role) |
BookingStaffMember |
withUseBusinessHours(Boolean useBusinessHours) |
builderBookingPerson, getEmailAddress, withEmailAddressgetDisplayName, withDisplayNameprotected Boolean availabilityIsAffectedByPersonalCalendar
protected Integer colorIndex
protected BookingStaffRole role
protected Boolean useBusinessHours
protected List<BookingWorkHours> workingHours
protected String workingHoursNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class BookingPersonpublic static BookingStaffMember.Builder builderBookingStaffMember()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class BookingPersonpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class BookingPersonpublic Optional<Boolean> getAvailabilityIsAffectedByPersonalCalendar()
public BookingStaffMember withAvailabilityIsAffectedByPersonalCalendar(Boolean availabilityIsAffectedByPersonalCalendar)
public BookingStaffMember withColorIndex(Integer colorIndex)
public Optional<BookingStaffRole> getRole()
public BookingStaffMember withRole(BookingStaffRole role)
public BookingStaffMember withUseBusinessHours(Boolean useBusinessHours)
public com.github.davidmoten.odata.client.CollectionPage<BookingWorkHours> getWorkingHours()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class BookingPersonpublic BookingStaffMember patch()
this with changed fields reset.patch in class BookingPersonthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic BookingStaffMember put()
this
with changed fields reset (they were ignored anyway).put in class BookingPersonthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class BookingPersonCopyright © 2018–2020. All rights reserved.