microsoft/teams.net
Publicmirrored from https://github.com/microsoft/teams.netAvailable
Libraries/Microsoft.Teams.Api/MessageExtensions/Parameter.cs
23lines · modecode
| 1 | using System.Text.Json.Serialization; |
| 2 | |
| 3 | namespace Microsoft.Teams.Api.MessageExtensions; |
| 4 | |
| 5 | /// <summary> |
| 6 | /// Messaging extension query parameters |
| 7 | /// </summary> |
| 8 | public class Parameter |
| 9 | { |
| 10 | /// <summary> |
| 11 | /// Name of the parameter |
| 12 | /// </summary> |
| 13 | [JsonPropertyName("name")] |
| 14 | [JsonPropertyOrder(0)] |
| 15 | public string? Name { get; set; } |
| 16 | |
| 17 | /// <summary> |
| 18 | /// Value of the parameter |
| 19 | /// </summary> |
| 20 | [JsonPropertyName("value")] |
| 21 | [JsonPropertyOrder(1)] |
| 22 | public object? Value { get; set; } |
| 23 | } |