Implement AuthService and ApiClient core logic

This commit is contained in:
2026-04-09 14:22:47 +02:00
parent 3ee4edac6c
commit 8cbfa61766
22 changed files with 503 additions and 13 deletions

21
Models/PictureModels.cs Normal file
View File

@@ -0,0 +1,21 @@
using Chtn.CSharp.SDK.Models.Common;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Chtn.CSharp.SDK.Models.Media
{
public class Album
{
[JsonProperty("albumId")] public string ImageId { get; set; }
[JsonProperty("name")] public string Name { get; set; }
[JsonProperty("images")] public List<Image> Images { get; set; }
}
public class Image
{
[JsonProperty("imageId")] public string ImageId { get; set; }
[JsonProperty("path")] public string Path { get; set; }
[JsonProperty("title")] public string Title { get; set; }
[JsonProperty("uploaded_at")] public TimeStamp UploadedAt { get; set; }
}
}