com.liferay.mobile.fcm.json.Response Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.mobile.fcm.json;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* @author Bruno Farache
*/
public class Response {
public String error() {
return error;
}
public String[] failedRegistrationIds() {
return failedRegistrationIds;
}
public String messageId() {
return messageId;
}
public long multicastId() {
return multicastId;
}
public int numberOfSucceededMessages() {
return numberOfSucceededMessages;
}
public List results() {
return results;
}
protected String error;
@SerializedName("failed_registration_ids")
protected String[] failedRegistrationIds;
@SerializedName("message_id")
protected String messageId;
@SerializedName("multicast_id")
protected long multicastId;
@SerializedName("success")
protected int numberOfSucceededMessages;
protected List results;
}