using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// AlipaySocialBaseMcommentNewsfeedAddModel Data Structure. /// [Serializable] public class AlipaySocialBaseMcommentNewsfeedAddModel : AopObject { /// /// 活动地点名称 /// [XmlElement("activity_address")] public string ActivityAddress { get; set; } /// /// 活动名称 /// [XmlElement("activity_name")] public string ActivityName { get; set; } /// /// 动态关联的现场id /// [XmlElement("aid")] public string Aid { get; set; } /// /// 业务系统ID,必须保证唯一性 规则:uid@时间戳 /// [XmlElement("biz_no")] public string BizNo { get; set; } /// /// 动态的文字内容 /// [XmlElement("content")] public string Content { get; set; } /// /// 红包信息 /// [XmlElement("gift_info")] public NewsfeedMediaGiftInfo GiftInfo { get; set; } /// /// 图片信息 /// [XmlArray("img_infos")] [XmlArrayItem("newsfeed_media_img")] public List ImgInfos { get; set; } /// /// 动态的标题信息 /// [XmlElement("label_info")] public NewsfeedLabelInfo LabelInfo { get; set; } /// /// 链接信息(link类型时必填) /// [XmlElement("link_info")] public NewsfeedMediaLinkInfo LinkInfo { get; set; } /// /// 动态相关的地理位置(发给现场的动态必填) /// [XmlElement("location_info")] public NewsfeedLocationInfo LocationInfo { get; set; } /// /// 地理位置名称 /// [XmlElement("location_name")] public string LocationName { get; set; } /// /// 地理位置跳转链接(当前支持https和alipay开头) /// [XmlElement("location_scheme")] public string LocationScheme { get; set; } /// /// 场景码,生活圈默认LFC /// [XmlElement("scene_code")] public string SceneCode { get; set; } /// /// 支持口碑评论等特殊类型需要的评分,不为空可显示星级评分 满分10分,每1分代表半颗星 /// [XmlElement("score")] public long Score { get; set; } /// /// 接口请求来源 /// [XmlElement("source")] public string Source { get; set; } /// /// 用于标识来源app的图标 /// [XmlElement("source_icon")] public string SourceIcon { get; set; } /// /// 用于标识来源APP的名称 /// [XmlElement("source_name")] public string SourceName { get; set; } /// /// 个人动态扩散范围:0只生活圈, 1只现场,2既有生活圈也有现场 /// [XmlElement("spread_range")] public long SpreadRange { get; set; } /// /// 动态的类型:text纯文本, image图片,video视频,link链接 ,crossVideo横屏视频 /// [XmlElement("type")] public string Type { get; set; } /// /// 用户ID /// [XmlElement("user_id")] public string UserId { get; set; } /// /// video信息(video、crossVideo类型时必填) /// [XmlElement("video_info")] public NewsfeedMediaVideoInfo VideoInfo { get; set; } /// /// 动态的可见性:0公开,1私密(仅本人可见) /// [XmlElement("visible")] public long Visible { get; set; } /// /// 动态的可见范围 visible为0,1时,为空列表 visible为2时,表示可见的标签分组列表, visible为3时,表示不可见的标签分组列表 /// [XmlArray("visible_range")] [XmlArrayItem("string")] public List VisibleRange { get; set; } /// /// 和谁在一起,用户列表 /// [XmlArray("with_me")] [XmlArrayItem("newsfeed_with_me_info")] public List WithMe { get; set; } } }