Package odata.msgraph.client.complex
Class BookingSchedulingPolicy.Builder
- java.lang.Object
-
- odata.msgraph.client.complex.BookingSchedulingPolicy.Builder
-
- Enclosing class:
- BookingSchedulingPolicy
public static final class BookingSchedulingPolicy.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BookingSchedulingPolicy.BuilderallowStaffSelection(Boolean allowStaffSelection)“Allow customers to choose a specific person for the booking.”BookingSchedulingPolicybuild()BookingSchedulingPolicy.BuildercustomAvailabilities(List<BookingsAvailabilityWindow> customAvailabilities)“collection of custom availabilities for a given time range.”BookingSchedulingPolicy.BuildercustomAvailabilities(BookingsAvailabilityWindow... customAvailabilities)“collection of custom availabilities for a given time range.”BookingSchedulingPolicy.BuildercustomAvailabilitiesNextLink(String customAvailabilitiesNextLink)“collection of custom availabilities for a given time range.”BookingSchedulingPolicy.BuildergeneralAvailability(BookingsAvailability generalAvailability)“General availability”BookingSchedulingPolicy.BuilderisMeetingInviteToCustomersEnabled(Boolean isMeetingInviteToCustomersEnabled)“Enable sending meeting invite to customers.BookingSchedulingPolicy.BuildermaximumAdvance(Duration maximumAdvance)“Maximum number of days in advance that a booking can be made.”BookingSchedulingPolicy.BuilderminimumLeadTime(Duration minimumLeadTime)“Minimum lead time for bookings and cancellations.”BookingSchedulingPolicy.BuildersendConfirmationsToOwner(Boolean sendConfirmationsToOwner)“Notify the business via email when a booking is created or changed.”BookingSchedulingPolicy.BuildertimeSlotInterval(Duration timeSlotInterval)“Duration of each time slot.”
-
-
-
Method Detail
-
allowStaffSelection
public BookingSchedulingPolicy.Builder allowStaffSelection(Boolean allowStaffSelection)
“Allow customers to choose a specific person for the booking.”- Parameters:
allowStaffSelection- value ofallowStaffSelectionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customAvailabilities
public BookingSchedulingPolicy.Builder customAvailabilities(List<BookingsAvailabilityWindow> customAvailabilities)
“collection of custom availabilities for a given time range.”- Parameters:
customAvailabilities- value ofcustomAvailabilitiesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customAvailabilities
public BookingSchedulingPolicy.Builder customAvailabilities(BookingsAvailabilityWindow... customAvailabilities)
“collection of custom availabilities for a given time range.”- Parameters:
customAvailabilities- value ofcustomAvailabilitiesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customAvailabilitiesNextLink
public BookingSchedulingPolicy.Builder customAvailabilitiesNextLink(String customAvailabilitiesNextLink)
“collection of custom availabilities for a given time range.”- Parameters:
customAvailabilitiesNextLink- value ofcustomAvailabilities@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
generalAvailability
public BookingSchedulingPolicy.Builder generalAvailability(BookingsAvailability generalAvailability)
“General availability”- Parameters:
generalAvailability- value ofgeneralAvailabilityproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
isMeetingInviteToCustomersEnabled
public BookingSchedulingPolicy.Builder isMeetingInviteToCustomersEnabled(Boolean isMeetingInviteToCustomersEnabled)
“Enable sending meeting invite to customers. False by default.”- Parameters:
isMeetingInviteToCustomersEnabled- value ofisMeetingInviteToCustomersEnabledproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
maximumAdvance
public BookingSchedulingPolicy.Builder maximumAdvance(Duration maximumAdvance)
“Maximum number of days in advance that a booking can be made.”- Parameters:
maximumAdvance- value ofmaximumAdvanceproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
minimumLeadTime
public BookingSchedulingPolicy.Builder minimumLeadTime(Duration minimumLeadTime)
“Minimum lead time for bookings and cancellations.”- Parameters:
minimumLeadTime- value ofminimumLeadTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
sendConfirmationsToOwner
public BookingSchedulingPolicy.Builder sendConfirmationsToOwner(Boolean sendConfirmationsToOwner)
“Notify the business via email when a booking is created or changed.”- Parameters:
sendConfirmationsToOwner- value ofsendConfirmationsToOwnerproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
timeSlotInterval
public BookingSchedulingPolicy.Builder timeSlotInterval(Duration timeSlotInterval)
“Duration of each time slot.”- Parameters:
timeSlotInterval- value oftimeSlotIntervalproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public BookingSchedulingPolicy build()
-
-