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

io.gs2.ranking.control.GetRankingResult Maven / Gradle / Ivy

package io.gs2.ranking.control;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.gs2.ranking.model.Ranking;

/**
 * ランキング取得結果。
 * 
 * @author Game Server Services, Inc.
 *
 */
@JsonIgnoreProperties(ignoreUnknown=true)
public class GetRankingResult {

	/** ランキング */
	List items;
	
	/**
	 * 取得したゲームモード数を取得。
	 * 
	 * @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;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy