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

    • VirtualEventRegistration

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

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

      @Nullable public String getEmail()
      Gets the email property value. Email address of the registrant.
      Returns:
      a String
    • getExternalRegistrationInformation

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

      @Nullable public String getFirstName()
      Gets the firstName property value. First name of the registrant.
      Returns:
      a String
    • getLastName

      @Nullable public String getLastName()
      Gets the lastName property value. Last name of the registrant.
      Returns:
      a String
    • getPreferredLanguage

      @Nullable public String getPreferredLanguage()
      Gets the preferredLanguage property value. The registrant's preferred language.
      Returns:
      a String
    • getPreferredTimezone

      @Nullable public String getPreferredTimezone()
      Gets the preferredTimezone property value. The registrant's time zone details.
      Returns:
      a String
    • getRegistrationDateTime

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

      @Nullable public List<VirtualEventRegistrationQuestionAnswer> getRegistrationQuestionAnswers()
      Gets the registrationQuestionAnswers property value. The registrant's answer to the registration questions.
      Returns:
      a List<VirtualEventRegistrationQuestionAnswer>
    • getSessions

      @Nullable public List<VirtualEventSession> getSessions()
      Gets the sessions property value. Sessions for a registration.
      Returns:
      a List<VirtualEventSession>
    • getStatus

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

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

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

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

      public void setFirstName(@Nullable String value)
      Sets the firstName property value. First name of the registrant.
      Parameters:
      value - Value to set for the firstName property.
    • setLastName

      public void setLastName(@Nullable String value)
      Sets the lastName property value. Last name of the registrant.
      Parameters:
      value - Value to set for the lastName property.
    • setPreferredLanguage

      public void setPreferredLanguage(@Nullable String value)
      Sets the preferredLanguage property value. The registrant's preferred language.
      Parameters:
      value - Value to set for the preferredLanguage property.
    • setPreferredTimezone

      public void setPreferredTimezone(@Nullable String value)
      Sets the preferredTimezone property value. The registrant's time zone details.
      Parameters:
      value - Value to set for the preferredTimezone property.
    • setRegistrationDateTime

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

      public void setSessions(@Nullable List<VirtualEventSession> value)
      Sets the sessions property value. Sessions for a registration.
      Parameters:
      value - Value to set for the sessions property.
    • setStatus

      public void setStatus(@Nullable VirtualEventAttendeeRegistrationStatus value)
      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

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