@microsoft/msgraph-sdk-shares
Version:
Shares fluent API for Microsoft Graph
113 lines • 5.55 kB
TypeScript
import { type List } from '@microsoft/msgraph-sdk/models/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 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.sharedDriveItem entity.
*/
export interface ListRequestBuilder extends BaseRequestBuilder<ListRequestBuilder> {
/**
* 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 subscriptions property of the microsoft.graph.list entity.
*/
get subscriptions(): SubscriptionsRequestBuilder;
/**
* Delete navigation property list for shares
* @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>;
/**
* Used to access the underlying list
* @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 shares
* @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 shares
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Used to access the underlying list
* @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 shares
* @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;
}
/**
* Used to access the underlying list
*/
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}/shares/{sharedDriveItem%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