Package com.microsoft.graph.models
Class VirtualEventRegistration
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.VirtualEventRegistration
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class VirtualEventRegistration
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VirtualEventRegistration
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the cancelationDateTime property value.getEmail()
Gets the email property value.Gets the externalRegistrationInformation property value.The deserialization information for the current modelGets the firstName property value.Gets the lastName property value.Gets the preferredLanguage property value.Gets the preferredTimezone property value.Gets the registrationDateTime property value.Gets the registrationQuestionAnswers property value.Gets the sessions property value.Gets the status property value.Gets the userId property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the cancelationDateTime property value.void
Sets the email property value.void
Sets the externalRegistrationInformation property value.void
setFirstName
(String value) Sets the firstName property value.void
setLastName
(String value) Sets the lastName property value.void
setPreferredLanguage
(String value) Sets the preferredLanguage property value.void
setPreferredTimezone
(String value) Sets the preferredTimezone property value.void
Sets the registrationDateTime property value.void
Sets the registrationQuestionAnswers property value.void
setSessions
(List<VirtualEventSession> value) Sets the sessions property value.void
Sets the status property value.void
Sets the userId property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
VirtualEventRegistration
public VirtualEventRegistration()Instantiates a newVirtualEventRegistration
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static VirtualEventRegistration 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
VirtualEventRegistration
-
getCancelationDateTime
Gets the cancelationDateTime property value. Date and time when the registrant cancels their registration for the virtual event. Only appears when applicable. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getEmail
Gets the email property value. Email address of the registrant.- Returns:
- a
String
-
getExternalRegistrationInformation
Gets the externalRegistrationInformation property value. The external information for a virtual event registration.- Returns:
- a
VirtualEventExternalRegistrationInformation
-
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>>
-
getFirstName
Gets the firstName property value. First name of the registrant.- Returns:
- a
String
-
getLastName
Gets the lastName property value. Last name of the registrant.- Returns:
- a
String
-
getPreferredLanguage
Gets the preferredLanguage property value. The registrant's preferred language.- Returns:
- a
String
-
getPreferredTimezone
Gets the preferredTimezone property value. The registrant's time zone details.- Returns:
- a
String
-
getRegistrationDateTime
Gets the registrationDateTime property value. Date and time when the registrant registers for the virtual event. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getRegistrationQuestionAnswers
Gets the registrationQuestionAnswers property value. The registrant's answer to the registration questions.- Returns:
- a
List<VirtualEventRegistrationQuestionAnswer>
-
getSessions
Gets the sessions property value. Sessions for a registration.- Returns:
- a
List<VirtualEventSession>
-
getStatus
Gets the status property value. Registration status of the registrant. Read-only. Possible values are registered, canceled, waitlisted, pendingApproval, rejectedByOrganizer, and unknownFutureValue.- Returns:
- a
VirtualEventAttendeeRegistrationStatus
-
getUserId
Gets the userId property value. The registrant's ID in Microsoft Entra ID. Only appears when the registrant is registered in Microsoft Entra ID.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCancelationDateTime
Sets the cancelationDateTime property value. Date and time when the registrant cancels their registration for the virtual event. Only appears when applicable. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the cancelationDateTime property.
-
setEmail
Sets the email property value. Email address of the registrant.- Parameters:
value
- Value to set for the email property.
-
setExternalRegistrationInformation
public void setExternalRegistrationInformation(@Nullable VirtualEventExternalRegistrationInformation value) Sets the externalRegistrationInformation property value. The external information for a virtual event registration.- Parameters:
value
- Value to set for the externalRegistrationInformation property.
-
setFirstName
Sets the firstName property value. First name of the registrant.- Parameters:
value
- Value to set for the firstName property.
-
setLastName
Sets the lastName property value. Last name of the registrant.- Parameters:
value
- Value to set for the lastName property.
-
setPreferredLanguage
Sets the preferredLanguage property value. The registrant's preferred language.- Parameters:
value
- Value to set for the preferredLanguage property.
-
setPreferredTimezone
Sets the preferredTimezone property value. The registrant's time zone details.- Parameters:
value
- Value to set for the preferredTimezone property.
-
setRegistrationDateTime
Sets the registrationDateTime property value. Date and time when the registrant registers for the virtual event. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the registrationDateTime property.
-
setRegistrationQuestionAnswers
public void setRegistrationQuestionAnswers(@Nullable List<VirtualEventRegistrationQuestionAnswer> value) Sets the registrationQuestionAnswers property value. The registrant's answer to the registration questions.- Parameters:
value
- Value to set for the registrationQuestionAnswers property.
-
setSessions
Sets the sessions property value. Sessions for a registration.- Parameters:
value
- Value to set for the sessions property.
-
setStatus
Sets the status property value. Registration status of the registrant. Read-only. Possible values are registered, canceled, waitlisted, pendingApproval, rejectedByOrganizer, and unknownFutureValue.- Parameters:
value
- Value to set for the status property.
-
setUserId
Sets the userId property value. The registrant's ID in Microsoft Entra ID. Only appears when the registrant is registered in Microsoft Entra ID.- Parameters:
value
- Value to set for the userId property.
-