@microsoft/msgraph-beta-sdk-users
Version:
Users fluent API for Microsoft Graph
83 lines • 4.52 kB
TypeScript
import { type WorkingTimeSchedule } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type EndWorkingTimeRequestBuilder } from './endWorkingTime/index.js';
import { type StartWorkingTimeRequestBuilder } from './startWorkingTime/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the workingTimeSchedule property of the microsoft.graph.userSolutionRoot entity.
*/
export interface WorkingTimeScheduleRequestBuilder extends BaseRequestBuilder<WorkingTimeScheduleRequestBuilder> {
/**
* Provides operations to call the endWorkingTime method.
*/
get endWorkingTime(): EndWorkingTimeRequestBuilder;
/**
* Provides operations to call the startWorkingTime method.
*/
get startWorkingTime(): StartWorkingTimeRequestBuilder;
/**
* Delete navigation property workingTimeSchedule for users
* @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>;
/**
* The working time schedule entity associated with the solution.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<WorkingTimeSchedule>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<WorkingTimeScheduleRequestBuilderGetQueryParameters> | undefined): Promise<WorkingTimeSchedule | undefined>;
/**
* Update the navigation property workingTimeSchedule in users
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<WorkingTimeSchedule>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: WorkingTimeSchedule, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkingTimeSchedule | undefined>;
/**
* Delete navigation property workingTimeSchedule for users
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* The working time schedule entity associated with the solution.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<WorkingTimeScheduleRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property workingTimeSchedule in users
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: WorkingTimeSchedule, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* The working time schedule entity associated with the solution.
*/
export interface WorkingTimeScheduleRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const WorkingTimeScheduleRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/solutions/workingTimeSchedule{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const WorkingTimeScheduleRequestBuilderNavigationMetadata: Record<Exclude<keyof WorkingTimeScheduleRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const WorkingTimeScheduleRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map