NewGaoKaoApi/PaymentSDK/AliPay/Domain/KbAdvertAdvContentResponse.cs

45 lines
1.6 KiB
C#
Raw Permalink 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>
/// KbAdvertAdvContentResponse Data Structure.
/// </summary>
[Serializable]
public class KbAdvertAdvContentResponse : AopObject
{
/// <summary>
/// 二维码类型的内容模型当content_type为codec时返回该模型
/// </summary>
[XmlElement("content_codec")]
public KbAdvertContentCodec ContentCodec { get; set; }
/// <summary>
/// 口令红包类型的内容模型当content_type为passwordRed时返回该模型
/// </summary>
[XmlElement("content_password")]
public KbAdvertContentPassword ContentPassword { get; set; }
/// <summary>
/// 吱口令类型的内容模型当content_type为shareCode时返回该模型
/// </summary>
[XmlArray("content_share_code")]
[XmlArrayItem("kb_advert_content_share_code")]
public List<KbAdvertContentShareCode> ContentShareCode { get; set; }
/// <summary>
/// 短链接类型的内容模型当content_type为shortLink时返回该模型
/// </summary>
[XmlElement("content_short_link")]
public KbAdvertContentShortLink ContentShortLink { get; set; }
/// <summary>
/// 广告内容类型; shortLink短链接 codec二维码 passwordRed口令红包 shareCode吱口令
/// </summary>
[XmlElement("content_type")]
public string ContentType { get; set; }
}
}