@microsoft/msgraph-beta-sdk-groups
Version:
Groups fluent API for Microsoft Graph
78 lines • 4.08 kB
TypeScript
import { type PlannerGroup } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type PlansRequestBuilder } from './plans/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the planner property of the microsoft.graph.group entity.
*/
export interface PlannerRequestBuilder extends BaseRequestBuilder<PlannerRequestBuilder> {
/**
* Provides operations to manage the plans property of the microsoft.graph.plannerGroup entity.
*/
get plans(): PlansRequestBuilder;
/**
* Delete navigation property planner for groups
* @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>;
/**
* Selective Planner services available to the group. Read-only. Nullable.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<PlannerGroup>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<PlannerRequestBuilderGetQueryParameters> | undefined): Promise<PlannerGroup | undefined>;
/**
* Update the navigation property planner in groups
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<PlannerGroup>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: PlannerGroup, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PlannerGroup | undefined>;
/**
* Delete navigation property planner for groups
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Selective Planner services available to the group. Read-only. Nullable.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PlannerRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property planner in groups
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: PlannerGroup, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Selective Planner services available to the group. Read-only. Nullable.
*/
export interface PlannerRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const PlannerRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/planner{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const PlannerRequestBuilderNavigationMetadata: Record<Exclude<keyof PlannerRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const PlannerRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map