namespace MatrixDotNetLib { public class MatrixApiEntities { public string DeviceId { get; set; } public string EventId { get; set; } public string EventType { get; set; } public string Filename { get; set; } public string FilterId { get; set; } public string Kind { get; set; } public string MediaId { get; set; } public string NetworkId { get; set; } public string ReceiptType { get; set; } public string RoomAlias { get; set; } public string RoomId { get; set; } public string RoomIdOrAlias { get; set; } public string RuleId { get; set; } public string Scope { get; set; } public string ServerName { get; set; } public string StateKey { get; set; } public string Tags { get; set; } public string TxnId { get; set; } public string Type { get; set; } public string UserId { get; set; } } //public static Dictionary Server = new Dictionary() //{ // { "discovery", "/.well-known/matrix/client" }, // { "versions", "/_matrix/client/versions" }, // { "capabilities", "/_matrix/client/r0/capabilities" }, // { "whois", "/_matrix/client/r0/admin/whois/{userId}" }, // { "search", "/_matrix/client/r0/search" }, // { "usersearch", "/_matrix/client/r0/user_directory/search" }, // { "roomlist", "/_matrix/client/r0/publicRooms" }, // { "managerooms", "/_matrix/client/r0/directory/list/appservice/{networkId}/{roomId}" }, // { "upgraderoom", "/_matrix/client/r0/rooms/{roomId}/upgrade" }, // { "openid", "/_matrix/client/r0/user/{userId}/openid/request_token" }, // { "voip", "/_matrix/client/r0/voip/turnServer" } //}; //public static Dictionary Key = new Dictionary() //{ // { "latest", "/_matrix/client/r0/keys/changes" }, // { "claim", "/_matrix/client/r0/keys/claim" }, // { "download", "/_matrix/client/r0/keys/query" }, // { "upload", "/_matrix/client/r0/keys/upload" } //}; //public static Dictionary Device = new Dictionary() //{ // { "manage", "/_matrix/client/r0/devices" }, // { "multidelete", "/_matrix/client/r0/delete_devices" }, // { "send", "/_matrix/client/r0/sendToDevice/{eventType}/{txnId}" } //}; //public static Dictionary Media = new Dictionary() //{ // { "config", "/_matrix/media/r0/config" }, // { "save", "/_matrix/media/r0/download/{serverName}/{mediaId}" }, // { "saveas", "/_matrix/media/r0/download/{serverName}/{mediaId}/{fileName}" }, // { "preview", "/_matrix/media/r0/preview_url" }, // { "thumb", "/_matrix/media/r0/thumbnail/{serverName}/{mediaId}" }, // { "upload", "/_matrix/media/r0/upload" } //}; //public static Dictionary Notifier = new Dictionary() //{ // { "notifiers", "/_matrix/client/r0/notifications" }, // { "pushers", "/_matrix/client/r0/pushers" }, // { "set", "/_matrix/client/r0/pushers/set" }, // { "rules", "/_matrix/client/r0/pushrules/" } //}; //public static Dictionary NotifierRule = new Dictionary() //{ // { "manage", "/_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}" }, // { "actions", "/_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/actions" }, // { "toggle", "/_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/enabled" } //}; //public static Dictionary User = new Dictionary() //{ // { "thirdparty", "/_matrix/client/r0/account/3pid" }, // { "deactivate", "/_matrix/client/r0/account/deactivate" }, // { "password", "/_matrix/client/r0/account/password" }, // { "register", "/_matrix/client/r0/register" }, // { "whoami", "/_matrix/client/r0/account/whoami" }, // { "profile", "/_matrix/client/r0/profile/{userId}" }, // { "avatar", "/_matrix/client/r0/profile/{userId}/avtatar_url" }, // { "displayname", "/_matrix/client/r0/profile/{userId}/displayname" }, // { "extrainfo", "/_matrix/client/r0/user/{userId}/account_data/{type}" }, // { "eventfilter", "/_matrix/client/r0/user/{userId}/filter" }, // { "rooms", "/_matrix/client/r0/joined_rooms" }, // { "login", "/_matrix/client/r0/login" }, // { "logout", "/_matrix/client/r0/logout" }, // { "status", "/_matrix/client/r0/presence/{userId}/status" } //}; //public static Dictionary UserRoom = new Dictionary() //{ // { "extrainfo", "/_matrix/client/r0/user/{userId}/rooms/{roomId}/account_data/{type}" }, // { "tags", "/_matrix/client/r0/user/{userId}/rooms/{roomId}/tags" } //}; //public static Dictionary Room = new Dictionary() //{ // { "create", "/_matrix/client/r0/createRoom" }, // { "aliases", "/_matrix/client/unstable/org.matrix.msc2432/rooms/{roomId}/aliases" }, // { "active", "/_matrix/client/r0/rooms/{roomId}/joined_members" }, // { "members", "/_matrix/client/r0/rooms/{roomId}/members" }, // { "messages", "/_matrix/client/r0/rooms/{roomId}/messages" }, // { "join", "/_matrix/client/r0/join/{roomIdOrAlias}" }, // { "ban", "/_matrix/client/r0/rooms/{roomId}/ban" }, // { "forget", "/_matrix/client/r0/rooms/{roomId}/forget" }, // { "invite", "/_matrix/client/r0/rooms/{roomId}/invite" }, // { "idjoin", "/_matrix/client/r0/rooms/{roomId}/join" }, // { "kick", "/_matrix/client/r0/rooms/{roomId}/kick" }, // { "leave", "/_matrix/client/r0/rooms/{roomId}/leave" }, // { "unban", "/_matrix/client/r0/rooms/{roomId}/unban" }, // { "marker", "/_matrix/client/r0/rooms/{roomId}/read_markers" } //}; //public static Dictionary RoomEvent = new Dictionary() //{ // { "context", "/_matrix/client/r0/rooms/{roomId}/context/{eventId}" }, // { "event", "/_matrix/client/r0/rooms/{roomId}/event/{eventId}" }, // { "receipt", "/_matrix/client/r0/rooms/{roomId}/receipt/{receiptType}/{eventId}" }, // { "redact", "/_matrix/client/r0/rooms/{roomId}/redact/{eventId}/{txnId}" }, // { "send", "/_matrix/client/r0/rooms/{roomId}/send/{eventType}/{txnId}" }, // { "typing", "/_matrix/client/r0/rooms/{roomId}/typing/{userId}" }, // { "flag", "/_matrix/client/r0/rooms/{roomId}/report/{eventId}" } //}; //public static Dictionary RoomState = new Dictionary() //{ // { "list", "/_matrix/client/r0/rooms/{roomId}/state" }, // { "state", "/_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey}" } //}; //public Dictionary Entities = new Dictionary() //{ // { "deviceId", "" }, // { "eventId", "" }, // { "eventType", "" }, // { "fileName", "" }, // { "filterId", "" }, // { "kind", "" }, // { "mediaId", "" }, // { "networkId", "" }, // { "receiptType", "" }, // { "roomAlias", "" }, // { "roomId", "" }, // { "roomIdOrAlias", "" }, // { "ruleId", "" }, // { "scope", "" }, // { "serverName", "" }, // { "stateKey", "" }, // { "tags", "" }, // { "txnId", "" }, // { "type", "" }, // { "userId", "" } //}; }