DocSpace-client/thirdparty/Microsoft.Graph.Core/Requests/IBaseRequestBuilder.cs
2020-07-10 18:37:02 +03:00

30 lines
1.1 KiB
C#

// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
namespace Microsoft.Graph
{
/// <summary>
/// The base request builder interface.
/// </summary>
public interface IBaseRequestBuilder
{
/// <summary>
/// Gets the <see cref="IBaseClient"/> for handling requests.
/// </summary>
IBaseClient Client { get; }
/// <summary>
/// Gets the URL for the built request, without query string.
/// </summary>
string RequestUrl { get; }
/// <summary>
/// Gets a URL that is the request builder's request URL with the segment appended.
/// </summary>
/// <param name="urlSegment">The segment to append to the request URL.</param>
/// <returns>A URL that is the request builder's request URL with the segment appended.</returns>
string AppendSegmentToRequestUrl(string urlSegment);
}
}