Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EndUserNotificationDetail
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the emailContent property value.The deserialization information for the current modelGets the isDefaultLangauge property value.Gets the language property value.Gets the locale property value.Gets the sentFrom property value.Gets the subject property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setEmailContent
(String value) Sets the emailContent property value.void
setIsDefaultLangauge
(Boolean value) Sets the isDefaultLangauge property value.void
setLanguage
(String value) Sets the language property value.void
Sets the locale property value.void
setSentFrom
(EmailIdentity value) Sets the sentFrom property value.void
setSubject
(String value) Sets the subject property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
EndUserNotificationDetail
public EndUserNotificationDetail()Instantiates a newEndUserNotificationDetail
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
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIsDefaultLangauge
Gets the isDefaultLangauge property value. Indicates whether this language is default.- Returns:
- a
Boolean
-
getLanguage
Gets the language property value. Notification language.- Returns:
- a
String
-
getLocale
Gets the locale property value. Notification locale.- Returns:
- a
String
-
getSentFrom
Gets the sentFrom property value. The sentFrom property- Returns:
- a
EmailIdentity
-
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 -
setEmailContent
Sets the emailContent property value. Email HTML content.- Parameters:
value
- Value to set for the emailContent property.
-
setIsDefaultLangauge
Sets the isDefaultLangauge property value. Indicates whether this language is default.- Parameters:
value
- Value to set for the isDefaultLangauge property.
-
setLanguage
Sets the language property value. Notification language.- Parameters:
value
- Value to set for the language property.
-
setLocale
Sets the locale property value. Notification locale.- Parameters:
value
- Value to set for the locale property.
-
setSentFrom
Sets the sentFrom property value. The sentFrom property- Parameters:
value
- Value to set for the sentFrom property.
-
setSubject
Sets the subject property value. Mail subject.- Parameters:
value
- Value to set for the subject property.
-