Class LocalizedNotificationMessage

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.LocalizedNotificationMessage
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class LocalizedNotificationMessage extends Entity implements com.microsoft.kiota.serialization.Parsable
The text content of a Notification Message Template for the specified locale.
  • Constructor Details

    • LocalizedNotificationMessage

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

    • createFromDiscriminatorValue

      @Nonnull public static LocalizedNotificationMessage 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 LocalizedNotificationMessage
    • 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>>
    • getIsDefault

      @Nullable public Boolean getIsDefault()
      Gets the isDefault property value. Flag to indicate whether or not this is the default locale for language fallback. This flag can only be set. To unset, set this property to true on another Localized Notification Message.
      Returns:
      a Boolean
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. DateTime the object was last modified.
      Returns:
      a OffsetDateTime
    • getLocale

      @Nullable public String getLocale()
      Gets the locale property value. The Locale for which this message is destined.
      Returns:
      a String
    • getMessageTemplate

      @Nullable public String getMessageTemplate()
      Gets the messageTemplate property value. The Message Template content.
      Returns:
      a String
    • getSubject

      @Nullable public String getSubject()
      Gets the subject property value. The Message Template Subject.
      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 Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setIsDefault

      public void setIsDefault(@Nullable Boolean value)
      Sets the isDefault property value. Flag to indicate whether or not this is the default locale for language fallback. This flag can only be set. To unset, set this property to true on another Localized Notification Message.
      Parameters:
      value - Value to set for the isDefault property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. DateTime the object was last modified.
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setLocale

      public void setLocale(@Nullable String value)
      Sets the locale property value. The Locale for which this message is destined.
      Parameters:
      value - Value to set for the locale property.
    • setMessageTemplate

      public void setMessageTemplate(@Nullable String value)
      Sets the messageTemplate property value. The Message Template content.
      Parameters:
      value - Value to set for the messageTemplate property.
    • setSubject

      public void setSubject(@Nullable String value)
      Sets the subject property value. The Message Template Subject.
      Parameters:
      value - Value to set for the subject property.