using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace MatrixDotNetLib { public class MatrixRoomDirectory { [JsonProperty("chunk")] public MatrixRoomEntry[] Rooms { get; set; } [JsonProperty("next_batch")] public string NextPage { get; set; } [JsonProperty("prev_batch")] public string PrevPage { get; set; } [JsonProperty("total_room_count_estimate")] public int RoomTotal { get; set; } } }