public class IosNotificationSettings extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
IosNotificationSettings.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected IosNotificationAlertType |
alertType |
protected String |
appName |
protected Boolean |
badgesEnabled |
protected String |
bundleID |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Boolean |
enabled |
protected String |
odataType |
protected String |
publisher |
protected Boolean |
showInNotificationCenter |
protected Boolean |
showOnLockScreen |
protected Boolean |
soundsEnabled |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
IosNotificationSettings() |
| Modifier and Type | Method and Description |
|---|---|
static IosNotificationSettings.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<IosNotificationAlertType> |
getAlertType()
“Indicates the type of alert for notifications for this app.”
|
Optional<String> |
getAppName()
“Application name to be associated with the bundleID.”
|
Optional<Boolean> |
getBadgesEnabled()
“Indicates whether badges are allowed for this app.”
|
Optional<String> |
getBundleID()
“Bundle id of app to which to apply these notification settings.”
|
Optional<Boolean> |
getEnabled()
“Indicates whether notifications are allowed for this app.”
|
Optional<String> |
getPublisher()
“Publisher to be associated with the bundleID.”
|
Optional<Boolean> |
getShowInNotificationCenter()
“Indicates whether notifications can be shown in notification center.”
|
Optional<Boolean> |
getShowOnLockScreen()
“Indicates whether notifications can be shown on the lock screen.”
|
Optional<Boolean> |
getSoundsEnabled()
“Indicates whether sounds are allowed for this app.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
IosNotificationSettings |
withAlertType(IosNotificationAlertType alertType)
Returns an immutable copy of
this with just the alertType field
changed. |
IosNotificationSettings |
withAppName(String appName)
Returns an immutable copy of
this with just the appName field
changed. |
IosNotificationSettings |
withBadgesEnabled(Boolean badgesEnabled)
Returns an immutable copy of
this with just the badgesEnabled
field changed. |
IosNotificationSettings |
withBundleID(String bundleID)
Returns an immutable copy of
this with just the bundleID field
changed. |
IosNotificationSettings |
withEnabled(Boolean enabled)
Returns an immutable copy of
this with just the enabled field
changed. |
IosNotificationSettings |
withPublisher(String publisher)
Returns an immutable copy of
this with just the publisher field
changed. |
IosNotificationSettings |
withShowInNotificationCenter(Boolean showInNotificationCenter)
Returns an immutable copy of
this with just the showInNotificationCenter field changed. |
IosNotificationSettings |
withShowOnLockScreen(Boolean showOnLockScreen)
Returns an immutable copy of
this with just the showOnLockScreen
field changed. |
IosNotificationSettings |
withSoundsEnabled(Boolean soundsEnabled)
Returns an immutable copy of
this with just the soundsEnabled
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String bundleID
protected String appName
protected String publisher
protected Boolean enabled
protected Boolean showInNotificationCenter
protected Boolean showOnLockScreen
protected IosNotificationAlertType alertType
protected Boolean badgesEnabled
protected Boolean soundsEnabled
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getBundleID()
public IosNotificationSettings withBundleID(String bundleID)
this with just the bundleID field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Bundle id of app to which to apply these notification settings.”
bundleID - new value of bundleID field (as defined in service metadata)this with just the bundleID field changedpublic Optional<String> getAppName()
public IosNotificationSettings withAppName(String appName)
this with just the appName field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Application name to be associated with the bundleID.”
appName - new value of appName field (as defined in service metadata)this with just the appName field changedpublic Optional<String> getPublisher()
public IosNotificationSettings withPublisher(String publisher)
this with just the publisher field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Publisher to be associated with the bundleID.”
publisher - new value of publisher field (as defined in service metadata)this with just the publisher field changedpublic Optional<Boolean> getEnabled()
public IosNotificationSettings withEnabled(Boolean enabled)
this with just the enabled field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Indicates whether notifications are allowed for this app.”
enabled - new value of enabled field (as defined in service metadata)this with just the enabled field changedpublic Optional<Boolean> getShowInNotificationCenter()
public IosNotificationSettings withShowInNotificationCenter(Boolean showInNotificationCenter)
this with just the showInNotificationCenter field changed. Field description below. The field name
is also added to an internal map of changed fields in the returned object so
that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Indicates whether notifications can be shown in notification center.”
showInNotificationCenter - new value of showInNotificationCenter field (as defined in service metadata)this with just the showInNotificationCenter field changedpublic Optional<Boolean> getShowOnLockScreen()
public IosNotificationSettings withShowOnLockScreen(Boolean showOnLockScreen)
this with just the showOnLockScreen
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Indicates whether notifications can be shown on the lock screen.”
showOnLockScreen - new value of showOnLockScreen field (as defined in service metadata)this with just the showOnLockScreen field changedpublic Optional<IosNotificationAlertType> getAlertType()
public IosNotificationSettings withAlertType(IosNotificationAlertType alertType)
this with just the alertType field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Indicates the type of alert for notifications for this app.”
alertType - new value of alertType field (as defined in service metadata)this with just the alertType field changedpublic Optional<Boolean> getBadgesEnabled()
public IosNotificationSettings withBadgesEnabled(Boolean badgesEnabled)
this with just the badgesEnabled
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Indicates whether badges are allowed for this app.”
badgesEnabled - new value of badgesEnabled field (as defined in service metadata)this with just the badgesEnabled field changedpublic Optional<Boolean> getSoundsEnabled()
public IosNotificationSettings withSoundsEnabled(Boolean soundsEnabled)
this with just the soundsEnabled
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Indicates whether sounds are allowed for this app.”
soundsEnabled - new value of soundsEnabled field (as defined in service metadata)this with just the soundsEnabled field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static IosNotificationSettings.Builder builder()
Copyright © 2018–2020. All rights reserved.