Class VirtualEvent

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.VirtualEvent
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel
Direct Known Subclasses:
VirtualEventTownhall, VirtualEventWebinar

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

    • VirtualEvent

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

    • createFromDiscriminatorValue

      @Nonnull public static VirtualEvent 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 VirtualEvent
    • getCreatedBy

      @Nullable public CommunicationsIdentitySet getCreatedBy()
      Gets the createdBy property value. The identity information for the creator of the virtual event. Inherited from virtualEvent.
      Returns:
      a CommunicationsIdentitySet
    • getDescription

      @Nullable public ItemBody getDescription()
      Gets the description property value. A description of the virtual event.
      Returns:
      a ItemBody
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The display name of the virtual event.
      Returns:
      a String
    • getEndDateTime

      @Nullable public DateTimeTimeZone getEndDateTime()
      Gets the endDateTime property value. The end time of the virtual event. The timeZone property can be set to any of the time zones currently supported by Windows. For details on how to get all available time zones using PowerShell, see Get-TimeZone.
      Returns:
      a DateTimeTimeZone
    • getExternalEventInformation

      @Nullable public List<VirtualEventExternalInformation> getExternalEventInformation()
      Gets the externalEventInformation property value. The external information of a virtual event. Returned only for event organizers or coorganizers; otherwise, null.
      Returns:
      a List<VirtualEventExternalInformation>
    • 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>>
    • getPresenters

      @Nullable public List<VirtualEventPresenter> getPresenters()
      Gets the presenters property value. The virtual event presenters.
      Returns:
      a List<VirtualEventPresenter>
    • getSessions

      @Nullable public List<VirtualEventSession> getSessions()
      Gets the sessions property value. The sessions for the virtual event.
      Returns:
      a List<VirtualEventSession>
    • getSettings

      @Nullable public VirtualEventSettings getSettings()
      Gets the settings property value. The virtual event settings.
      Returns:
      a VirtualEventSettings
    • getStartDateTime

      @Nullable public DateTimeTimeZone getStartDateTime()
      Gets the startDateTime property value. Start time of the virtual event. The timeZone property can be set to any of the time zones currently supported by Windows. For details on how to get all available time zones using PowerShell, see Get-TimeZone.
      Returns:
      a DateTimeTimeZone
    • getStatus

      @Nullable public VirtualEventStatus getStatus()
      Gets the status property value. The status of the virtual event. The possible values are: draft, published, canceled, and unknownFutureValue.
      Returns:
      a VirtualEventStatus
    • 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
    • setCreatedBy

      public void setCreatedBy(@Nullable CommunicationsIdentitySet value)
      Sets the createdBy property value. The identity information for the creator of the virtual event. Inherited from virtualEvent.
      Parameters:
      value - Value to set for the createdBy property.
    • setDescription

      public void setDescription(@Nullable ItemBody value)
      Sets the description property value. A description of the virtual event.
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The display name of the virtual event.
      Parameters:
      value - Value to set for the displayName property.
    • setEndDateTime

      public void setEndDateTime(@Nullable DateTimeTimeZone value)
      Sets the endDateTime property value. The end time of the virtual event. The timeZone property can be set to any of the time zones currently supported by Windows. For details on how to get all available time zones using PowerShell, see Get-TimeZone.
      Parameters:
      value - Value to set for the endDateTime property.
    • setExternalEventInformation

      public void setExternalEventInformation(@Nullable List<VirtualEventExternalInformation> value)
      Sets the externalEventInformation property value. The external information of a virtual event. Returned only for event organizers or coorganizers; otherwise, null.
      Parameters:
      value - Value to set for the externalEventInformation property.
    • setPresenters

      public void setPresenters(@Nullable List<VirtualEventPresenter> value)
      Sets the presenters property value. The virtual event presenters.
      Parameters:
      value - Value to set for the presenters property.
    • setSessions

      public void setSessions(@Nullable List<VirtualEventSession> value)
      Sets the sessions property value. The sessions for the virtual event.
      Parameters:
      value - Value to set for the sessions property.
    • setSettings

      public void setSettings(@Nullable VirtualEventSettings value)
      Sets the settings property value. The virtual event settings.
      Parameters:
      value - Value to set for the settings property.
    • setStartDateTime

      public void setStartDateTime(@Nullable DateTimeTimeZone value)
      Sets the startDateTime property value. Start time of the virtual event. The timeZone property can be set to any of the time zones currently supported by Windows. For details on how to get all available time zones using PowerShell, see Get-TimeZone.
      Parameters:
      value - Value to set for the startDateTime property.
    • setStatus

      public void setStatus(@Nullable VirtualEventStatus value)
      Sets the status property value. The status of the virtual event. The possible values are: draft, published, canceled, and unknownFutureValue.
      Parameters:
      value - Value to set for the status property.