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

com.mizhousoft.translate.baidu.response.BaiduTranslateResponse Maven / Gradle / Ivy

package com.mizhousoft.translate.baidu.response;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 响应
 *
 */
public class BaiduTranslateResponse
{
	/**
	 * 
	 */
	private String from;

	/**
	 * 
	 */
	private String to;

	/**
	 * 
	 */
	@JsonProperty("trans_result")
	private List results;

	/**
	 * 获取from
	 * 
	 * @return
	 */
	public String getFrom()
	{
		return from;
	}

	/**
	 * 设置from
	 * 
	 * @param from
	 */
	public void setFrom(String from)
	{
		this.from = from;
	}

	/**
	 * 获取to
	 * 
	 * @return
	 */
	public String getTo()
	{
		return to;
	}

	/**
	 * 设置to
	 * 
	 * @param to
	 */
	public void setTo(String to)
	{
		this.to = to;
	}

	/**
	 * 获取results
	 * 
	 * @return
	 */
	public List getResults()
	{
		return results;
	}

	/**
	 * 设置results
	 * 
	 * @param results
	 */
	public void setResults(List results)
	{
		this.results = results;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy