@microsoft/msgraph-beta-sdk-education
Version:
Education fluent API for Microsoft Graph
52 lines • 2.61 kB
TypeScript
import { type Group } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type ServiceProvisioningErrorsRequestBuilder } from './serviceProvisioningErrors/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the group property of the microsoft.graph.educationClass entity.
*/
export interface GroupRequestBuilder extends BaseRequestBuilder<GroupRequestBuilder> {
/**
* The serviceProvisioningErrors property
*/
get serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder;
/**
* Retrieve the Microsoft 365 group that corresponds to this educationClass.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Group>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/educationclass-get-group?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<GroupRequestBuilderGetQueryParameters> | undefined): Promise<Group | undefined>;
/**
* Retrieve the Microsoft 365 group that corresponds to this educationClass.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GroupRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Retrieve the Microsoft 365 group that corresponds to this educationClass.
*/
export interface GroupRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const GroupRequestBuilderUriTemplate = "{+baseurl}/education/classes/{educationClass%2Did}/group{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const GroupRequestBuilderNavigationMetadata: Record<Exclude<keyof GroupRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const GroupRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map