View Javadoc
1   package org.oxerr.peatio.rest.dto;
2   
3   import com.fasterxml.jackson.annotation.JsonProperty;
4   
5   public class Market extends BaseObject {
6   
7   	private final String id;
8   	private final String name;
9   
10  	public Market(
11  			@JsonProperty("id") String id,
12  			@JsonProperty("name") String name) {
13  		this.id = id;
14  		this.name = name;
15  	}
16  
17  	public String getId() {
18  		return id;
19  	}
20  
21  	public String getName() {
22  		return name;
23  	}
24  
25  }