Package odata.msgraph.client.entity
Class BookingService
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.BookingService
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class BookingService extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Represents a particular service offered by a booking business.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBookingService.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBookingService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BookingService.BuilderbuilderBookingService()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAdditionalInformation()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()com.github.davidmoten.odata.client.CollectionPage<BookingQuestionAssignment>getCustomQuestions()com.github.davidmoten.odata.client.CollectionPage<BookingQuestionAssignment>getCustomQuestions(com.github.davidmoten.odata.client.HttpRequestOptions options)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<String>getDisplayName()“The display name is suitable for human-readable interfaces.”Optional<Boolean>getIsAnonymousJoinEnabled()Optional<Boolean>getIsCustomerAllowedToManageBooking()Optional<Boolean>getIsHiddenFromCustomers()Optional<Boolean>getIsLocationOnline()Optional<String>getLanguageTag()Optional<OffsetDateTime>getLastUpdatedDateTime()Optional<Integer>getMaximumAttendeesCount()Optional<String>getNotes()Optional<Duration>getPostBuffer()Optional<Duration>getPreBuffer()Optional<BookingSchedulingPolicy>getSchedulingPolicy()Optional<Boolean>getSmsNotificationsEnabled()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.UnmappedFieldsgetUnmappedFields()Optional<String>getWebUrl()“The URL of the booking service.”StringodataTypeName()BookingServicepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)BookingServiceput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()BookingServicewithAdditionalInformation(String additionalInformation)BookingServicewithCreatedDateTime(OffsetDateTime createdDateTime)BookingServicewithCustomQuestions(List<BookingQuestionAssignment> customQuestions)BookingServicewithDefaultDuration(Duration defaultDuration)BookingServicewithDefaultLocation(Location defaultLocation)BookingServicewithDefaultPrice(Double defaultPrice)BookingServicewithDefaultPriceType(BookingPriceType defaultPriceType)BookingServicewithDefaultReminders(List<BookingReminder> defaultReminders)Returns an immutable copy ofthiswith just thedefaultRemindersfield changed.BookingServicewithDescription(String description)BookingServicewithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.BookingServicewithIsAnonymousJoinEnabled(Boolean isAnonymousJoinEnabled)BookingServicewithIsCustomerAllowedToManageBooking(Boolean isCustomerAllowedToManageBooking)BookingServicewithIsHiddenFromCustomers(Boolean isHiddenFromCustomers)BookingServicewithIsLocationOnline(Boolean isLocationOnline)BookingServicewithLanguageTag(String languageTag)BookingServicewithLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime)BookingServicewithMaximumAttendeesCount(Integer maximumAttendeesCount)BookingServicewithNotes(String notes)BookingServicewithPostBuffer(Duration postBuffer)BookingServicewithPreBuffer(Duration preBuffer)BookingServicewithSchedulingPolicy(BookingSchedulingPolicy schedulingPolicy)BookingServicewithSmsNotificationsEnabled(Boolean smsNotificationsEnabled)BookingServicewithStaffMemberIds(List<String> staffMemberIds)BookingServicewithUnmappedField(String name, Object value)BookingServicewithWebUrl(String webUrl)Returns an immutable copy ofthiswith just thewebUrlfield changed.
-
-
-
Field Detail
-
additionalInformation
protected String additionalInformation
-
createdDateTime
protected OffsetDateTime createdDateTime
-
customQuestions
protected List<BookingQuestionAssignment> customQuestions
-
customQuestionsNextLink
protected String customQuestionsNextLink
-
defaultDuration
protected Duration defaultDuration
-
defaultLocation
protected Location defaultLocation
-
defaultPrice
protected Double defaultPrice
-
defaultPriceType
protected BookingPriceType defaultPriceType
-
defaultReminders
protected List<BookingReminder> defaultReminders
-
defaultRemindersNextLink
protected String defaultRemindersNextLink
-
description
protected String description
-
displayName
protected String displayName
-
isAnonymousJoinEnabled
protected Boolean isAnonymousJoinEnabled
-
isCustomerAllowedToManageBooking
protected Boolean isCustomerAllowedToManageBooking
-
isHiddenFromCustomers
protected Boolean isHiddenFromCustomers
-
isLocationOnline
protected Boolean isLocationOnline
-
languageTag
protected String languageTag
-
lastUpdatedDateTime
protected OffsetDateTime lastUpdatedDateTime
-
maximumAttendeesCount
protected Integer maximumAttendeesCount
-
notes
protected String notes
-
postBuffer
protected Duration postBuffer
-
preBuffer
protected Duration preBuffer
-
schedulingPolicy
protected BookingSchedulingPolicy schedulingPolicy
-
smsNotificationsEnabled
protected Boolean smsNotificationsEnabled
-
staffMemberIdsNextLink
protected String staffMemberIdsNextLink
-
webUrl
protected String webUrl
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderBookingService
public static BookingService.Builder builderBookingService()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withAdditionalInformation
public BookingService withAdditionalInformation(String additionalInformation)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public BookingService withCreatedDateTime(OffsetDateTime createdDateTime)
-
getCustomQuestions
public com.github.davidmoten.odata.client.CollectionPage<BookingQuestionAssignment> getCustomQuestions()
-
withCustomQuestions
public BookingService withCustomQuestions(List<BookingQuestionAssignment> customQuestions)
-
getCustomQuestions
public com.github.davidmoten.odata.client.CollectionPage<BookingQuestionAssignment> getCustomQuestions(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withDefaultDuration
public BookingService withDefaultDuration(Duration defaultDuration)
-
withDefaultLocation
public BookingService withDefaultLocation(Location defaultLocation)
-
withDefaultPrice
public BookingService withDefaultPrice(Double defaultPrice)
-
getDefaultPriceType
public Optional<BookingPriceType> getDefaultPriceType()
-
withDefaultPriceType
public BookingService withDefaultPriceType(BookingPriceType defaultPriceType)
-
getDefaultReminders
public com.github.davidmoten.odata.client.CollectionPage<BookingReminder> getDefaultReminders()
“The value of this property is only available when reading an individual booking service by id.”- Returns:
- property defaultReminders
-
withDefaultReminders
public BookingService withDefaultReminders(List<BookingReminder> defaultReminders)
Returns an immutable copy ofthiswith just thedefaultRemindersfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The value of this property is only available when reading an individual booking service by id.”
- Parameters:
defaultReminders- new value ofdefaultRemindersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefaultRemindersfield changed
-
getDefaultReminders
public 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.”- Parameters:
options- specify connect and read timeouts- Returns:
- property defaultReminders
-
withDescription
public BookingService withDescription(String description)
-
getDisplayName
public Optional<String> getDisplayName()
“The display name is suitable for human-readable interfaces.”- Returns:
- property displayName
-
withDisplayName
public BookingService withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The display name is suitable for human-readable interfaces.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
withIsAnonymousJoinEnabled
public BookingService withIsAnonymousJoinEnabled(Boolean isAnonymousJoinEnabled)
-
withIsCustomerAllowedToManageBooking
public BookingService withIsCustomerAllowedToManageBooking(Boolean isCustomerAllowedToManageBooking)
-
withIsHiddenFromCustomers
public BookingService withIsHiddenFromCustomers(Boolean isHiddenFromCustomers)
-
withIsLocationOnline
public BookingService withIsLocationOnline(Boolean isLocationOnline)
-
withLanguageTag
public BookingService withLanguageTag(String languageTag)
-
getLastUpdatedDateTime
public Optional<OffsetDateTime> getLastUpdatedDateTime()
-
withLastUpdatedDateTime
public BookingService withLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime)
-
withMaximumAttendeesCount
public BookingService withMaximumAttendeesCount(Integer maximumAttendeesCount)
-
withNotes
public BookingService withNotes(String notes)
-
withPostBuffer
public BookingService withPostBuffer(Duration postBuffer)
-
withPreBuffer
public BookingService withPreBuffer(Duration preBuffer)
-
getSchedulingPolicy
public Optional<BookingSchedulingPolicy> getSchedulingPolicy()
-
withSchedulingPolicy
public BookingService withSchedulingPolicy(BookingSchedulingPolicy schedulingPolicy)
-
withSmsNotificationsEnabled
public BookingService withSmsNotificationsEnabled(Boolean smsNotificationsEnabled)
-
getStaffMemberIds
public com.github.davidmoten.odata.client.CollectionPage<String> getStaffMemberIds()
-
withStaffMemberIds
public BookingService withStaffMemberIds(List<String> staffMemberIds)
-
getStaffMemberIds
public com.github.davidmoten.odata.client.CollectionPage<String> getStaffMemberIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getWebUrl
public Optional<String> getWebUrl()
“The URL of the booking service.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.IsURL
true
- Returns:
- property webUrl
-
withWebUrl
public BookingService withWebUrl(String webUrl)
Returns an immutable copy ofthiswith just thewebUrlfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The URL of the booking service.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.IsURL
true
- Parameters:
webUrl- new value ofwebUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewebUrlfield changed
-
withUnmappedField
public BookingService withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public BookingService patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public BookingService put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-