Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Response/AlipayOpenPublicLifeCreateResponse.cs
“wanyongkang” ed3b2c653e 接口文件
2024-04-10 13:55:27 +08:00

46 lines
1.3 KiB
C#
Raw 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 Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Response
{
/// <summary>
/// AlipayOpenPublicLifeCreateResponse.
/// </summary>
public class AlipayOpenPublicLifeCreateResponse : 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("public_long_link")]
public string PublicLongLink { get; set; }
/// <summary>
/// 生活号短链接
/// </summary>
[JsonProperty("public_short_link")]
public string PublicShortLink { get; set; }
/// <summary>
/// 刷新令牌,当返回值中过期时间快到了,可以通过此令牌来重新刷新令牌,时间自动延长一年
/// </summary>
[JsonProperty("refresh_token")]
public string RefreshToken { get; set; }
/// <summary>
/// 授权token通过授权token可以代替已生成的生活号id进行代理操作例如发送广播等
/// </summary>
[JsonProperty("token")]
public string Token { get; set; }
}
}