All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.urbanairship.api.push.model.notification.adm.ADMDevicePayload Maven / Gradle / Ivy

There is a newer version: 9.4.2
Show newest version
/*
 * Copyright (c) 2013-2016.  Urban Airship and Contributors
 */

package com.urbanairship.api.push.model.notification.adm;

import com.google.common.base.Objects;
import com.google.common.collect.ImmutableMap;
import com.urbanairship.api.push.model.DeviceType;
import com.urbanairship.api.push.model.PushExpiry;
import com.urbanairship.api.push.model.PushModelObject;
import com.urbanairship.api.push.model.notification.DevicePayloadOverride;
import com.urbanairship.api.push.model.notification.Interactive;
import com.urbanairship.api.push.model.notification.actions.Actions;
import com.urbanairship.api.push.model.notification.android.Style;

import java.util.Map;
import java.util.Optional;

public final class ADMDevicePayload extends PushModelObject implements DevicePayloadOverride {
    private final Optional alert;
    private final Optional consolidationKey;
    private final Optional expiresAfter;
    private final Optional> extra;
    private final Optional interactive;
    private final Optional actions;
    private final Optional icon;
    private final Optional iconColor;
    private final Optional notificationChannel;
    private final Optional notificationTag;
    private final Optional sound;
    private final Optional summary;
    private final Optional title;
    private final Optional