
io.gs2.notification.control.DescribeSubscribeResult Maven / Gradle / Ivy
package io.gs2.notification.control;
import java.util.List;
import io.gs2.notification.model.Subscribe;
/**
* 通知先一覧取得結果。
*
* @author Game Server Services, Inc.
*
*/
public class DescribeSubscribeResult {
/** 通知先一覧 */
List items;
/** 次のページを取得するためのトークン */
String nextPageToken;
/**
* 取得した通知先数を取得。
*
* @return 取得した通知先数
*/
public Integer getCount() {
return items == null ? null : items.size();
}
@Deprecated
public void setCount(Integer count){ }
/**
* 取得した通知先一覧を取得。
*
* @return 通知先一覧
*/
public List getItems() {
return items;
}
/**
* 通知先一覧を設定。
*
* @param items 通知先一覧
*/
public void setItems(List items) {
this.items = items;
}
/**
* 次のページを取得するためのトークンを取得。
*
* {@link DescribeSubscribeRequest} に指定することで、次のページを取得できます。
*
* @return トークン
*/
public String getNextPageToken() {
return nextPageToken;
}
public void setNextPageToken(String nextPageToken) {
this.nextPageToken = nextPageToken;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy