@microsoft/msgraph-beta-sdk-solutions
Version:
Solutions fluent API for Microsoft Graph
80 lines • 4.86 kB
TypeScript
import { type PlannerPlanConfiguration } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type LocalizationsRequestBuilder } from './localizations/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the planConfiguration property of the microsoft.graph.businessScenarioPlanner entity.
*/
export interface PlanConfigurationRequestBuilder extends BaseRequestBuilder<PlanConfigurationRequestBuilder> {
/**
* Provides operations to manage the localizations property of the microsoft.graph.plannerPlanConfiguration entity.
*/
get localizations(): LocalizationsRequestBuilder;
/**
* Delete navigation property planConfiguration for solutions
* @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>;
/**
* Read the properties and relationships of a plannerPlanConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<PlannerPlanConfiguration>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/plannerplanconfiguration-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<PlanConfigurationRequestBuilderGetQueryParameters> | undefined): Promise<PlannerPlanConfiguration | undefined>;
/**
* Update the properties of a plannerPlanConfiguration object and its plannerPlanConfigurationLocalization collection for a businessScenario.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<PlannerPlanConfiguration>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/plannerplanconfiguration-update?view=graph-rest-beta|Find more info here}
*/
patch(body: PlannerPlanConfiguration, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PlannerPlanConfiguration | undefined>;
/**
* Delete navigation property planConfiguration for solutions
* @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 plannerPlanConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PlanConfigurationRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the properties of a plannerPlanConfiguration object and its plannerPlanConfigurationLocalization collection for a businessScenario.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: PlannerPlanConfiguration, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of a plannerPlanConfiguration object.
*/
export interface PlanConfigurationRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const PlanConfigurationRequestBuilderUriTemplate = "{+baseurl}/solutions/businessScenarios/{businessScenario%2Did}/planner/planConfiguration{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const PlanConfigurationRequestBuilderNavigationMetadata: Record<Exclude<keyof PlanConfigurationRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const PlanConfigurationRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map