Clean up namespaces (#410)
No meaningful code changes, just lots of namespace shuffling to have fewer namespaces and to put things in better namespaces.
This commit is contained in:
parent
c11c634945
commit
106ab8064f
1 changed files with 491 additions and 668 deletions
20
src/ModelContextProtocol/Protocol/SetLevelRequestParams.cs
Normal file
20
src/ModelContextProtocol/Protocol/SetLevelRequestParams.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace ModelContextProtocol.Protocol;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the parameters used with a <see cref="RequestMethods.LoggingSetLevel"/> request from a client
|
||||
/// to enable or adjust logging.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This request allows clients to configure the level of logging information they want to receive from the server.
|
||||
/// The server will send notifications for log events at the specified level and all higher (more severe) levels.
|
||||
/// </remarks>
|
||||
public class SetLevelRequestParams : RequestParams
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the level of logging that the client wants to receive from the server.
|
||||
/// </summary>
|
||||
[JsonPropertyName("level")]
|
||||
public required LoggingLevel Level { get; init; }
|
||||
}
|
||||
Loading…
Reference in a new issue