@microsoft/msgraph-sdk-shares
Version:
Shares fluent API for Microsoft Graph
42 lines • 1.86 kB
TypeScript
import { type ListItem } 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 listItem property of the microsoft.graph.sharedDriveItem entity.
*/
export interface ListItemRequestBuilder extends BaseRequestBuilder<ListItemRequestBuilder> {
/**
* Used to access the underlying listItem
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ListItem>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<ListItemRequestBuilderGetQueryParameters> | undefined): Promise<ListItem | undefined>;
/**
* Used to access the underlying listItem
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ListItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Used to access the underlying listItem
*/
export interface ListItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const ListItemRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/listItem{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const ListItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map