Claire
4 years ago
20 changed files with 1542 additions and 33 deletions
diff.bin_not_shown
diff.bin_not_shown
diff.bin_not_shown
diff.bin_not_shown
File diff suppressed because it is too large
diff.load
@ -1,10 +1,28 @@ |
|||||||
{ |
{ |
||||||
"version": 2, |
"version": 2, |
||||||
"dgSpecHash": "8K9QsUKHtNC7PQ873ayC0GHP0lzCog8MTKCNWMZpyzUOnHRnzzR9zoCKZj29McVjauf8VButj3vnkK+05EZTuA==", |
"dgSpecHash": "gh4758M0XWKdnbAuiUsvkVtqh82+N/bkCf1KzJxu9ZhL8LktmgTG0/UO95U541U2RezmrouG7omHkJBEYFVrsQ==", |
||||||
"success": true, |
"success": true, |
||||||
"projectFilePath": "D:\\Source\\MatrixDotNetLib\\MatrixDotNetLib\\MatrixDotNetCmd\\MatrixDotNetCmd.csproj", |
"projectFilePath": "D:\\Source\\MatrixDotNetLib\\MatrixDotNetLib\\MatrixDotNetCmd\\MatrixDotNetCmd.csproj", |
||||||
"expectedPackageFiles": [ |
"expectedPackageFiles": [ |
||||||
"C:\\Users\\Claire\\.nuget\\packages\\newtonsoft.json\\12.0.3\\newtonsoft.json.12.0.3.nupkg.sha512" |
"C:\\Users\\Claire\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\microsoft.netcore.targets\\1.1.0\\microsoft.netcore.targets.1.1.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\newtonsoft.json\\12.0.3\\newtonsoft.json.12.0.3.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.collections.nongeneric\\4.3.0\\system.collections.nongeneric.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.collections.specialized\\4.3.0\\system.collections.specialized.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.diagnostics.debug\\4.3.0\\system.diagnostics.debug.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.globalization\\4.3.0\\system.globalization.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.globalization.extensions\\4.3.0\\system.globalization.extensions.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.io\\4.3.0\\system.io.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.reflection\\4.3.0\\system.reflection.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.reflection.primitives\\4.3.0\\system.reflection.primitives.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.resources.resourcemanager\\4.3.0\\system.resources.resourcemanager.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.runtime\\4.3.0\\system.runtime.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.runtime.extensions\\4.3.0\\system.runtime.extensions.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.runtime.handles\\4.3.0\\system.runtime.handles.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.runtime.interopservices\\4.3.0\\system.runtime.interopservices.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512", |
||||||
|
"C:\\Users\\Claire\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512" |
||||||
], |
], |
||||||
"logs": [] |
"logs": [] |
||||||
} |
} |
@ -0,0 +1,16 @@ |
|||||||
|
using Newtonsoft.Json; |
||||||
|
using System; |
||||||
|
using System.Collections.Generic; |
||||||
|
using System.Text; |
||||||
|
|
||||||
|
namespace MatrixDotNetLib |
||||||
|
{ |
||||||
|
public class MatrixRoom |
||||||
|
{ |
||||||
|
/// <summary> |
||||||
|
/// Gets or sets the chat room id. |
||||||
|
/// </summary> |
||||||
|
[JsonProperty("room_id")] |
||||||
|
public string RoomId { get; set; } |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,22 @@ |
|||||||
|
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; } |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,37 @@ |
|||||||
|
using Newtonsoft.Json; |
||||||
|
using System; |
||||||
|
using System.Collections.Generic; |
||||||
|
using System.Text; |
||||||
|
|
||||||
|
namespace MatrixDotNetLib |
||||||
|
{ |
||||||
|
public class MatrixRoomEntry |
||||||
|
{ |
||||||
|
[JsonProperty("aliases")] |
||||||
|
public string[] Aliases { get; set; } |
||||||
|
|
||||||
|
[JsonProperty("canonical_alias")] |
||||||
|
public string Alias { get; set; } |
||||||
|
|
||||||
|
[JsonProperty("avatar_url")] |
||||||
|
public string Avatar { get; set; } |
||||||
|
|
||||||
|
[JsonProperty("guest_can_join")] |
||||||
|
public bool GuestAccess { get; set; } |
||||||
|
|
||||||
|
[JsonProperty("name")] |
||||||
|
public string Name { get; set; } |
||||||
|
|
||||||
|
[JsonProperty("num_joined_members")] |
||||||
|
public int Members { get; set; } |
||||||
|
|
||||||
|
[JsonProperty("room_id")] |
||||||
|
public string RoomId { get; set; } |
||||||
|
|
||||||
|
[JsonProperty("topic")] |
||||||
|
public string Topic { get; set; } |
||||||
|
|
||||||
|
[JsonProperty("world_readable")] |
||||||
|
public bool Readable { get; set; } |
||||||
|
} |
||||||
|
} |
diff.bin_not_shown
diff.bin_not_shown
@ -1 +1 @@ |
|||||||
5eb8af853df6cefc73690046f1829a4a47fc69f4 |
d134ecf746b427f75753ffff9f48fb08b71ead11 |
||||||
|
diff.bin_not_shown
diff.bin_not_shown
diff.bin_not_shown
Loading…
issues.context.reference_issue