com.microsoft.graph.models.NotificationMessageTemplate Maven / Gradle / Ivy
// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
package com.microsoft.graph.models;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.NotificationTemplateBrandingOptions;
import com.microsoft.graph.models.Entity;
import com.microsoft.graph.requests.LocalizedNotificationMessageCollectionPage;
import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Notification Message Template.
*/
public class NotificationMessageTemplate extends Entity implements IJsonBackedObject {
/**
* The Branding Options.
* The Message Template Branding Options. Branding is defined in the Intune Admin Console. Possible values are: none, includeCompanyLogo, includeCompanyName, includeContactInformation, includeCompanyPortalLink, includeDeviceDetails, unknownFutureValue.
*/
@SerializedName(value = "brandingOptions", alternate = {"BrandingOptions"})
@Expose
@Nullable
public EnumSet brandingOptions;
/**
* The Default Locale.
* The default locale to fallback onto when the requested locale is not available.
*/
@SerializedName(value = "defaultLocale", alternate = {"DefaultLocale"})
@Expose
@Nullable
public String defaultLocale;
/**
* The Display Name.
* Display name for the Notification Message Template.
*/
@SerializedName(value = "displayName", alternate = {"DisplayName"})
@Expose
@Nullable
public String displayName;
/**
* The Last Modified Date Time.
* DateTime the object was last modified.
*/
@SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"})
@Expose
@Nullable
public java.time.OffsetDateTime lastModifiedDateTime;
/**
* The Role Scope Tag Ids.
* List of Scope Tags for this Entity instance.
*/
@SerializedName(value = "roleScopeTagIds", alternate = {"RoleScopeTagIds"})
@Expose
@Nullable
public java.util.List roleScopeTagIds;
/**
* The Localized Notification Messages.
* The list of localized messages for this Notification Message Template.
*/
@SerializedName(value = "localizedNotificationMessages", alternate = {"LocalizedNotificationMessages"})
@Expose
@Nullable
public com.microsoft.graph.requests.LocalizedNotificationMessageCollectionPage localizedNotificationMessages;
/**
* Sets the raw JSON object
*
* @param serializer the serializer
* @param json the JSON object to set this object to
*/
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
if (json.has("localizedNotificationMessages")) {
localizedNotificationMessages = serializer.deserializeObject(json.get("localizedNotificationMessages"), com.microsoft.graph.requests.LocalizedNotificationMessageCollectionPage.class);
}
}
}