Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Response/AlipayOpenPublicLifeAccountCreateResponse.cs

34 lines
1.0 KiB
C#
Raw Normal View History

2020-10-07 20:25:03 +08:00
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Response
{
/// <summary>
/// AlipayOpenPublicLifeAccountCreateResponse.
/// </summary>
public class AlipayOpenPublicLifeAccountCreateResponse : AopResponse
{
/// <summary>
/// 过期时间在过期时间之前需要拿refresh_token重新换取新的token使用
/// </summary>
[JsonProperty("expire_time")]
public string ExpireTime { get; set; }
/// <summary>
/// 生活号id用于表示此生活号唯一性
/// </summary>
[JsonProperty("public_id")]
public string PublicId { get; set; }
/// <summary>
/// 刷新令牌,当返回值中过期时间快到了,可以通过此令牌来重新刷新令牌,时间自动延长一年
/// </summary>
[JsonProperty("refresh_token")]
public string RefreshToken { get; set; }
/// <summary>
/// 授权token通过授权token可以代替已生成的生活号id进行代理操作例如发送广播等
/// </summary>
[JsonProperty("token")]
public string Token { get; set; }
}
}