org.dc.riot.lol.rx.model.staticdata.LanguageStringsDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lol-api-rxjava Show documentation
Show all versions of lol-api-rxjava Show documentation
Service library for League of Legends API
package org.dc.riot.lol.rx.model.staticdata;
import java.util.HashMap;
import java.util.Map;
/**
* This object contains language strings data.
* Various language data (insert 26 languages meme here).
*
* @author Dc
* @since 1.0.0
*/
public class LanguageStringsDto {
private static long COUNT = 0;
public static long getInstanceCount() {
return COUNT;
}
private Map data;
private String type;
private String version;
public LanguageStringsDto() {
COUNT++;
}
/**
* HUGE hash map of various kinds of pretty print
* strings. Probably not super useful to anybody but
* Riot Games.
*
* @return Data.
*/
public Map getData() {
if (data == null) {
return new HashMap<>();
}
return data;
}
/**
* @return Type of data.
*/
public String getType() {
return type;
}
/**
* @return Version (patch).
*/
public String getVersion() {
return version;
}
}