Class EndUserNotificationDetail

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

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

    • EndUserNotificationDetail

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

    • createFromDiscriminatorValue

      @Nonnull public static EndUserNotificationDetail 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 EndUserNotificationDetail
    • getEmailContent

      @Nullable public String getEmailContent()
      Gets the emailContent property value. Email HTML content.
      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 Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsDefaultLangauge

      @Nullable public Boolean getIsDefaultLangauge()
      Gets the isDefaultLangauge property value. Indicates whether this language is default.
      Returns:
      a Boolean
    • getLanguage

      @Nullable public String getLanguage()
      Gets the language property value. Notification language.
      Returns:
      a String
    • getLocale

      @Nullable public String getLocale()
      Gets the locale property value. Notification locale.
      Returns:
      a String
    • getSentFrom

      @Nullable public EmailIdentity getSentFrom()
      Gets the sentFrom property value. The sentFrom property
      Returns:
      a EmailIdentity
    • getSubject

      @Nullable public String getSubject()
      Gets the subject property value. Mail 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
    • setEmailContent

      public void setEmailContent(@Nullable String value)
      Sets the emailContent property value. Email HTML content.
      Parameters:
      value - Value to set for the emailContent property.
    • setIsDefaultLangauge

      public void setIsDefaultLangauge(@Nullable Boolean value)
      Sets the isDefaultLangauge property value. Indicates whether this language is default.
      Parameters:
      value - Value to set for the isDefaultLangauge property.
    • setLanguage

      public void setLanguage(@Nullable String value)
      Sets the language property value. Notification language.
      Parameters:
      value - Value to set for the language property.
    • setLocale

      public void setLocale(@Nullable String value)
      Sets the locale property value. Notification locale.
      Parameters:
      value - Value to set for the locale property.
    • setSentFrom

      public void setSentFrom(@Nullable EmailIdentity value)
      Sets the sentFrom property value. The sentFrom property
      Parameters:
      value - Value to set for the sentFrom property.
    • setSubject

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