Class VirtualEventTownhall

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

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

    • VirtualEventTownhall

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

    • createFromDiscriminatorValue

      @Nonnull public static VirtualEventTownhall 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 VirtualEventTownhall
    • getAudience

      @Nullable public MeetingAudience getAudience()
      Gets the audience property value. The audience to whom the town hall is visible. Possible values are: everyone, organization, and unknownFutureValue.
      Returns:
      a MeetingAudience
    • getCoOrganizers

      @Nullable public List<CommunicationsUserIdentity> getCoOrganizers()
      Gets the coOrganizers property value. Identity information of the coorganizers of the town hall.
      Returns:
      a List<CommunicationsUserIdentity>
    • 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 VirtualEvent
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getInvitedAttendees

      @Nullable public List<Identity> getInvitedAttendees()
      Gets the invitedAttendees property value. The attendees invited to the town hall. The supported identities are: communicationsUserIdentity and communicationsGuestIdentity.
      Returns:
      a List<Identity>
    • getIsInviteOnly

      @Nullable public Boolean getIsInviteOnly()
      Gets the isInviteOnly property value. Indicates whether the town hall is only open to invited people and groups within your organization. The isInviteOnly property can only be true if the value of the audience property is set to organization.
      Returns:
      a Boolean
    • 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 VirtualEvent
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAudience

      public void setAudience(@Nullable MeetingAudience value)
      Sets the audience property value. The audience to whom the town hall is visible. Possible values are: everyone, organization, and unknownFutureValue.
      Parameters:
      value - Value to set for the audience property.
    • setCoOrganizers

      public void setCoOrganizers(@Nullable List<CommunicationsUserIdentity> value)
      Sets the coOrganizers property value. Identity information of the coorganizers of the town hall.
      Parameters:
      value - Value to set for the coOrganizers property.
    • setInvitedAttendees

      public void setInvitedAttendees(@Nullable List<Identity> value)
      Sets the invitedAttendees property value. The attendees invited to the town hall. The supported identities are: communicationsUserIdentity and communicationsGuestIdentity.
      Parameters:
      value - Value to set for the invitedAttendees property.
    • setIsInviteOnly

      public void setIsInviteOnly(@Nullable Boolean value)
      Sets the isInviteOnly property value. Indicates whether the town hall is only open to invited people and groups within your organization. The isInviteOnly property can only be true if the value of the audience property is set to organization.
      Parameters:
      value - Value to set for the isInviteOnly property.