Package odata.msgraph.client.beta.entity
Class BookingAppointment.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.BookingAppointment.Builder
-
- Enclosing class:
- BookingAppointment
public static final class BookingAppointment.Builder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
id
public BookingAppointment.Builder id(String id)
-
additionalInformation
public BookingAppointment.Builder additionalInformation(String additionalInformation)
-
customerEmailAddress
public BookingAppointment.Builder customerEmailAddress(String customerEmailAddress)
-
customerId
public BookingAppointment.Builder customerId(String customerId)
“If CustomerId is not specified when an appointment is created then a new customer is created based on the appointment customer information. Once set, the customerId should be considered immutable.”- Parameters:
customerId- value ofcustomerIdproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customerLocation
public BookingAppointment.Builder customerLocation(Location customerLocation)
-
customerName
public BookingAppointment.Builder customerName(String customerName)
-
customerNotes
public BookingAppointment.Builder customerNotes(String customerNotes)
“The value of this property is only available when reading an individual booking appointment by id. Its value can only be set when creating a new appointment with a new customer, ie, without specifying a CustomerId. After that, the property is computed from the customer represented by CustomerId.”Org.OData.Core.V1.Immutable
true
- Parameters:
customerNotes- value ofcustomerNotesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customerPhone
public BookingAppointment.Builder customerPhone(String customerPhone)
-
customers
public BookingAppointment.Builder customers(List<BookingCustomerInformationBase> customers)
-
customers
public BookingAppointment.Builder customers(BookingCustomerInformationBase... customers)
-
customersNextLink
public BookingAppointment.Builder customersNextLink(String customersNextLink)
-
customerTimeZone
public BookingAppointment.Builder customerTimeZone(String customerTimeZone)
-
duration
public BookingAppointment.Builder duration(Duration duration)
Org.OData.Core.V1.Computed
true
- Parameters:
duration- value ofdurationproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
end
public BookingAppointment.Builder end(DateTimeTimeZone end)
-
filledAttendeesCount
public BookingAppointment.Builder filledAttendeesCount(Integer filledAttendeesCount)
Org.OData.Core.V1.Computed
true
- Parameters:
filledAttendeesCount- value offilledAttendeesCountproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
invoiceAmount
public BookingAppointment.Builder invoiceAmount(Double invoiceAmount)
-
invoiceDate
public BookingAppointment.Builder invoiceDate(DateTimeTimeZone invoiceDate)
-
invoiceId
public BookingAppointment.Builder invoiceId(String invoiceId)
-
invoiceStatus
public BookingAppointment.Builder invoiceStatus(BookingInvoiceStatus invoiceStatus)
-
invoiceUrl
public BookingAppointment.Builder invoiceUrl(String invoiceUrl)
Org.OData.Core.V1.IsURL
true
- Parameters:
invoiceUrl- value ofinvoiceUrlproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
isLocationOnline
public BookingAppointment.Builder isLocationOnline(Boolean isLocationOnline)
-
joinWebUrl
public BookingAppointment.Builder joinWebUrl(String joinWebUrl)
Org.OData.Core.V1.IsURL
true
- Parameters:
joinWebUrl- value ofjoinWebUrlproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
maximumAttendeesCount
public BookingAppointment.Builder maximumAttendeesCount(Integer maximumAttendeesCount)
-
onlineMeetingUrl
public BookingAppointment.Builder onlineMeetingUrl(String onlineMeetingUrl)
Org.OData.Core.V1.IsURL
true
- Parameters:
onlineMeetingUrl- value ofonlineMeetingUrlproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
optOutOfCustomerEmail
public BookingAppointment.Builder optOutOfCustomerEmail(Boolean optOutOfCustomerEmail)
-
postBuffer
public BookingAppointment.Builder postBuffer(Duration postBuffer)
-
preBuffer
public BookingAppointment.Builder preBuffer(Duration preBuffer)
-
price
public BookingAppointment.Builder price(Double price)
-
priceType
public BookingAppointment.Builder priceType(BookingPriceType priceType)
-
reminders
public BookingAppointment.Builder reminders(List<BookingReminder> reminders)
“The value of this property is only available when reading an individual booking appointment by id.”- Parameters:
reminders- value ofremindersproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
reminders
public BookingAppointment.Builder reminders(BookingReminder... reminders)
“The value of this property is only available when reading an individual booking appointment by id.”- Parameters:
reminders- value ofremindersproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
remindersNextLink
public BookingAppointment.Builder remindersNextLink(String remindersNextLink)
“The value of this property is only available when reading an individual booking appointment by id.”- Parameters:
remindersNextLink- value ofreminders@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
selfServiceAppointmentId
public BookingAppointment.Builder selfServiceAppointmentId(String selfServiceAppointmentId)
-
serviceId
public BookingAppointment.Builder serviceId(String serviceId)
“The id of the booking service associated with this appointment.”Org.OData.Core.V1.Immutable
true
- Parameters:
serviceId- value ofserviceIdproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
serviceLocation
public BookingAppointment.Builder serviceLocation(Location serviceLocation)
-
serviceName
public BookingAppointment.Builder serviceName(String serviceName)
“This property is optional when creating a new appointment. If not specified, it is computed from the service associated with the appointment by the service id.”- Parameters:
serviceName- value ofserviceNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
serviceNotes
public BookingAppointment.Builder serviceNotes(String serviceNotes)
“The value of this property is only available when reading an individual booking appointment by id.”- Parameters:
serviceNotes- value ofserviceNotesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
smsNotificationsEnabled
public BookingAppointment.Builder smsNotificationsEnabled(Boolean smsNotificationsEnabled)
-
staffMemberIds
public BookingAppointment.Builder staffMemberIds(List<String> staffMemberIds)
-
staffMemberIds
public BookingAppointment.Builder staffMemberIds(String... staffMemberIds)
-
staffMemberIdsNextLink
public BookingAppointment.Builder staffMemberIdsNextLink(String staffMemberIdsNextLink)
-
start
public BookingAppointment.Builder start(DateTimeTimeZone start)
-
build
public BookingAppointment build()
-
-