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

    • EmergencyCallEvent

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

      @Nullable public EmergencyCallerInfo getCallerInfo()
      Gets the callerInfo property value. The information of the emergency caller.
      Returns:
      a EmergencyCallerInfo
    • getEmergencyNumberDialed

      @Nullable public String getEmergencyNumberDialed()
      Gets the emergencyNumberDialed property value. The emergency number dialed.
      Returns:
      a String
    • 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 CallEvent
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getPolicyName

      @Nullable public String getPolicyName()
      Gets the policyName property value. The policy name for the emergency call event.
      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 CallEvent
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCallerInfo

      public void setCallerInfo(@Nullable EmergencyCallerInfo value)
      Sets the callerInfo property value. The information of the emergency caller.
      Parameters:
      value - Value to set for the callerInfo property.
    • setEmergencyNumberDialed

      public void setEmergencyNumberDialed(@Nullable String value)
      Sets the emergencyNumberDialed property value. The emergency number dialed.
      Parameters:
      value - Value to set for the emergencyNumberDialed property.
    • setPolicyName

      public void setPolicyName(@Nullable String value)
      Sets the policyName property value. The policy name for the emergency call event.
      Parameters:
      value - Value to set for the policyName property.