Package com.microsoft.graph.models
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.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newLocalizedNotificationMessage
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionstatic LocalizedNotificationMessage
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the isDefault property value.Gets the lastModifiedDateTime property value.Gets the locale property value.Gets the messageTemplate property value.Gets the subject property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setIsDefault
(Boolean value) Sets the isDefault property value.void
Sets the lastModifiedDateTime property value.void
Sets the locale property value.void
setMessageTemplate
(String value) Sets the messageTemplate 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
-
LocalizedNotificationMessage
public LocalizedNotificationMessage()Instantiates a newLocalizedNotificationMessage
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
Gets the lastModifiedDateTime property value. DateTime the object was last modified.- Returns:
- a
OffsetDateTime
-
getLocale
Gets the locale property value. The Locale for which this message is destined.- Returns:
- a
String
-
getMessageTemplate
Gets the messageTemplate property value. The Message Template content.- Returns:
- a
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 -
setIsDefault
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
Sets the lastModifiedDateTime property value. DateTime the object was last modified.- Parameters:
value
- Value to set for the lastModifiedDateTime property.
-
setLocale
Sets the locale property value. The Locale for which this message is destined.- Parameters:
value
- Value to set for the locale property.
-
setMessageTemplate
Sets the messageTemplate property value. The Message Template content.- Parameters:
value
- Value to set for the messageTemplate property.
-
setSubject
Sets the subject property value. The Message Template Subject.- Parameters:
value
- Value to set for the subject property.
-