1 package org.oxerr.okcoin.rest.dto; 2 3 import org.oxerr.okcoin.rest.dto.deserializer.CandlestickChartDeserializer; 4 5 import com.fasterxml.jackson.databind.annotation.JsonDeserialize; 6 7 @JsonDeserialize(using = CandlestickChartDeserializer.class) 8 public class CandlestickChart extends BaseObject { 9 10 private static final long serialVersionUID = 2015020401L; 11 12 private final Candlestick[] candlesticks; 13 14 public CandlestickChart(Candlestick[] candlesticks) { 15 this.candlesticks = candlesticks; 16 } 17 18 public Candlestick[] getCandlesticks() { 19 return candlesticks; 20 } 21 22 }