2022-10-07 13:43:19 +02:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
2022-10-15 00:07:59 +02:00
|
|
|
namespace Piwigo.Client.Contract;
|
2022-10-07 13:43:19 +02:00
|
|
|
|
2022-10-17 00:16:30 +02:00
|
|
|
public class SessionStatus
|
2022-10-07 13:43:19 +02:00
|
|
|
{
|
|
|
|
[JsonProperty("username")]
|
|
|
|
public string? Username { get; init; }
|
|
|
|
|
|
|
|
[JsonProperty("status")]
|
|
|
|
public string? Status { get; init; }
|
|
|
|
|
|
|
|
[JsonProperty("theme")]
|
|
|
|
public string? Theme { get; init; }
|
|
|
|
|
|
|
|
[JsonProperty("language")]
|
|
|
|
public string? Language { get; init; }
|
|
|
|
|
|
|
|
[JsonProperty("pwg_token")]
|
|
|
|
public string? PwgToken { get; init; }
|
|
|
|
|
|
|
|
[JsonProperty("charset")]
|
|
|
|
public string? Charset { get; init; }
|
|
|
|
|
|
|
|
[JsonProperty("current_datetime")]
|
|
|
|
public string? CurrentDatetime { get; init; }
|
|
|
|
|
|
|
|
[JsonProperty("version")]
|
|
|
|
public string? Version { get; init; }
|
|
|
|
|
|
|
|
[JsonProperty("available_sizes")]
|
|
|
|
public string[]? AvailableSizes { get; init; }
|
|
|
|
|
|
|
|
[JsonProperty("upload_file_types")]
|
|
|
|
public string? UploadFileTypes { get; init; }
|
|
|
|
|
|
|
|
[JsonProperty("upload_form_chunk_size")]
|
|
|
|
public int UploadFormChunkSize { get; init; } = 512;
|
|
|
|
}
|