Package com.microsoft.graph.models
Class EmergencyCallEvent
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.CallEvent
com.microsoft.graph.models.EmergencyCallEvent
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class EmergencyCallEvent
extends CallEvent
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 EmergencyCallEventcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the callerInfo property value.Gets the emergencyNumberDialed property value.The deserialization information for the current modelGets the policyName property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetCallerInfo(EmergencyCallerInfo value) Sets the callerInfo property value.voidsetEmergencyNumberDialed(String value) Sets the emergencyNumberDialed property value.voidsetPolicyName(String value) Sets the policyName property value.Methods inherited from class com.microsoft.graph.models.CallEvent
getCallEventType, getEventDateTime, getParticipants, setCallEventType, setEventDateTime, setParticipantsMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
EmergencyCallEvent
public EmergencyCallEvent()Instantiates a newEmergencyCallEventand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static EmergencyCallEvent 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
EmergencyCallEvent
-
getCallerInfo
Gets the callerInfo property value. The callerInfo property- Returns:
- a
EmergencyCallerInfo
-
getEmergencyNumberDialed
Gets the emergencyNumberDialed property value. The emergencyNumberDialed property- Returns:
- a
String
-
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 classCallEvent- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getPolicyName
Gets the policyName property value. The policyName property- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCallerInfo
Sets the callerInfo property value. The callerInfo property- Parameters:
value- Value to set for the callerInfo property.
-
setEmergencyNumberDialed
Sets the emergencyNumberDialed property value. The emergencyNumberDialed property- Parameters:
value- Value to set for the emergencyNumberDialed property.
-
setPolicyName
Sets the policyName property value. The policyName property- Parameters:
value- Value to set for the policyName property.
-