mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-29 01:44:42 +08:00
feat(work): 随官方更新管理智能表格内容视图相关接口模型
This commit is contained in:
@@ -228,6 +228,57 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
[System.Text.Json.Serialization.JsonPropertyName("conditions")]
|
[System.Text.Json.Serialization.JsonPropertyName("conditions")]
|
||||||
public Types.Condition[] ConditionList { get; set; } = default!;
|
public Types.Condition[] ConditionList { get; set; } = default!;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class ColorConfig
|
||||||
|
{
|
||||||
|
public static class Types
|
||||||
|
{
|
||||||
|
public class ColorCondition
|
||||||
|
{
|
||||||
|
public static class Types
|
||||||
|
{
|
||||||
|
public class Condition : FilterSpec.Types.Condition
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置填色 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||||
|
public string Id { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置填色类型。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("type")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("type")]
|
||||||
|
public string Type { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置颜色。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("color")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("color")]
|
||||||
|
public string Color { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置条件信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("condition")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("condition")]
|
||||||
|
public Types.Condition Condition { get; set; } = default!;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置填色条件列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("conditions")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("conditions")]
|
||||||
|
public Types.ColorCondition[] ColorConditionList { get; set; } = default!;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -278,6 +329,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("frozen_field_count")]
|
[Newtonsoft.Json.JsonProperty("frozen_field_count")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("frozen_field_count")]
|
[System.Text.Json.Serialization.JsonPropertyName("frozen_field_count")]
|
||||||
public int FrozenFieldCount { get; set; }
|
public int FrozenFieldCount { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置填色设置。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("color_config")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("color_config")]
|
||||||
|
public Types.ColorConfig? ColorConfig { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -96,6 +96,57 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
[System.Text.Json.Serialization.JsonPropertyName("conditions")]
|
[System.Text.Json.Serialization.JsonPropertyName("conditions")]
|
||||||
public IList<Types.Condition> ConditionList { get; set; } = new List<Types.Condition>();
|
public IList<Types.Condition> ConditionList { get; set; } = new List<Types.Condition>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class ColorConfig
|
||||||
|
{
|
||||||
|
public static class Types
|
||||||
|
{
|
||||||
|
public class ColorCondition
|
||||||
|
{
|
||||||
|
public static class Types
|
||||||
|
{
|
||||||
|
public class Condition : FilterSpec.Types.Condition
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置填色 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||||
|
public string? Id { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置填色类型。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("type")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("type")]
|
||||||
|
public string Type { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置颜色。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("color")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("color")]
|
||||||
|
public string Color { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置条件信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("condition")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("condition")]
|
||||||
|
public Types.Condition Condition { get; set; } = new Types.Condition();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置填色条件列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("conditions")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("conditions")]
|
||||||
|
public IList<Types.ColorCondition> ColorConditionList { get; set; } = new List<Types.ColorCondition>();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -146,6 +197,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("frozen_field_count")]
|
[Newtonsoft.Json.JsonProperty("frozen_field_count")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("frozen_field_count")]
|
[System.Text.Json.Serialization.JsonPropertyName("frozen_field_count")]
|
||||||
public int? FrozenFieldCount { get; set; }
|
public int? FrozenFieldCount { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置填色设置。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("color_config")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("color_config")]
|
||||||
|
public Types.ColorConfig? ColorConfig { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,26 @@
|
|||||||
"f1gHSR": false,
|
"f1gHSR": false,
|
||||||
"fabcde": false
|
"fabcde": false
|
||||||
},
|
},
|
||||||
"frozen_field_count": 0
|
"frozen_field_count": 0,
|
||||||
|
"color_config": {
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4840474257",
|
||||||
|
"type": "VIEW_COLOR_CONDITION_TYPE_CELL",
|
||||||
|
"color": "chromeAmberLighten_5",
|
||||||
|
"condition": {
|
||||||
|
"field_id": "fRCjJz",
|
||||||
|
"field_type": "FIELD_TYPE_TEXT",
|
||||||
|
"operator": "OPERATOR_CONTAINS",
|
||||||
|
"string_value": {
|
||||||
|
"value": [
|
||||||
|
"5555"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -53,6 +53,25 @@
|
|||||||
"f1gHSR": false,
|
"f1gHSR": false,
|
||||||
"fabcde": false
|
"fabcde": false
|
||||||
},
|
},
|
||||||
"frozen_field_count": 0
|
"frozen_field_count": 0,
|
||||||
|
"color_config": {
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4840474257",
|
||||||
|
"type": "VIEW_COLOR_CONDITION_TYPE_CELL",
|
||||||
|
"color": "chromeAmberLighten_5",
|
||||||
|
"condition": {
|
||||||
|
"field_id": "fRCjJz",
|
||||||
|
"field_type": "FIELD_TYPE_TEXT",
|
||||||
|
"operator": "OPERATOR_CONTAINS",
|
||||||
|
"string_value": {
|
||||||
|
"value": [
|
||||||
|
"5555"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user