csharpdeeb25a2 | 1 | #nullable enable |
| 2 | |
| 3 | using System.Text.Json.Serialization; |
| 4 | |
| 5 | namespace CascadeIDE.Models.Intercom; |
| 6 | |
| 7 | /// <summary>Wire extension <c>relates_to</c> v1 (see wire/intercom-wire/schemas/v1/extensions/relates-to-v1).</summary> |
| 8 | public sealed record IntercomRelatesToLink( |
| 9 | [property: JsonPropertyName("target_kind")] string TargetKind, |
| 10 | [property: JsonPropertyName("relation")] string Relation, |
| 11 | [property: JsonPropertyName("code_ref")] AttachmentAnchor? CodeRef = null, |
| 12 | [property: JsonPropertyName("message_id")] string? MessageId = null, |
| 13 | [property: JsonPropertyName("doc_path")] string? DocPath = null, |
| 14 | [property: JsonPropertyName("topic_id")] string? TopicId = null, |
| 15 | [property: JsonPropertyName("ordinal_range")] IntercomOrdinalRange? OrdinalRange = null, |
| 16 | [property: JsonPropertyName("confidence")] string? Confidence = null); |
| 17 | |
| 18 | public sealed record IntercomOrdinalRange( |
| 19 | [property: JsonPropertyName("start_ordinal")] int StartOrdinal, |
| 20 | [property: JsonPropertyName("end_ordinal")] int EndOrdinal); |
| 21 | |
View only · write via MCP/CIDE