@microsoft/msgraph-beta-sdk-places
Version:
Places fluent API for Microsoft Graph
69 lines • 4.04 kB
TypeScript
import { type Place } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type CheckInsRequestBuilder } from './checkIns/index.js';
import { type DescendantsRequestBuilder } from './descendants/index.js';
import { type GraphRoomRequestBuilder } from './graphRoom/index.js';
import { type GraphRoomListRequestBuilder } from './graphRoomList/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the collection of place entities.
*/
export interface PlaceItemRequestBuilder extends BaseRequestBuilder<PlaceItemRequestBuilder> {
/**
* Provides operations to manage the checkIns property of the microsoft.graph.place entity.
*/
get checkIns(): CheckInsRequestBuilder;
/**
* Provides operations to call the descendants method.
*/
get descendants(): DescendantsRequestBuilder;
/**
* Casts the previous resource to room.
*/
get graphRoom(): GraphRoomRequestBuilder;
/**
* Casts the previous resource to roomList.
*/
get graphRoomList(): GraphRoomListRequestBuilder;
/**
* Delete a place object. You can also use this method to delete the following child object types: building, floor, section, or desk.
* @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
* @see {@link https://learn.microsoft.com/graph/api/place-delete?view=graph-rest-beta|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Update the properties of place object that can be a building, floor, section, desk, room, workspace, or roomList. You can identify the place by specifying the id property.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Place>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/place-update?view=graph-rest-beta|Find more info here}
*/
patch(body: Place, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Place | undefined>;
/**
* Delete a place object. You can also use this method to delete the following child object types: building, floor, section, or desk.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Update the properties of place object that can be a building, floor, section, desk, room, workspace, or roomList. You can identify the place by specifying the id property.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: Place, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Uri template for the request builder.
*/
export declare const PlaceItemRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const PlaceItemRequestBuilderNavigationMetadata: Record<Exclude<keyof PlaceItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const PlaceItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map