
de.bytefish.fcmjava.requests.FcmUnicastMessage Maven / Gradle / Ivy
// Copyright (c) Philipp Wagner. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
package de.bytefish.fcmjava.requests;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import de.bytefish.fcmjava.model.options.FcmMessageOptions;
@JsonInclude(JsonInclude.Include.NON_NULL)
public abstract class FcmUnicastMessage extends FcmMessage {
private final String to;
public FcmUnicastMessage(FcmMessageOptions options, String to) {
super(options);
this.to = to;
}
@JsonProperty("to")
public String getTo() {
return to;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy