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.
  • Constructor Details

    • BookingBusiness

      public BookingBusiness()
      Instantiates a new BookingBusiness 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

      @Nullable public PhysicalAddress 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

      @Nullable public List<BookingAppointment> getAppointments()
      Gets the appointments property value. All the appointments of this business. Read-only. Nullable.
      Returns:
      a List<BookingAppointment>
    • getBookingPageSettings

      @Nullable public BookingPageSettings getBookingPageSettings()
      Gets the bookingPageSettings property value. Settings for the published booking page.
      Returns:
      a BookingPageSettings
    • getBusinessHours

      @Nullable public List<BookingWorkHours> getBusinessHours()
      Gets the businessHours property value. The hours of operation for the business.
      Returns:
      a List<BookingWorkHours>
    • getBusinessType

      @Nullable public String getBusinessType()
      Gets the businessType property value. The type of business.
      Returns:
      a String
    • getCalendarView

      @Nullable public List<BookingAppointment> 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

      @Nullable public OffsetDateTime 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

      @Nullable public List<BookingCustomerBase> getCustomers()
      Gets the customers property value. All the customers of this business. Read-only. Nullable.
      Returns:
      a List<BookingCustomerBase>
    • getCustomQuestions

      @Nullable public List<BookingCustomQuestion> getCustomQuestions()
      Gets the customQuestions property value. All the custom questions of this business. Read-only. Nullable.
      Returns:
      a List<BookingCustomQuestion>
    • getDefaultCurrencyIso

      @Nullable public String getDefaultCurrencyIso()
      Gets the defaultCurrencyIso property value. The code for the currency that the business operates in on Microsoft Bookings.
      Returns:
      a String
    • getDisplayName

      @Nullable public 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

      @Nullable public 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsPublished

      @Nullable public Boolean 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

      @Nullable public String getLanguageTag()
      Gets the languageTag property value. The language of the self-service booking page.
      Returns:
      a String
    • getLastUpdatedDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public String 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

      @Nullable public 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

      @Nullable public BookingSchedulingPolicy getSchedulingPolicy()
      Gets the schedulingPolicy property value. Specifies how bookings can be created for this business.
      Returns:
      a BookingSchedulingPolicy
    • getServices

      @Nullable public List<BookingService> getServices()
      Gets the services property value. All the services offered by this business. Read-only. Nullable.
      Returns:
      a List<BookingService>
    • getStaffMembers

      @Nullable public List<BookingStaffMemberBase> getStaffMembers()
      Gets the staffMembers property value. All the staff members that provide services in this business. Read-only. Nullable.
      Returns:
      a List<BookingStaffMemberBase>
    • getWebSiteUrl

      @Nullable public String 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAddress

      public void setAddress(@Nullable PhysicalAddress value)
      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

      public void setAppointments(@Nullable List<BookingAppointment> value)
      Sets the appointments property value. All the appointments of this business. Read-only. Nullable.
      Parameters:
      value - Value to set for the appointments property.
    • setBookingPageSettings

      public void setBookingPageSettings(@Nullable BookingPageSettings value)
      Sets the bookingPageSettings property value. Settings for the published booking page.
      Parameters:
      value - Value to set for the bookingPageSettings property.
    • setBusinessHours

      public void setBusinessHours(@Nullable List<BookingWorkHours> value)
      Sets the businessHours property value. The hours of operation for the business.
      Parameters:
      value - Value to set for the businessHours property.
    • setBusinessType

      public void setBusinessType(@Nullable String value)
      Sets the businessType property value. The type of business.
      Parameters:
      value - Value to set for the businessType property.
    • setCalendarView

      public void setCalendarView(@Nullable List<BookingAppointment> value)
      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

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      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

      public void setCustomers(@Nullable List<BookingCustomerBase> value)
      Sets the customers property value. All the customers of this business. Read-only. Nullable.
      Parameters:
      value - Value to set for the customers property.
    • setCustomQuestions

      public void setCustomQuestions(@Nullable List<BookingCustomQuestion> value)
      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

      public void setDefaultCurrencyIso(@Nullable String value)
      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

      public void setDisplayName(@Nullable String value)
      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

      public void setEmail(@Nullable String value)
      Sets the email property value. The email address for the business.
      Parameters:
      value - Value to set for the email property.
    • setIsPublished

      public void setIsPublished(@Nullable Boolean value)
      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

      public void setLanguageTag(@Nullable String value)
      Sets the languageTag property value. The language of the self-service booking page.
      Parameters:
      value - Value to set for the languageTag property.
    • setLastUpdatedDateTime

      public void setLastUpdatedDateTime(@Nullable OffsetDateTime value)
      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

      public void setPhone(@Nullable String value)
      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

      public void setPublicUrl(@Nullable String value)
      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

      public void setSchedulingPolicy(@Nullable BookingSchedulingPolicy value)
      Sets the schedulingPolicy property value. Specifies how bookings can be created for this business.
      Parameters:
      value - Value to set for the schedulingPolicy property.
    • setServices

      public void setServices(@Nullable List<BookingService> value)
      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

      public void setStaffMembers(@Nullable List<BookingStaffMemberBase> value)
      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

      public void setWebSiteUrl(@Nullable String value)
      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.