Package com.microsoft.graph.models
Class VirtualEventTownhall
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.VirtualEvent
com.microsoft.graph.models.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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VirtualEventTownhallcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the audience property value.Gets the coOrganizers property value.The deserialization information for the current modelGets the invitedAttendees property value.Gets the isInviteOnly property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAudience(MeetingAudience value) Sets the audience property value.voidSets the coOrganizers property value.voidsetInvitedAttendees(List<Identity> value) Sets the invitedAttendees property value.voidsetIsInviteOnly(Boolean value) Sets the isInviteOnly property value.Methods inherited from class com.microsoft.graph.models.VirtualEvent
getCreatedBy, getDescription, getDisplayName, getEndDateTime, getExternalEventInformation, getPresenters, getSessions, getSettings, getStartDateTime, getStatus, setCreatedBy, setDescription, setDisplayName, setEndDateTime, setExternalEventInformation, setPresenters, setSessions, setSettings, setStartDateTime, setStatusMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
VirtualEventTownhall
public VirtualEventTownhall()Instantiates a newVirtualEventTownhalland 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
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
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classVirtualEvent- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getInvitedAttendees
Gets the invitedAttendees property value. The attendees invited to the town hall. The supported identities are: communicationsUserIdentity and communicationsGuestIdentity. -
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classVirtualEvent- Parameters:
writer- Serialization writer to use to serialize this model
-
setAudience
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
Sets the coOrganizers property value. Identity information of the coorganizers of the town hall.- Parameters:
value- Value to set for the coOrganizers property.
-
setInvitedAttendees
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
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.
-