|
| 1 | +namespace SKIT.FlurlHttpClient.ByteDance.MicroApp.Models |
| 2 | +{ |
| 3 | + /// <summary> |
| 4 | + /// <para>表示 [POST] /api/gift/receive_reward 接口的响应。</para> |
| 5 | + /// </summary> |
| 6 | + public class GiftReceiveRewardResponse : DouyinMicroAppResponse |
| 7 | + { |
| 8 | + public static class Types |
| 9 | + { |
| 10 | + public class GiftInfo |
| 11 | + { |
| 12 | + public static class Types |
| 13 | + { |
| 14 | + public class Property |
| 15 | + { |
| 16 | + /// <summary> |
| 17 | + /// 获取或设置道具 ID。 |
| 18 | + /// </summary> |
| 19 | + [Newtonsoft.Json.JsonProperty("prop_id")] |
| 20 | + [System.Text.Json.Serialization.JsonPropertyName("prop_id")] |
| 21 | + public string PropId { get; set; } = default!; |
| 22 | + |
| 23 | + /// <summary> |
| 24 | + /// 获取或设置图标 URL。 |
| 25 | + /// </summary> |
| 26 | + [Newtonsoft.Json.JsonProperty("icon")] |
| 27 | + [System.Text.Json.Serialization.JsonPropertyName("icon")] |
| 28 | + public string IconUrl { get; set; } = default!; |
| 29 | + |
| 30 | + /// <summary> |
| 31 | + /// 获取或设置道具名称。 |
| 32 | + /// </summary> |
| 33 | + [Newtonsoft.Json.JsonProperty("name")] |
| 34 | + [System.Text.Json.Serialization.JsonPropertyName("name")] |
| 35 | + public string Name { get; set; } = default!; |
| 36 | + |
| 37 | + /// <summary> |
| 38 | + /// 获取或设置道具数量。 |
| 39 | + /// </summary> |
| 40 | + [Newtonsoft.Json.JsonProperty("count")] |
| 41 | + [System.Text.Json.Serialization.JsonPropertyName("count")] |
| 42 | + public int Count { get; set; } |
| 43 | + } |
| 44 | + } |
| 45 | + |
| 46 | + /// <summary> |
| 47 | + /// 获取或设置礼包 ID。 |
| 48 | + /// </summary> |
| 49 | + [Newtonsoft.Json.JsonProperty("gift_id")] |
| 50 | + [System.Text.Json.Serialization.JsonPropertyName("gift_id")] |
| 51 | + public string GiftId { get; set; } = default!; |
| 52 | + |
| 53 | + /// <summary> |
| 54 | + /// 获取或设置礼包有效开始时间戳。 |
| 55 | + /// </summary> |
| 56 | + [Newtonsoft.Json.JsonProperty("gift_effective_start_time")] |
| 57 | + [System.Text.Json.Serialization.JsonPropertyName("gift_effective_start_time")] |
| 58 | + public long GiftEffectiveStartTimestamp { get; set; } |
| 59 | + |
| 60 | + /// <summary> |
| 61 | + /// 获取或设置礼包有效结束时间戳。 |
| 62 | + /// </summary> |
| 63 | + [Newtonsoft.Json.JsonProperty("gift_effective_end_time")] |
| 64 | + [System.Text.Json.Serialization.JsonPropertyName("gift_effective_end_time")] |
| 65 | + public long GiftEffectiveEndTimestamp { get; set; } |
| 66 | + |
| 67 | + /// <summary> |
| 68 | + /// 获取或设置图标 URL。 |
| 69 | + /// </summary> |
| 70 | + [Newtonsoft.Json.JsonProperty("icon_url")] |
| 71 | + [System.Text.Json.Serialization.JsonPropertyName("icon_url")] |
| 72 | + public string IconUrl { get; set; } = default!; |
| 73 | + |
| 74 | + /// <summary> |
| 75 | + /// 获取或设置礼包名称。 |
| 76 | + /// </summary> |
| 77 | + [Newtonsoft.Json.JsonProperty("name")] |
| 78 | + [System.Text.Json.Serialization.JsonPropertyName("name")] |
| 79 | + public string Name { get; set; } = default!; |
| 80 | + |
| 81 | + /// <summary> |
| 82 | + /// 获取或设置玩法类型。 |
| 83 | + /// </summary> |
| 84 | + [Newtonsoft.Json.JsonProperty("play_type")] |
| 85 | + [System.Text.Json.Serialization.JsonPropertyName("play_type")] |
| 86 | + public int PlayType { get; set; } |
| 87 | + |
| 88 | + /// <summary> |
| 89 | + /// 获取或设置关联道具列表。 |
| 90 | + /// </summary> |
| 91 | + [Newtonsoft.Json.JsonProperty("prop_list")] |
| 92 | + [System.Text.Json.Serialization.JsonPropertyName("prop_list")] |
| 93 | + public Types.Property[]? PropertyList { get; set; } |
| 94 | + |
| 95 | + /// <summary> |
| 96 | + /// 获取或设置用户领奖说明列表。 |
| 97 | + /// </summary> |
| 98 | + [Newtonsoft.Json.JsonProperty("user_receive_guide")] |
| 99 | + [System.Text.Json.Serialization.JsonPropertyName("user_receive_guide")] |
| 100 | + public string[]? UserReceiveGuideList { get; set; } |
| 101 | + } |
| 102 | + } |
| 103 | + |
| 104 | + /// <summary> |
| 105 | + /// 获取或设置操作结果。 |
| 106 | + /// </summary> |
| 107 | + [Newtonsoft.Json.JsonProperty("gift_info")] |
| 108 | + [System.Text.Json.Serialization.JsonPropertyName("gift_info")] |
| 109 | + public Types.GiftInfo GiftInfo { get; set; } = default!; |
| 110 | + } |
| 111 | +} |
0 commit comments