UNPKG

@microsoft/msgraph-beta-sdk-termstore

Version:
96 lines 4.98 kB
import { type Set } from '@microsoft/msgraph-beta-sdk/models/termStore/index.js'; import { type ChildrenRequestBuilder } from './children/index.js'; import { type ParentGroupRequestBuilder } from './parentGroup/index.js'; import { type RelationsRequestBuilder } from './relations/index.js'; import { type TermsRequestBuilder } from './terms/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the sets property of the microsoft.graph.termStore.store entity. */ export interface SetItemRequestBuilder extends BaseRequestBuilder<SetItemRequestBuilder> { /** * Provides operations to manage the children property of the microsoft.graph.termStore.set entity. */ get children(): ChildrenRequestBuilder; /** * Provides operations to manage the parentGroup property of the microsoft.graph.termStore.set entity. */ get parentGroup(): ParentGroupRequestBuilder; /** * Provides operations to manage the relations property of the microsoft.graph.termStore.set entity. */ get relations(): RelationsRequestBuilder; /** * Provides operations to manage the terms property of the microsoft.graph.termStore.set entity. */ get terms(): TermsRequestBuilder; /** * Delete a set object. * @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/termstore-set-delete?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Read the properties and relationships of a set object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Set>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/termstore-set-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<SetItemRequestBuilderGetQueryParameters> | undefined): Promise<Set | undefined>; /** * Update the properties of a set object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Set>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/termstore-set-update?view=graph-rest-beta|Find more info here} */ patch(body: Set, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Set | undefined>; /** * Delete a set object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Read the properties and relationships of a set object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SetItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of a set object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: Set, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of a set object. */ export interface SetItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const SetItemRequestBuilderUriTemplate = "{+baseurl}/termStore/sets/{set%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const SetItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SetItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const SetItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map