com.firefly.wechat.model.app.SessionKeyRequest Maven / Gradle / Ivy
package com.firefly.wechat.model.app;
import java.io.Serializable;
/**
* @author Pengtao Qiu
*/
public class SessionKeyRequest implements Serializable {
private static final long serialVersionUID = 1L;
private String appid;
private String secret;
private String js_code;
private String grant_type = "authorization_code";
public String getAppid() {
return appid;
}
public void setAppid(String appid) {
this.appid = appid;
}
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public String getJs_code() {
return js_code;
}
public void setJs_code(String js_code) {
this.js_code = js_code;
}
public String getGrant_type() {
return grant_type;
}
public void setGrant_type(String grant_type) {
this.grant_type = grant_type;
}
@Override
public String toString() {
return "SessionKeyRequest{" +
"appid='" + appid + '\'' +
", secret='" + secret + '\'' +
", js_code='" + js_code + '\'' +
", grant_type='" + grant_type + '\'' +
'}';
}
}