Files
phalapi-pro/sdk/C_Sharp/PhalApiClient/PhalApiClientResponse.cs
2022-03-21 11:16:38 +08:00

52 lines
1.0 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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()
{
}
}
}