microsoft/teams.net
Publicmirrored fromhttps://github.com/microsoft/teams.netAvailable
Libraries/Microsoft.Teams.Api/Activities/Invokes/SignIn/VerifyStateActivity.cs
34lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. All rights reserved. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | using System.Text.Json.Serialization; |
| 5 | |
| 6 | using Microsoft.Teams.Common; |
| 7 | |
| 8 | namespace Microsoft.Teams.Api.Activities.Invokes; |
| 9 | |
| 10 | public partial class Name : StringEnum |
| 11 | { |
| 12 | public partial class SignIn : StringEnum |
| 13 | { |
| 14 | public static readonly SignIn VerifyState = new("signin/verifyState"); |
| 15 | public bool IsVerifyState => VerifyState.Equals(Value); |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | public static partial class SignIn |
| 20 | { |
| 21 | public class VerifyStateActivity() : SignInActivity(Name.SignIn.VerifyState) |
| 22 | { |
| 23 | /// <summary> |
| 24 | /// A value that is associated with the activity. |
| 25 | /// </summary> |
| 26 | [JsonPropertyName("value")] |
| 27 | [JsonPropertyOrder(32)] |
| 28 | public new required Api.SignIn.StateVerifyQuery Value |
| 29 | { |
| 30 | get => (Api.SignIn.StateVerifyQuery)base.Value!; |
| 31 | set => base.Value = value; |
| 32 | } |
| 33 | } |
| 34 | } |