Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.BookingCustomerInformationBase
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BookingCustomerInformationcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the customerId property value.Gets the customQuestionAnswers property value.Gets the emailAddress property value.The deserialization information for the current modelGets the location property value.getName()Gets the name property value.getNotes()Gets the notes property value.getPhone()Gets the phone property value.Gets the timeZone property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetCustomerId(String value) Sets the customerId property value.voidSets the customQuestionAnswers property value.voidsetEmailAddress(String value) Sets the emailAddress property value.voidsetLocation(Location value) Sets the location property value.voidSets the name property value.voidSets the notes property value.voidSets the phone property value.voidsetTimeZone(String value) Sets the timeZone property value.Methods inherited from class com.microsoft.graph.models.BookingCustomerInformationBase
getAdditionalData, getBackingStore, getOdataType, setAdditionalData, setBackingStore, setOdataType
-
Constructor Details
-
BookingCustomerInformation
public BookingCustomerInformation()Instantiates a newBookingCustomerInformationand 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
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
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
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classBookingCustomerInformationBase- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLocation
Gets the location property value. Represents location information for thebookingCustomerwho is booking the appointment.- Returns:
- a
Location
-
getName
Gets the name property value. The customer's name.- Returns:
- a
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
Gets the phone property value. The customer's phone number.- Returns:
- a
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classBookingCustomerInformationBase- Parameters:
writer- Serialization writer to use to serialize this model
-
setCustomerId
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
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
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
Sets the location property value. Represents location information for thebookingCustomerwho is booking the appointment.- Parameters:
value- Value to set for the location property.
-
setName
Sets the name property value. The customer's name.- Parameters:
value- Value to set for the name property.
-
setNotes
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
Sets the phone property value. The customer's phone number.- Parameters:
value- Value to set for the phone property.
-
setTimeZone
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.
-