/*
 * Copyright 2014 Taylor Caldwell
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package net.rithms.riot.api.endpoints.static_data.dto;

import java.io.Serializable;

import net.rithms.riot.api.Dto;

public class MetaData extends Dto implements Serializable {

	private static final long serialVersionUID = 8983953859724300000L;

	private boolean isRune;
	private String tier;
	private String type;

	public String getTier() {
		return tier;
	}

	public String getType() {
		return type;
	}

	public boolean isRune() {
		return isRune;
	}

	@Override
	public String toString() {
		return getTier();
	}
}
/*
 * Copyright 2014 Taylor Caldwell
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package net.rithms.riot.api.endpoints.static_data.dto;

import java.io.Serializable;

import com.google.gson.annotations.SerializedName;

import net.rithms.riot.api.Dto;

public class MetaData extends Dto implements Serializable {

	private static final long serialVersionUID = 8983953859724300000L;

	@SerializedName(value = "isRune")
	private boolean rune;
	private String tier;
	private String type;

	public String getTier() {
		return tier;
	}

	public String getType() {
		return type;
	}

	public boolean isRune() {
		return rune;
	}

	@Override
	public String toString() {
		return getTier();
	}
}
Fix MetaData DTO inconsistency