public class BookingService extends BookingNamedEntity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
BookingService.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
defaultDuration |
protected Location |
defaultLocation |
protected Double |
defaultPrice |
protected BookingPriceType |
defaultPriceType |
protected List<BookingReminder> |
defaultReminders |
protected String |
defaultRemindersNextLink |
protected String |
description |
protected Boolean |
isHiddenFromCustomers |
protected String |
notes |
protected Duration |
postBuffer |
protected Duration |
preBuffer |
protected BookingSchedulingPolicy |
schedulingPolicy |
protected List<String> |
staffMemberIds |
protected String |
staffMemberIdsNextLink |
displayNamechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
BookingService() |
| Modifier and Type | Method and Description |
|---|---|
static BookingService.Builder |
builderBookingService()
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<Duration> |
getDefaultDuration() |
Optional<Location> |
getDefaultLocation() |
Optional<Double> |
getDefaultPrice() |
Optional<BookingPriceType> |
getDefaultPriceType() |
com.github.davidmoten.odata.client.CollectionPage<BookingReminder> |
getDefaultReminders()
“The value of this property is only available when reading an individual booking
service by id.”
|
com.github.davidmoten.odata.client.CollectionPage<BookingReminder> |
getDefaultReminders(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The value of this property is only available when reading an individual booking
service by id.”
|
Optional<String> |
getDescription() |
Optional<Boolean> |
getIsHiddenFromCustomers() |
Optional<String> |
getNotes() |
Optional<Duration> |
getPostBuffer() |
Optional<Duration> |
getPreBuffer() |
Optional<BookingSchedulingPolicy> |
getSchedulingPolicy() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getStaffMemberIds() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getStaffMemberIds(com.github.davidmoten.odata.client.HttpRequestOptions options) |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
BookingService |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
BookingService |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
BookingService |
withDefaultDuration(Duration defaultDuration) |
BookingService |
withDefaultLocation(Location defaultLocation) |
BookingService |
withDefaultPrice(Double defaultPrice) |
BookingService |
withDefaultPriceType(BookingPriceType defaultPriceType) |
BookingService |
withDescription(String description) |
BookingService |
withIsHiddenFromCustomers(Boolean isHiddenFromCustomers) |
BookingService |
withNotes(String notes) |
BookingService |
withPostBuffer(Duration postBuffer) |
BookingService |
withPreBuffer(Duration preBuffer) |
BookingService |
withSchedulingPolicy(BookingSchedulingPolicy schedulingPolicy) |
getDisplayName, withDisplayNameprotected Duration defaultDuration
protected Location defaultLocation
protected Double defaultPrice
protected BookingPriceType defaultPriceType
protected List<BookingReminder> defaultReminders
protected String defaultRemindersNextLink
protected String description
protected Boolean isHiddenFromCustomers
protected String notes
protected Duration preBuffer
protected Duration postBuffer
protected BookingSchedulingPolicy schedulingPolicy
protected String staffMemberIdsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class BookingNamedEntitypublic static BookingService.Builder builderBookingService()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class BookingNamedEntitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class BookingNamedEntitypublic BookingService withDefaultDuration(Duration defaultDuration)
public BookingService withDefaultLocation(Location defaultLocation)
public BookingService withDefaultPrice(Double defaultPrice)
public Optional<BookingPriceType> getDefaultPriceType()
public BookingService withDefaultPriceType(BookingPriceType defaultPriceType)
public com.github.davidmoten.odata.client.CollectionPage<BookingReminder> getDefaultReminders()
public com.github.davidmoten.odata.client.CollectionPage<BookingReminder> getDefaultReminders(com.github.davidmoten.odata.client.HttpRequestOptions options)
public BookingService withDescription(String description)
public BookingService withIsHiddenFromCustomers(Boolean isHiddenFromCustomers)
public BookingService withNotes(String notes)
public BookingService withPreBuffer(Duration preBuffer)
public BookingService withPostBuffer(Duration postBuffer)
public Optional<BookingSchedulingPolicy> getSchedulingPolicy()
public BookingService withSchedulingPolicy(BookingSchedulingPolicy schedulingPolicy)
public com.github.davidmoten.odata.client.CollectionPage<String> getStaffMemberIds()
public com.github.davidmoten.odata.client.CollectionPage<String> getStaffMemberIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class BookingNamedEntitypublic BookingService patch()
this with changed fields reset.patch in class BookingNamedEntitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic BookingService put()
this
with changed fields reset (they were ignored anyway).put in class BookingNamedEntitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class BookingNamedEntityCopyright © 2018–2020. All rights reserved.