mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-24 04:53:46 +08:00
feat(work): 封装部分企业微信接口
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /cgi-bin/meeting/update 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class CgibinMeetingUpdateRequest : WechatWorkRequest
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Attendee : CgibinMeetingCreateRequest.Types.Attendee
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置会议 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("meetingid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("meetingid")]
|
||||
public string MeetingId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置会议标题。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("title")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("title")]
|
||||
public string? Title { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置会议开始时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("meeting_start")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("meeting_start")]
|
||||
public long? StartTimestamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置会议持续时长(单位:秒)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("meeting_duration")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("meeting_duration")]
|
||||
public int? Duration { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置会议类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("type")]
|
||||
public int? Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置会议描述。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("description")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("description")]
|
||||
public string? Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置会议开始前多久提醒(单位:秒)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("remind_time")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("remind_time")]
|
||||
public int? RemindBeforeEventTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置参与者信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("attendees")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("attendees")]
|
||||
public Types.Attendee? Attendee { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user