Class BookingStaffMember

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class BookingStaffMember extends BookingStaffMemberBase implements com.microsoft.kiota.serialization.Parsable
Represents a staff member who provides services in a business.
  • Constructor Details

    • BookingStaffMember

      public BookingStaffMember()
      Instantiates a new BookingStaffMember and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static BookingStaffMember 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 BookingStaffMember
    • getAvailabilityIsAffectedByPersonalCalendar

      @Nullable public Boolean getAvailabilityIsAffectedByPersonalCalendar()
      Gets the availabilityIsAffectedByPersonalCalendar property value. True means that if the staff member is a Microsoft 365 user, the Bookings API would verify the staff member's availability in their personal calendar in Microsoft 365, before making a booking.
      Returns:
      a Boolean
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The date, time, and time zone when the staff member 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
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The name of the staff member, as displayed to customers. Required.
      Returns:
      a String
    • getEmailAddress

      @Nullable public String getEmailAddress()
      Gets the emailAddress property value. The email address of the staff member. This email address can be in the same Microsoft 365 tenant as the business, or in a different email domain. This email address can be used if the sendConfirmationsToOwner property is set to true in the scheduling policy of the business. Required.
      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 BookingStaffMemberBase
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsEmailNotificationEnabled

      @Nullable public Boolean getIsEmailNotificationEnabled()
      Gets the isEmailNotificationEnabled property value. Indicates that a staff member is notified via email when a booking assigned to them is created or changed. The default value is true.
      Returns:
      a Boolean
    • getLastUpdatedDateTime

      @Nullable public OffsetDateTime getLastUpdatedDateTime()
      Gets the lastUpdatedDateTime property value. The date, time, and time zone when the staff member 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
    • getMembershipStatus

      @Nullable public BookingStaffMembershipStatus getMembershipStatus()
      Gets the membershipStatus property value. The membershipStatus property
      Returns:
      a BookingStaffMembershipStatus
    • getRole

      @Nullable public BookingStaffRole getRole()
      Gets the role property value. The role property
      Returns:
      a BookingStaffRole
    • getTimeZone

      @Nullable public String getTimeZone()
      Gets the timeZone property value. The time zone of the staff member. For a list of possible values, see dateTimeTimeZone.
      Returns:
      a String
    • getUseBusinessHours

      @Nullable public Boolean getUseBusinessHours()
      Gets the useBusinessHours property value. True means the staff member's availability is as specified in the businessHours property of the business. False means the availability is determined by the staff member's workingHours property setting.
      Returns:
      a Boolean
    • getWorkingHours

      @Nullable public List<BookingWorkHours> getWorkingHours()
      Gets the workingHours property value. The range of hours each day of the week that the staff member is available for booking. By default, they're initialized to be the same as the businessHours property of the business.
      Returns:
      a List<BookingWorkHours>
    • 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 BookingStaffMemberBase
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAvailabilityIsAffectedByPersonalCalendar

      public void setAvailabilityIsAffectedByPersonalCalendar(@Nullable Boolean value)
      Sets the availabilityIsAffectedByPersonalCalendar property value. True means that if the staff member is a Microsoft 365 user, the Bookings API would verify the staff member's availability in their personal calendar in Microsoft 365, before making a booking.
      Parameters:
      value - Value to set for the availabilityIsAffectedByPersonalCalendar property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The date, time, and time zone when the staff member 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.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The name of the staff member, as displayed to customers. Required.
      Parameters:
      value - Value to set for the displayName property.
    • setEmailAddress

      public void setEmailAddress(@Nullable String value)
      Sets the emailAddress property value. The email address of the staff member. This email address can be in the same Microsoft 365 tenant as the business, or in a different email domain. This email address can be used if the sendConfirmationsToOwner property is set to true in the scheduling policy of the business. Required.
      Parameters:
      value - Value to set for the emailAddress property.
    • setIsEmailNotificationEnabled

      public void setIsEmailNotificationEnabled(@Nullable Boolean value)
      Sets the isEmailNotificationEnabled property value. Indicates that a staff member is notified via email when a booking assigned to them is created or changed. The default value is true.
      Parameters:
      value - Value to set for the isEmailNotificationEnabled property.
    • setLastUpdatedDateTime

      public void setLastUpdatedDateTime(@Nullable OffsetDateTime value)
      Sets the lastUpdatedDateTime property value. The date, time, and time zone when the staff member 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.
    • setMembershipStatus

      public void setMembershipStatus(@Nullable BookingStaffMembershipStatus value)
      Sets the membershipStatus property value. The membershipStatus property
      Parameters:
      value - Value to set for the membershipStatus property.
    • setRole

      public void setRole(@Nullable BookingStaffRole value)
      Sets the role property value. The role property
      Parameters:
      value - Value to set for the role property.
    • setTimeZone

      public void setTimeZone(@Nullable String value)
      Sets the timeZone property value. The time zone of the staff member. For a list of possible values, see dateTimeTimeZone.
      Parameters:
      value - Value to set for the timeZone property.
    • setUseBusinessHours

      public void setUseBusinessHours(@Nullable Boolean value)
      Sets the useBusinessHours property value. True means the staff member's availability is as specified in the businessHours property of the business. False means the availability is determined by the staff member's workingHours property setting.
      Parameters:
      value - Value to set for the useBusinessHours property.
    • setWorkingHours

      public void setWorkingHours(@Nullable List<BookingWorkHours> value)
      Sets the workingHours property value. The range of hours each day of the week that the staff member is available for booking. By default, they're initialized to be the same as the businessHours property of the business.
      Parameters:
      value - Value to set for the workingHours property.