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 Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • IosNotificationSettings

      public IosNotificationSettings()
      Instantiates a new IosNotificationSettings and 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

      @Nonnull public Map<String,Object> 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.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getAlertType

      @Nullable public IosNotificationAlertType getAlertType()
      Gets the alertType property value. Notification Settings Alert Type.
      Returns:
      a IosNotificationAlertType
    • getAppName

      @Nullable public String 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:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getBadgesEnabled

      @Nullable public Boolean getBadgesEnabled()
      Gets the badgesEnabled property value. Indicates whether badges are allowed for this app.
      Returns:
      a Boolean
    • getBundleID

      @Nullable public String getBundleID()
      Gets the bundleID property value. Bundle id of app to which to apply these notification settings.
      Returns:
      a String
    • getEnabled

      @Nullable public Boolean 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
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getPublisher

      @Nullable public String getPublisher()
      Gets the publisher property value. Publisher to be associated with the bundleID.
      Returns:
      a String
    • getShowInNotificationCenter

      @Nullable public Boolean getShowInNotificationCenter()
      Gets the showInNotificationCenter property value. Indicates whether notifications can be shown in notification center.
      Returns:
      a Boolean
    • getShowOnLockScreen

      @Nullable public Boolean getShowOnLockScreen()
      Gets the showOnLockScreen property value. Indicates whether notifications can be shown on the lock screen.
      Returns:
      a Boolean
    • getSoundsEnabled

      @Nullable public 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      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

      public void setAlertType(@Nullable IosNotificationAlertType value)
      Sets the alertType property value. Notification Settings Alert Type.
      Parameters:
      value - Value to set for the alertType property.
    • setAppName

      public void setAppName(@Nullable String value)
      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

      public void setBadgesEnabled(@Nullable Boolean value)
      Sets the badgesEnabled property value. Indicates whether badges are allowed for this app.
      Parameters:
      value - Value to set for the badgesEnabled property.
    • setBundleID

      public void setBundleID(@Nullable String value)
      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

      public void setEnabled(@Nullable Boolean value)
      Sets the enabled property value. Indicates whether notifications are allowed for this app.
      Parameters:
      value - Value to set for the enabled property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setPublisher

      public void setPublisher(@Nullable String value)
      Sets the publisher property value. Publisher to be associated with the bundleID.
      Parameters:
      value - Value to set for the publisher property.
    • setShowInNotificationCenter

      public void setShowInNotificationCenter(@Nullable Boolean value)
      Sets the showInNotificationCenter property value. Indicates whether notifications can be shown in notification center.
      Parameters:
      value - Value to set for the showInNotificationCenter property.
    • setShowOnLockScreen

      public void setShowOnLockScreen(@Nullable Boolean value)
      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

      public void setSoundsEnabled(@Nullable Boolean value)
      Sets the soundsEnabled property value. Indicates whether sounds are allowed for this app.
      Parameters:
      value - Value to set for the soundsEnabled property.