NewGaoKaoApi/PaymentSDK/AliPay/Domain/PublicMessageInfo.cs

45 lines
1.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// PublicMessageInfo Data Structure.
/// </summary>
[Serializable]
public class PublicMessageInfo : AopObject
{
/// <summary>
/// 内容信息
/// </summary>
[XmlArray("articles")]
[XmlArrayItem("image_text_item")]
public List<ImageTextItem> Articles { get; set; }
/// <summary>
/// 消息id
/// </summary>
[XmlElement("message_id")]
public string MessageId { get; set; }
/// <summary>
/// 消息发送时间
/// </summary>
[XmlElement("send_time")]
public string SendTime { get; set; }
/// <summary>
/// 发送状态。INIT未开始发送、RUNNING发送中、SUCCESS发送成功、FAILURE发送失败、RECALLING撤回中、RECALLED撤回失败
/// </summary>
[XmlElement("status")]
public string Status { get; set; }
/// <summary>
/// 消息状态:未开始发送、发送失败、正在处理中、撤回中、撤回成功、发送成功
/// </summary>
[XmlElement("status_desc")]
public string StatusDesc { get; set; }
}
}