Package com.microsoft.graph.models
Class BookingBusiness
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BookingBusiness
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class BookingBusiness
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Represents a Microsoft Bookings Business.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BookingBusiness
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the address property value.Gets the appointments property value.Gets the bookingPageSettings property value.Gets the businessHours property value.Gets the businessType property value.Gets the calendarView property value.Gets the createdDateTime property value.Gets the customers property value.Gets the customQuestions property value.Gets the defaultCurrencyIso property value.Gets the displayName property value.getEmail()
Gets the email property value.The deserialization information for the current modelGets the isPublished property value.Gets the languageTag property value.Gets the lastUpdatedDateTime property value.getPhone()
Gets the phone property value.Gets the publicUrl property value.Gets the schedulingPolicy property value.Gets the services property value.Gets the staffMembers property value.Gets the webSiteUrl property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAddress
(PhysicalAddress value) Sets the address property value.void
setAppointments
(List<BookingAppointment> value) Sets the appointments property value.void
Sets the bookingPageSettings property value.void
setBusinessHours
(List<BookingWorkHours> value) Sets the businessHours property value.void
setBusinessType
(String value) Sets the businessType property value.void
setCalendarView
(List<BookingAppointment> value) Sets the calendarView property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setCustomers
(List<BookingCustomerBase> value) Sets the customers property value.void
Sets the customQuestions property value.void
setDefaultCurrencyIso
(String value) Sets the defaultCurrencyIso property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the email property value.void
setIsPublished
(Boolean value) Sets the isPublished property value.void
setLanguageTag
(String value) Sets the languageTag property value.void
Sets the lastUpdatedDateTime property value.void
Sets the phone property value.void
setPublicUrl
(String value) Sets the publicUrl property value.void
Sets the schedulingPolicy property value.void
setServices
(List<BookingService> value) Sets the services property value.void
Sets the staffMembers property value.void
setWebSiteUrl
(String value) Sets the webSiteUrl property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
BookingBusiness
public BookingBusiness()Instantiates a newBookingBusiness
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static BookingBusiness 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
BookingBusiness
-
getAddress
Gets the address property value. The street address of the business. The address property, together with phone and webSiteUrl, appear in the footer of a business scheduling page. The attribute type of physicalAddress is not supported in v1.0. Internally we map the addresses to the type others.- Returns:
- a
PhysicalAddress
-
getAppointments
Gets the appointments property value. All the appointments of this business. Read-only. Nullable.- Returns:
- a
List<BookingAppointment>
-
getBookingPageSettings
Gets the bookingPageSettings property value. Settings for the published booking page.- Returns:
- a
BookingPageSettings
-
getBusinessHours
Gets the businessHours property value. The hours of operation for the business.- Returns:
- a
List<BookingWorkHours>
-
getBusinessType
Gets the businessType property value. The type of business.- Returns:
- a
String
-
getCalendarView
Gets the calendarView property value. The set of appointments of this business in a specified date range. Read-only. Nullable.- Returns:
- a
List<BookingAppointment>
-
getCreatedDateTime
Gets the createdDateTime property value. The date, time, and time zone when the booking business 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
-
getCustomers
Gets the customers property value. All the customers of this business. Read-only. Nullable.- Returns:
- a
List<BookingCustomerBase>
-
getCustomQuestions
Gets the customQuestions property value. All the custom questions of this business. Read-only. Nullable.- Returns:
- a
List<BookingCustomQuestion>
-
getDefaultCurrencyIso
Gets the defaultCurrencyIso property value. The code for the currency that the business operates in on Microsoft Bookings.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The name of the business, which interfaces with customers. This name appears at the top of the business scheduling page.- Returns:
- a
String
-
getEmail
Gets the email property value. The email address for the business.- 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>>
-
getIsPublished
Gets the isPublished property value. The scheduling page has been made available to external customers. Use the publish and unpublish actions to set this property. Read-only.- 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 booking business 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
-
getPhone
Gets the phone property value. The telephone number for the business. The phone property, together with address and webSiteUrl, appear in the footer of a business scheduling page.- Returns:
- a
String
-
getPublicUrl
Gets the publicUrl property value. The URL for the scheduling page, which is set after you publish or unpublish the page. Read-only.- Returns:
- a
String
-
getSchedulingPolicy
Gets the schedulingPolicy property value. Specifies how bookings can be created for this business.- Returns:
- a
BookingSchedulingPolicy
-
getServices
Gets the services property value. All the services offered by this business. Read-only. Nullable.- Returns:
- a
List<BookingService>
-
getStaffMembers
Gets the staffMembers property value. All the staff members that provide services in this business. Read-only. Nullable.- Returns:
- a
List<BookingStaffMemberBase>
-
getWebSiteUrl
Gets the webSiteUrl property value. The URL of the business web site. The webSiteUrl property, together with address, phone, appear in the footer of a business scheduling page.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAddress
Sets the address property value. The street address of the business. The address property, together with phone and webSiteUrl, appear in the footer of a business scheduling page. The attribute type of physicalAddress is not supported in v1.0. Internally we map the addresses to the type others.- Parameters:
value
- Value to set for the address property.
-
setAppointments
Sets the appointments property value. All the appointments of this business. Read-only. Nullable.- Parameters:
value
- Value to set for the appointments property.
-
setBookingPageSettings
Sets the bookingPageSettings property value. Settings for the published booking page.- Parameters:
value
- Value to set for the bookingPageSettings property.
-
setBusinessHours
Sets the businessHours property value. The hours of operation for the business.- Parameters:
value
- Value to set for the businessHours property.
-
setBusinessType
Sets the businessType property value. The type of business.- Parameters:
value
- Value to set for the businessType property.
-
setCalendarView
Sets the calendarView property value. The set of appointments of this business in a specified date range. Read-only. Nullable.- Parameters:
value
- Value to set for the calendarView property.
-
setCreatedDateTime
Sets the createdDateTime property value. The date, time, and time zone when the booking business 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.
-
setCustomers
Sets the customers property value. All the customers of this business. Read-only. Nullable.- Parameters:
value
- Value to set for the customers property.
-
setCustomQuestions
Sets the customQuestions property value. All the custom questions of this business. Read-only. Nullable.- Parameters:
value
- Value to set for the customQuestions property.
-
setDefaultCurrencyIso
Sets the defaultCurrencyIso property value. The code for the currency that the business operates in on Microsoft Bookings.- Parameters:
value
- Value to set for the defaultCurrencyIso property.
-
setDisplayName
Sets the displayName property value. The name of the business, which interfaces with customers. This name appears at the top of the business scheduling page.- Parameters:
value
- Value to set for the displayName property.
-
setEmail
Sets the email property value. The email address for the business.- Parameters:
value
- Value to set for the email property.
-
setIsPublished
Sets the isPublished property value. The scheduling page has been made available to external customers. Use the publish and unpublish actions to set this property. Read-only.- Parameters:
value
- Value to set for the isPublished 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 booking business 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.
-
setPhone
Sets the phone property value. The telephone number for the business. The phone property, together with address and webSiteUrl, appear in the footer of a business scheduling page.- Parameters:
value
- Value to set for the phone property.
-
setPublicUrl
Sets the publicUrl property value. The URL for the scheduling page, which is set after you publish or unpublish the page. Read-only.- Parameters:
value
- Value to set for the publicUrl property.
-
setSchedulingPolicy
Sets the schedulingPolicy property value. Specifies how bookings can be created for this business.- Parameters:
value
- Value to set for the schedulingPolicy property.
-
setServices
Sets the services property value. All the services offered by this business. Read-only. Nullable.- Parameters:
value
- Value to set for the services property.
-
setStaffMembers
Sets the staffMembers property value. All the staff members that provide services in this business. Read-only. Nullable.- Parameters:
value
- Value to set for the staffMembers property.
-
setWebSiteUrl
Sets the webSiteUrl property value. The URL of the business web site. The webSiteUrl property, together with address, phone, appear in the footer of a business scheduling page.- Parameters:
value
- Value to set for the webSiteUrl property.
-