Class BookingCustomerInformation

java.lang.Object
com.microsoft.graph.models.BookingCustomerInformationBase
com.microsoft.graph.models.BookingCustomerInformation
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class BookingCustomerInformation extends BookingCustomerInformationBase implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • BookingCustomerInformation

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

    • createFromDiscriminatorValue

      @Nonnull public static BookingCustomerInformation 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 BookingCustomerInformation
    • getCustomerId

      @Nullable public String getCustomerId()
      Gets the customerId property value. The ID of the bookingCustomer for this appointment. If no ID is specified when an appointment is created, then a new bookingCustomer object is created. Once set, you should consider the customerId immutable.
      Returns:
      a String
    • getCustomQuestionAnswers

      @Nullable public List<BookingQuestionAnswer> getCustomQuestionAnswers()
      Gets the customQuestionAnswers property value. It consists of the list of custom questions and answers given by the customer as part of the appointment
      Returns:
      a List<BookingQuestionAnswer>
    • getEmailAddress

      @Nullable public String getEmailAddress()
      Gets the emailAddress property value. The SMTP address of the bookingCustomer who is booking the appointment
      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 BookingCustomerInformationBase
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getLocation

      @Nullable public Location getLocation()
      Gets the location property value. Represents location information for thebookingCustomerwho is booking the appointment.
      Returns:
      a Location
    • getName

      @Nullable public String getName()
      Gets the name property value. The customer's name.
      Returns:
      a String
    • getNotes

      @Nullable public String getNotes()
      Gets the notes property value. Notes from the customer associated with this appointment. You can get the value only when reading this bookingAppointment by its ID. You can set this property only when initially creating an appointment with a new customer. After that point, the value is computed from the customer represented by the customerId.
      Returns:
      a String
    • getPhone

      @Nullable public String getPhone()
      Gets the phone property value. The customer's phone number.
      Returns:
      a String
    • getTimeZone

      @Nullable public String getTimeZone()
      Gets the timeZone property value. The time zone of the customer. For a list of possible values, see dateTimeTimeZone.
      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 BookingCustomerInformationBase
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCustomerId

      public void setCustomerId(@Nullable String value)
      Sets the customerId property value. The ID of the bookingCustomer for this appointment. If no ID is specified when an appointment is created, then a new bookingCustomer object is created. Once set, you should consider the customerId immutable.
      Parameters:
      value - Value to set for the customerId property.
    • setCustomQuestionAnswers

      public void setCustomQuestionAnswers(@Nullable List<BookingQuestionAnswer> value)
      Sets the customQuestionAnswers property value. It consists of the list of custom questions and answers given by the customer as part of the appointment
      Parameters:
      value - Value to set for the customQuestionAnswers property.
    • setEmailAddress

      public void setEmailAddress(@Nullable String value)
      Sets the emailAddress property value. The SMTP address of the bookingCustomer who is booking the appointment
      Parameters:
      value - Value to set for the emailAddress property.
    • setLocation

      public void setLocation(@Nullable Location value)
      Sets the location property value. Represents location information for thebookingCustomerwho is booking the appointment.
      Parameters:
      value - Value to set for the location property.
    • setName

      public void setName(@Nullable String value)
      Sets the name property value. The customer's name.
      Parameters:
      value - Value to set for the name property.
    • setNotes

      public void setNotes(@Nullable String value)
      Sets the notes property value. Notes from the customer associated with this appointment. You can get the value only when reading this bookingAppointment by its ID. You can set this property only when initially creating an appointment with a new customer. After that point, the value is computed from the customer represented by the customerId.
      Parameters:
      value - Value to set for the notes property.
    • setPhone

      public void setPhone(@Nullable String value)
      Sets the phone property value. The customer's phone number.
      Parameters:
      value - Value to set for the phone property.
    • setTimeZone

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