public class NotificationMessageTemplate extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationMessageTemplate.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected NotificationTemplateBrandingOptions |
brandingOptions |
protected String |
defaultLocale |
protected String |
displayName |
protected OffsetDateTime |
lastModifiedDateTime |
protected List<String> |
roleScopeTagIds |
protected String |
roleScopeTagIdsNextLink |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
NotificationMessageTemplate() |
| Modifier and Type | Method and Description |
|---|---|
static NotificationMessageTemplate.Builder |
builderNotificationMessageTemplate()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<NotificationTemplateBrandingOptions> |
getBrandingOptions()
“The Message Template Branding Options.
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDefaultLocale()
“The default locale to fallback onto when the requested locale is not available.”
|
Optional<String> |
getDisplayName()
“Display name for the Notification Message Template.”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“DateTime the object was last modified.”
|
LocalizedNotificationMessageCollectionRequest |
getLocalizedNotificationMessages()
“The list of localized messages for this Notification Message Template.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTagIds()
“List of Scope Tags for this Entity instance.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
NotificationMessageTemplate |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
NotificationMessageTemplate |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
sendTestMessage() |
String |
toString() |
NotificationMessageTemplate |
withBrandingOptions(NotificationTemplateBrandingOptions brandingOptions)
Returns an immutable copy of
this with just the brandingOptions
field changed. |
NotificationMessageTemplate |
withDefaultLocale(String defaultLocale)
Returns an immutable copy of
this with just the defaultLocale
field changed. |
NotificationMessageTemplate |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
NotificationMessageTemplate |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
protected OffsetDateTime lastModifiedDateTime
protected String displayName
protected String defaultLocale
protected NotificationTemplateBrandingOptions brandingOptions
protected String roleScopeTagIdsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static NotificationMessageTemplate.Builder builderNotificationMessageTemplate()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<OffsetDateTime> getLastModifiedDateTime()
public NotificationMessageTemplate withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
this with just the lastModifiedDateTime 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.
“DateTime the object was last modified.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<String> getDisplayName()
public NotificationMessageTemplate withDisplayName(String displayName)
this with just the displayName
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.
“Display name for the Notification Message Template.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDefaultLocale()
public NotificationMessageTemplate withDefaultLocale(String defaultLocale)
this with just the defaultLocale
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.
“The default locale to fallback onto when the requested locale is not available.”
defaultLocale - new value of defaultLocale field (as defined in service metadata)this with just the defaultLocale field changedpublic Optional<NotificationTemplateBrandingOptions> getBrandingOptions()
public NotificationMessageTemplate withBrandingOptions(NotificationTemplateBrandingOptions brandingOptions)
this with just the brandingOptions
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.
“The Message Template Branding Options. Branding is defined in the Intune Admin Console.”
brandingOptions - new value of brandingOptions field (as defined in service metadata)this with just the brandingOptions field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
public LocalizedNotificationMessageCollectionRequest getLocalizedNotificationMessages()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic NotificationMessageTemplate patch()
this with changed fields reset.public NotificationMessageTemplate put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn sendTestMessage()
Copyright © 2018–2020. All rights reserved.