Rename project and namespaces
This commit is contained in:
parent
e7fa6194f6
commit
c9ed453745
1 changed files with 426 additions and 918 deletions
26
src/ModelContextProtocol/Protocol/Types/Root.cs
Normal file
26
src/ModelContextProtocol/Protocol/Types/Root.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
namespace ModelContextProtocol.Protocol.Types;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a root URI and its metadata.
|
||||
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
|
||||
/// </summary>
|
||||
public class Root
|
||||
{
|
||||
/// <summary>
|
||||
/// The URI of the root.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyName("uri")]
|
||||
public required string Uri { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// A human-readable name for the root.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string? Name { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Additional metadata for the root. Reserved by the protocol for future use.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyName("meta")]
|
||||
public object? Meta { get; init; }
|
||||
}
|
||||
Loading…
Reference in a new issue