Compare commits
3 Commits
e7a3b2a367
...
2469da926d
Author | SHA1 | Date | |
---|---|---|---|
2469da926d | |||
0b5b4b71a5 | |||
f807448e03 |
@ -4,7 +4,7 @@ namespace HermesSocketLibrary.Requests.Messages
|
|||||||
{
|
{
|
||||||
public required string Id { get; set; }
|
public required string Id { get; set; }
|
||||||
public required string UserId { get; set; }
|
public required string UserId { get; set; }
|
||||||
public required string GroupId { get; set; }
|
public Guid GroupId { get; set; }
|
||||||
public required string Path { get; set; }
|
public required string Path { get; set; }
|
||||||
public bool? Allow { get; set; }
|
public bool? Allow { get; set; }
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,7 @@ namespace HermesSocketLibrary.Requests.Messages
|
|||||||
public required string UserId { get; set; }
|
public required string UserId { get; set; }
|
||||||
public required string Name { get; set; }
|
public required string Name { get; set; }
|
||||||
public required string Type { get; set; }
|
public required string Type { get; set; }
|
||||||
|
public required bool HasMessage { get; set; }
|
||||||
public required IDictionary<string, string> Data { get; set; }
|
public required IDictionary<string, string> Data { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -3,9 +3,9 @@ namespace HermesSocketLibrary.Socket.Data
|
|||||||
public class HermesLoginMessage
|
public class HermesLoginMessage
|
||||||
{
|
{
|
||||||
public required string ApiKey { get; set; }
|
public required string ApiKey { get; set; }
|
||||||
public string? Password { get; set; }
|
|
||||||
public bool WebLogin { get; set; }
|
public bool WebLogin { get; set; }
|
||||||
public int? MajorVersion { get; set; }
|
public int MajorVersion { get; set; }
|
||||||
public int? MinorVersion { get; set; }
|
public int MinorVersion { get; set; }
|
||||||
|
public int? PatchVersion { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -12,6 +12,7 @@ namespace HermesSocketLibrary.Socket.Data
|
|||||||
public long? OwnerId { get; set; }
|
public long? OwnerId { get; set; }
|
||||||
public bool Admin { get; set; }
|
public bool Admin { get; set; }
|
||||||
public bool WebLogin { get; set; }
|
public bool WebLogin { get; set; }
|
||||||
|
public bool Slave { get; set; }
|
||||||
|
|
||||||
public string DefaultTTSVoice { get; set; }
|
public string DefaultTTSVoice { get; set; }
|
||||||
public IList<string> EnabledTTSVoices { get; set; }
|
public IList<string> EnabledTTSVoices { get; set; }
|
||||||
|
7
Socket/Data/SlaveMessage.cs
Normal file
7
Socket/Data/SlaveMessage.cs
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
namespace HermesSocketLibrary.Socket.Data
|
||||||
|
{
|
||||||
|
public class SlaveMessage
|
||||||
|
{
|
||||||
|
public required bool Slave { get; set; }
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user