UNPKG

@microsoft/msgraph-beta-sdk-drives

Version:
123 lines 6.15 kB
import { type List } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type ActivitiesRequestBuilder } from './activities/index.js'; import { type ColumnsRequestBuilder } from './columns/index.js'; import { type ContentTypesRequestBuilder } from './contentTypes/index.js'; import { type CreatedByUserRequestBuilder } from './createdByUser/index.js'; import { type DriveRequestBuilder } from './drive/index.js'; import { type ItemsRequestBuilder } from './items/index.js'; import { type LastModifiedByUserRequestBuilder } from './lastModifiedByUser/index.js'; import { type OperationsRequestBuilder } from './operations/index.js'; import { type PermissionsRequestBuilder } from './permissions/index.js'; import { type SubscriptionsRequestBuilder } from './subscriptions/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the list property of the microsoft.graph.drive entity. */ export interface ListRequestBuilder extends BaseRequestBuilder<ListRequestBuilder> { /** * Provides operations to manage the activities property of the microsoft.graph.list entity. */ get activities(): ActivitiesRequestBuilder; /** * Provides operations to manage the columns property of the microsoft.graph.list entity. */ get columns(): ColumnsRequestBuilder; /** * Provides operations to manage the contentTypes property of the microsoft.graph.list entity. */ get contentTypes(): ContentTypesRequestBuilder; /** * Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. */ get createdByUser(): CreatedByUserRequestBuilder; /** * Provides operations to manage the drive property of the microsoft.graph.list entity. */ get drive(): DriveRequestBuilder; /** * Provides operations to manage the items property of the microsoft.graph.list entity. */ get items(): ItemsRequestBuilder; /** * Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. */ get lastModifiedByUser(): LastModifiedByUserRequestBuilder; /** * Provides operations to manage the operations property of the microsoft.graph.list entity. */ get operations(): OperationsRequestBuilder; /** * Provides operations to manage the permissions property of the microsoft.graph.list entity. */ get permissions(): PermissionsRequestBuilder; /** * Provides operations to manage the subscriptions property of the microsoft.graph.list entity. */ get subscriptions(): SubscriptionsRequestBuilder; /** * Delete navigation property list for drives * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * For drives in SharePoint, the underlying document library list. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<List>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<ListRequestBuilderGetQueryParameters> | undefined): Promise<List | undefined>; /** * Update the navigation property list in drives * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<List>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: List, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<List | undefined>; /** * Delete navigation property list for drives * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * For drives in SharePoint, the underlying document library list. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ListRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property list in drives * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: List, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * For drives in SharePoint, the underlying document library list. Read-only. Nullable. */ export interface ListRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const ListRequestBuilderUriTemplate = "{+baseurl}/drives/{drive%2Did}/list{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const ListRequestBuilderNavigationMetadata: Record<Exclude<keyof ListRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const ListRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map