123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using System;
- namespace PhalApiClientSDK
- {
- /**
- * 接口返回结果
- *
- * - 与接口返回的格式对应,即有:ret/data/msg
- */
- public class PhalApiClientResponse
- {
- public int ret { get; set; }
- public dynamic data { get; set; }
- public String msg { get; set; }
-
- /**
- * 完全构造函数
- * @param int ret
- * @param JSONObject data
- * @param String msg
- */
- public PhalApiClientResponse(int ret, dynamic data, String msg)
- {
- this.ret = ret;
- this.data = data;
- this.msg = msg;
- }
- public PhalApiClientResponse(int ret, dynamic data)
- {
- this.ret = ret;
- this.data = data;
- this.msg = "";
- }
- public PhalApiClientResponse(int ret)
- {
- this.ret = ret;
- this.data = "";
- this.msg = "";
- }
- public PhalApiClientResponse()
- {
-
- }
- }
- }
|