UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
72 lines 4.22 kB
import { type ProfilePropertySetting } 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 profilePropertySettings property of the microsoft.graph.peopleAdminSettings entity. */ export interface ProfilePropertySettingItemRequestBuilder extends BaseRequestBuilder<ProfilePropertySettingItemRequestBuilder> { /** * Delete a profilePropertySetting 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/profilepropertysetting-delete?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Read the properties and relationships of a profilePropertySetting object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ProfilePropertySetting>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/profilepropertysetting-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<ProfilePropertySettingItemRequestBuilderGetQueryParameters> | undefined): Promise<ProfilePropertySetting | undefined>; /** * Update the properties of a profilePropertySetting object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ProfilePropertySetting>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/profilepropertysetting-update?view=graph-rest-beta|Find more info here} */ patch(body: ProfilePropertySetting, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProfilePropertySetting | undefined>; /** * Delete a profilePropertySetting 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 profilePropertySetting object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProfilePropertySettingItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of a profilePropertySetting object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: ProfilePropertySetting, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of a profilePropertySetting object. */ export interface ProfilePropertySettingItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const ProfilePropertySettingItemRequestBuilderUriTemplate = "{+baseurl}/admin/people/profilePropertySettings/{profilePropertySetting%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const ProfilePropertySettingItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map