using Newtonsoft.Json; namespace Pilz.Net.CloudProviders.Nextcloud.Client.LoginFlowV2.Ocs; public class OcsResponseLoginFlowV2 { public class PollData { /// /// The login token that has been created for the login process. /// It can be used to poll the login state. /// [JsonProperty("token")] public string? Token { get; set; } /// /// /// [JsonProperty("endpoint")] public string? Endpoint { get; set; } } /// /// /// [JsonProperty("poll")] public PollData? Poll { get; set; } /// /// The temporary login url that should be used for login. /// [JsonProperty("login")] public string? LoginUrl { get; set; } }