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