Package com.microsoft.graph.models
Class BookingService
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BookingService
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class BookingService
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Represents a particular service offered by a booking business.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BookingService
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the additionalInformation property value.Gets the createdDateTime property value.Gets the customQuestions property value.com.microsoft.kiota.PeriodAndDuration
Gets the defaultDuration property value.Gets the defaultLocation property value.Gets the defaultPrice property value.Gets the defaultPriceType property value.Gets the defaultReminders property value.Gets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the isAnonymousJoinEnabled property value.Gets the isCustomerAllowedToManageBooking property value.Gets the isHiddenFromCustomers property value.Gets the isLocationOnline property value.Gets the languageTag property value.Gets the lastUpdatedDateTime property value.Gets the maximumAttendeesCount property value.getNotes()
Gets the notes property value.com.microsoft.kiota.PeriodAndDuration
Gets the postBuffer property value.com.microsoft.kiota.PeriodAndDuration
Gets the preBuffer property value.Gets the schedulingPolicy property value.Gets the smsNotificationsEnabled property value.Gets the staffMemberIds property value.Gets the webUrl property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAdditionalInformation
(String value) Sets the additionalInformation property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
Sets the customQuestions property value.void
setDefaultDuration
(com.microsoft.kiota.PeriodAndDuration value) Sets the defaultDuration property value.void
setDefaultLocation
(Location value) Sets the defaultLocation property value.void
setDefaultPrice
(Double value) Sets the defaultPrice property value.void
Sets the defaultPriceType property value.void
setDefaultReminders
(List<BookingReminder> value) Sets the defaultReminders property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
setIsAnonymousJoinEnabled
(Boolean value) Sets the isAnonymousJoinEnabled property value.void
Sets the isCustomerAllowedToManageBooking property value.void
setIsHiddenFromCustomers
(Boolean value) Sets the isHiddenFromCustomers property value.void
setIsLocationOnline
(Boolean value) Sets the isLocationOnline property value.void
setLanguageTag
(String value) Sets the languageTag property value.void
Sets the lastUpdatedDateTime property value.void
setMaximumAttendeesCount
(Integer value) Sets the maximumAttendeesCount property value.void
Sets the notes property value.void
setPostBuffer
(com.microsoft.kiota.PeriodAndDuration value) Sets the postBuffer property value.void
setPreBuffer
(com.microsoft.kiota.PeriodAndDuration value) Sets the preBuffer property value.void
Sets the schedulingPolicy property value.void
Sets the smsNotificationsEnabled property value.void
setStaffMemberIds
(List<String> value) Sets the staffMemberIds property value.void
Sets the webUrl property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
BookingService
public BookingService()Instantiates a newBookingService
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static BookingService createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
BookingService
-
getAdditionalInformation
Gets the additionalInformation property value. Additional information that is sent to the customer when an appointment is confirmed.- Returns:
- a
String
-
getCreatedDateTime
Gets the createdDateTime property value. The date, time, and time zone when the service was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getCustomQuestions
Gets the customQuestions property value. Contains the set of custom questions associated with a particular service.- Returns:
- a
List<BookingQuestionAssignment>
-
getDefaultDuration
@Nullable public com.microsoft.kiota.PeriodAndDuration getDefaultDuration()Gets the defaultDuration property value. The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S.- Returns:
- a
PeriodAndDuration
-
getDefaultLocation
Gets the defaultLocation property value. The default physical location for the service.- Returns:
- a
Location
-
getDefaultPrice
Gets the defaultPrice property value. The default monetary price for the service.- Returns:
- a
Double
-
getDefaultPriceType
Gets the defaultPriceType property value. Represents the type of pricing of a booking service.- Returns:
- a
BookingPriceType
-
getDefaultReminders
Gets the defaultReminders property value. The default set of reminders for an appointment of this service. The value of this property is available only when reading this bookingService by its ID.- Returns:
- a
List<BookingReminder>
-
getDescription
Gets the description property value. A text description for the service.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. A service name.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIsAnonymousJoinEnabled
Gets the isAnonymousJoinEnabled property value. Indicates if an anonymousJoinWebUrl(webrtcUrl) is generated for the appointment booked for this service. The default value is false.- Returns:
- a
Boolean
-
getIsCustomerAllowedToManageBooking
Gets the isCustomerAllowedToManageBooking property value. Indicates that the customer can manage bookings created by the staff. The default value is false.- Returns:
- a
Boolean
-
getIsHiddenFromCustomers
Gets the isHiddenFromCustomers property value. True indicates that this service isn't available to customers for booking.- Returns:
- a
Boolean
-
getIsLocationOnline
Gets the isLocationOnline property value. Indicates that the appointments for the service are held online. The default value is false.- Returns:
- a
Boolean
-
getLanguageTag
Gets the languageTag property value. The language of the self-service booking page.- Returns:
- a
String
-
getLastUpdatedDateTime
Gets the lastUpdatedDateTime property value. The date, time, and time zone when the service was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getMaximumAttendeesCount
Gets the maximumAttendeesCount property value. The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation.- Returns:
- a
Integer
-
getNotes
Gets the notes property value. Additional information about this service.- Returns:
- a
String
-
getPostBuffer
@Nullable public com.microsoft.kiota.PeriodAndDuration getPostBuffer()Gets the postBuffer property value. The time to buffer after an appointment for this service ends, and before the next customer appointment can be booked.- Returns:
- a
PeriodAndDuration
-
getPreBuffer
@Nullable public com.microsoft.kiota.PeriodAndDuration getPreBuffer()Gets the preBuffer property value. The time to buffer before an appointment for this service can start.- Returns:
- a
PeriodAndDuration
-
getSchedulingPolicy
Gets the schedulingPolicy property value. The set of policies that determine how appointments for this type of service should be created and managed.- Returns:
- a
BookingSchedulingPolicy
-
getSmsNotificationsEnabled
Gets the smsNotificationsEnabled property value. True indicates SMS notifications can be sent to the customers for the appointment of the service. Default value is false.- Returns:
- a
Boolean
-
getStaffMemberIds
Gets the staffMemberIds property value. Represents those staff members who provide this service. -
getWebUrl
Gets the webUrl property value. The URL a customer uses to access the service.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAdditionalInformation
Sets the additionalInformation property value. Additional information that is sent to the customer when an appointment is confirmed.- Parameters:
value
- Value to set for the additionalInformation property.
-
setCreatedDateTime
Sets the createdDateTime property value. The date, time, and time zone when the service was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the createdDateTime property.
-
setCustomQuestions
Sets the customQuestions property value. Contains the set of custom questions associated with a particular service.- Parameters:
value
- Value to set for the customQuestions property.
-
setDefaultDuration
public void setDefaultDuration(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the defaultDuration property value. The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S.- Parameters:
value
- Value to set for the defaultDuration property.
-
setDefaultLocation
Sets the defaultLocation property value. The default physical location for the service.- Parameters:
value
- Value to set for the defaultLocation property.
-
setDefaultPrice
Sets the defaultPrice property value. The default monetary price for the service.- Parameters:
value
- Value to set for the defaultPrice property.
-
setDefaultPriceType
Sets the defaultPriceType property value. Represents the type of pricing of a booking service.- Parameters:
value
- Value to set for the defaultPriceType property.
-
setDefaultReminders
Sets the defaultReminders property value. The default set of reminders for an appointment of this service. The value of this property is available only when reading this bookingService by its ID.- Parameters:
value
- Value to set for the defaultReminders property.
-
setDescription
Sets the description property value. A text description for the service.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. A service name.- Parameters:
value
- Value to set for the displayName property.
-
setIsAnonymousJoinEnabled
Sets the isAnonymousJoinEnabled property value. Indicates if an anonymousJoinWebUrl(webrtcUrl) is generated for the appointment booked for this service. The default value is false.- Parameters:
value
- Value to set for the isAnonymousJoinEnabled property.
-
setIsCustomerAllowedToManageBooking
Sets the isCustomerAllowedToManageBooking property value. Indicates that the customer can manage bookings created by the staff. The default value is false.- Parameters:
value
- Value to set for the isCustomerAllowedToManageBooking property.
-
setIsHiddenFromCustomers
Sets the isHiddenFromCustomers property value. True indicates that this service isn't available to customers for booking.- Parameters:
value
- Value to set for the isHiddenFromCustomers property.
-
setIsLocationOnline
Sets the isLocationOnline property value. Indicates that the appointments for the service are held online. The default value is false.- Parameters:
value
- Value to set for the isLocationOnline property.
-
setLanguageTag
Sets the languageTag property value. The language of the self-service booking page.- Parameters:
value
- Value to set for the languageTag property.
-
setLastUpdatedDateTime
Sets the lastUpdatedDateTime property value. The date, time, and time zone when the service was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the lastUpdatedDateTime property.
-
setMaximumAttendeesCount
Sets the maximumAttendeesCount property value. The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation.- Parameters:
value
- Value to set for the maximumAttendeesCount property.
-
setNotes
Sets the notes property value. Additional information about this service.- Parameters:
value
- Value to set for the notes property.
-
setPostBuffer
public void setPostBuffer(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the postBuffer property value. The time to buffer after an appointment for this service ends, and before the next customer appointment can be booked.- Parameters:
value
- Value to set for the postBuffer property.
-
setPreBuffer
public void setPreBuffer(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the preBuffer property value. The time to buffer before an appointment for this service can start.- Parameters:
value
- Value to set for the preBuffer property.
-
setSchedulingPolicy
Sets the schedulingPolicy property value. The set of policies that determine how appointments for this type of service should be created and managed.- Parameters:
value
- Value to set for the schedulingPolicy property.
-
setSmsNotificationsEnabled
Sets the smsNotificationsEnabled property value. True indicates SMS notifications can be sent to the customers for the appointment of the service. Default value is false.- Parameters:
value
- Value to set for the smsNotificationsEnabled property.
-
setStaffMemberIds
Sets the staffMemberIds property value. Represents those staff members who provide this service.- Parameters:
value
- Value to set for the staffMemberIds property.
-
setWebUrl
Sets the webUrl property value. The URL a customer uses to access the service.- Parameters:
value
- Value to set for the webUrl property.
-