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

com.sportdataapi.data.Market Maven / Gradle / Ivy

The newest version!
/**
 * 
 */
package com.sportdataapi.data;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Market object for Sportdataapi.com.
 * @author ralph
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class Market {

	private int id;
	private String name;
	
	/**
	 * Constructor.
	 */
	public Market() {
	}

	/**
	 * Returns the id.
	 * @return the id
	 */
	@JsonProperty("market_id")
	public int getId() {
		return id;
	}

	/**
	 * Sets the id.
	 * @param id the id to set
	 */
	@JsonProperty("market_id")
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * Returns the name.
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * Sets the name.
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String toString() {
		return "Market [id=" + id + ", name=" + name + "]";
	}

	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy