
com.github.qcloudsms.SmsStatusPullReplyResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sms Show documentation
Show all versions of sms Show documentation
this Repository is responsible for qlcoud sms sdk
The newest version!
package com.github.qcloudsms;
import java.util.ArrayList;
/*
* 状态回调拉回复结果
*/
public class SmsStatusPullReplyResult {
public class Reply{
String nationcode;
String mobile;
String text;
String sign;
long time;
public String toString(){
return String.format(
"nationcode:%s\t"
+"mobile:%s\t"
+"text:%s\t"
+"sign:%s\t"
+"time:%d\n",
nationcode,
mobile,
text,
sign,
time
);
}
}
int result;
String errmsg;
int count;
ArrayList replys;
public String toString() {
if (0 == result) {
return String.format("SmsStatusReplyResult:\n"
+ "result:%d\n"
+ "errmsg:%s\n"
+ "count:%d\n"
+ "replys:%s\n",
result,
errmsg,
count,
replys.toString()
);
} else {
return String.format("SmsStatusReplyResult:\n"
+ "result:%d\n"
+ "errmsg:%s\n", result, errmsg);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy