Package com.microsoft.graph.models
Class IosNotificationSettings
java.lang.Object
com.microsoft.graph.models.IosNotificationSettings
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class IosNotificationSettings
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
An item describing notification setting.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IosNotificationSettingscreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the alertType property value.Gets the appName property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the badgesEnabled property value.Gets the bundleID property value.Gets the enabled property value.The deserialization information for the current modelGets the @odata.type property value.Gets the publisher property value.Gets the showInNotificationCenter property value.Gets the showOnLockScreen property value.Gets the soundsEnabled property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidSets the alertType property value.voidsetAppName(String value) Sets the appName property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetBadgesEnabled(Boolean value) Sets the badgesEnabled property value.voidsetBundleID(String value) Sets the bundleID property value.voidsetEnabled(Boolean value) Sets the enabled property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetPublisher(String value) Sets the publisher property value.voidSets the showInNotificationCenter property value.voidsetShowOnLockScreen(Boolean value) Sets the showOnLockScreen property value.voidsetSoundsEnabled(Boolean value) Sets the soundsEnabled property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
IosNotificationSettings
public IosNotificationSettings()Instantiates a newIosNotificationSettingsand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static IosNotificationSettings 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
IosNotificationSettings
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getAlertType
Gets the alertType property value. Notification Settings Alert Type.- Returns:
- a
IosNotificationAlertType
-
getAppName
Gets the appName property value. Application name to be associated with the bundleID.- Returns:
- a
String
-
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getBadgesEnabled
Gets the badgesEnabled property value. Indicates whether badges are allowed for this app.- Returns:
- a
Boolean
-
getBundleID
Gets the bundleID property value. Bundle id of app to which to apply these notification settings.- Returns:
- a
String
-
getEnabled
Gets the enabled property value. Indicates whether notifications are allowed for this app.- Returns:
- a
Boolean
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getPublisher
Gets the publisher property value. Publisher to be associated with the bundleID.- Returns:
- a
String
-
getShowInNotificationCenter
Gets the showInNotificationCenter property value. Indicates whether notifications can be shown in notification center.- Returns:
- a
Boolean
-
getShowOnLockScreen
Gets the showOnLockScreen property value. Indicates whether notifications can be shown on the lock screen.- Returns:
- a
Boolean
-
getSoundsEnabled
Gets the soundsEnabled property value. Indicates whether sounds are allowed for this app.- Returns:
- a
Boolean
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setAlertType
Sets the alertType property value. Notification Settings Alert Type.- Parameters:
value- Value to set for the alertType property.
-
setAppName
Sets the appName property value. Application name to be associated with the bundleID.- Parameters:
value- Value to set for the appName property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setBadgesEnabled
Sets the badgesEnabled property value. Indicates whether badges are allowed for this app.- Parameters:
value- Value to set for the badgesEnabled property.
-
setBundleID
Sets the bundleID property value. Bundle id of app to which to apply these notification settings.- Parameters:
value- Value to set for the bundleID property.
-
setEnabled
Sets the enabled property value. Indicates whether notifications are allowed for this app.- Parameters:
value- Value to set for the enabled property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setPublisher
Sets the publisher property value. Publisher to be associated with the bundleID.- Parameters:
value- Value to set for the publisher property.
-
setShowInNotificationCenter
Sets the showInNotificationCenter property value. Indicates whether notifications can be shown in notification center.- Parameters:
value- Value to set for the showInNotificationCenter property.
-
setShowOnLockScreen
Sets the showOnLockScreen property value. Indicates whether notifications can be shown on the lock screen.- Parameters:
value- Value to set for the showOnLockScreen property.
-
setSoundsEnabled
Sets the soundsEnabled property value. Indicates whether sounds are allowed for this app.- Parameters:
value- Value to set for the soundsEnabled property.
-