UNPKG

@microsoft/msgraph-sdk-shares

Version:
42 lines 1.8 kB
import { type Site } from '@microsoft/msgraph-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the site property of the microsoft.graph.sharedDriveItem entity. */ export interface SiteRequestBuilder extends BaseRequestBuilder<SiteRequestBuilder> { /** * Used to access the underlying site * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Site>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<SiteRequestBuilderGetQueryParameters> | undefined): Promise<Site | undefined>; /** * Used to access the underlying site * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SiteRequestBuilderGetQueryParameters> | undefined): RequestInformation; } /** * Used to access the underlying site */ export interface SiteRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const SiteRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/site{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const SiteRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map