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

com.urbanairship.api.push.model.notification.android.AndroidDevicePayload 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.android;

import com.google.common.base.Preconditions;
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 java.util.Map;
import java.util.Optional;

public final class AndroidDevicePayload extends PushModelObject implements DevicePayloadOverride {

    private final Optional alert;
    private final Optional collapseKey;
    private final Optional notificationChannel;
    private final Optional notificationTag;
    private final Optional timeToLive;
    private final Optional deliveryPriority;
    private final Optional delayWhileIdle;
    private final Optional> extra;
    private final Optional interactive;
    private final Optional title;
    private final Optional localOnly;
    private final Optional wearable;
    private final Optional summary;
    private final Optional