content: package com.soecode.wxtools.bean;
  
  import java.io.IOException;
  import java.util.List;
  
  import org.codehaus.jackson.JsonGenerationException;
  import org.codehaus.jackson.map.JsonMappingException;
  import org.codehaus.jackson.map.ObjectMapper;
  
  public class WxJsapiConfig {
  	private String appid;
  
  	private String noncestr;
  
  	private long timestamp;
  
  	private String url;
  
  	private String signature;
  	
  	private List<String> jsApiList;
  	
  	public List<String> getJsApiList() {
  		return jsApiList;
  	}
  
  	public void setJsApiList(List<String> jsApiList) {
  		this.jsApiList = jsApiList;
  	}
  
  	public String getSignature() {
  		return signature;
  	}
  
  	public void setSignature(String signature) {
  		this.signature = signature;
  	}
  
  	public String getNoncestr() {
  		return noncestr;
  	}
  
  	public void setNoncestr(String noncestr) {
  		this.noncestr = noncestr;
  	}
  
  	public long getTimestamp() {
  		return timestamp;
  	}
  
  	public void setTimestamp(long timestamp) {
  		this.timestamp = timestamp;
  	}
  
  	public String getUrl() {
  		return url;
  	}
  
  	public void setUrl(String url) {
  		this.url = url;
  	}
  
  	public String getAppid() {
  		return appid;
  	}
  
  	public void setAppid(String appid) {
  		this.appid = appid;
  	}
  
  	public String toJson() throws JsonGenerationException, JsonMappingException, IOException{
  		ObjectMapper mapper = new ObjectMapper();
  		return mapper.writeValueAsString(this);
  	}
  }
  