![JAR search and dependency download from the Maven repository](/logo.png)
com.sportdataapi.data.Market Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sportdata-api-client Show documentation
Show all versions of sportdata-api-client Show documentation
A simple sportdataapi.com client.
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