Files
SDK-CSharp/Models/PictureModels.cs

21 lines
698 B
C#

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; }
}
}