@microsoft/msgraph-beta-sdk-places
Version:
Places fluent API for Microsoft Graph
69 lines • 3.56 kB
TypeScript
import { type Workspace } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the workspaces property of the microsoft.graph.roomList entity.
*/
export interface WorkspacesWithPlaceIdRequestBuilder extends BaseRequestBuilder<WorkspacesWithPlaceIdRequestBuilder> {
/**
* Delete navigation property workspaces for places
* @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>;
/**
* Get workspaces from places
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Workspace>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<WorkspacesWithPlaceIdRequestBuilderGetQueryParameters> | undefined): Promise<Workspace | undefined>;
/**
* Update the navigation property workspaces in places
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Workspace>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: Workspace, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Workspace | undefined>;
/**
* Delete navigation property workspaces for places
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Get workspaces from places
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<WorkspacesWithPlaceIdRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property workspaces in places
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: Workspace, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get workspaces from places
*/
export interface WorkspacesWithPlaceIdRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const WorkspacesWithPlaceIdRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces(placeId='{placeId}'){?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const WorkspacesWithPlaceIdRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map