45 lines
1.6 KiB
C#
45 lines
1.6 KiB
C#
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; }
|
||
}
|
||
}
|