@microsoft/msgraph-beta-sdk-directory
Version:
Directory fluent API for Microsoft Graph
113 lines • 5.36 kB
TypeScript
import { type DirectoryObject } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type CheckMemberGroupsRequestBuilder } from './checkMemberGroups/index.js';
import { type CheckMemberObjectsRequestBuilder } from './checkMemberObjects/index.js';
import { type GetMemberGroupsRequestBuilder } from './getMemberGroups/index.js';
import { type GetMemberObjectsRequestBuilder } from './getMemberObjects/index.js';
import { type GraphAdministrativeUnitRequestBuilder } from './graphAdministrativeUnit/index.js';
import { type GraphApplicationRequestBuilder } from './graphApplication/index.js';
import { type GraphDeviceRequestBuilder } from './graphDevice/index.js';
import { type GraphGroupRequestBuilder } from './graphGroup/index.js';
import { type GraphServicePrincipalRequestBuilder } from './graphServicePrincipal/index.js';
import { type GraphUserRequestBuilder } from './graphUser/index.js';
import { type RestoreRequestBuilder } from './restore/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the deletedItems property of the microsoft.graph.directory entity.
*/
export interface DirectoryObjectItemRequestBuilder extends BaseRequestBuilder<DirectoryObjectItemRequestBuilder> {
/**
* Provides operations to call the checkMemberGroups method.
*/
get checkMemberGroups(): CheckMemberGroupsRequestBuilder;
/**
* Provides operations to call the checkMemberObjects method.
*/
get checkMemberObjects(): CheckMemberObjectsRequestBuilder;
/**
* Provides operations to call the getMemberGroups method.
*/
get getMemberGroups(): GetMemberGroupsRequestBuilder;
/**
* Provides operations to call the getMemberObjects method.
*/
get getMemberObjects(): GetMemberObjectsRequestBuilder;
/**
* Casts the previous resource to administrativeUnit.
*/
get graphAdministrativeUnit(): GraphAdministrativeUnitRequestBuilder;
/**
* Casts the previous resource to application.
*/
get graphApplication(): GraphApplicationRequestBuilder;
/**
* Casts the previous resource to device.
*/
get graphDevice(): GraphDeviceRequestBuilder;
/**
* Casts the previous resource to group.
*/
get graphGroup(): GraphGroupRequestBuilder;
/**
* Casts the previous resource to servicePrincipal.
*/
get graphServicePrincipal(): GraphServicePrincipalRequestBuilder;
/**
* Casts the previous resource to user.
*/
get graphUser(): GraphUserRequestBuilder;
/**
* Provides operations to call the restore method.
*/
get restore(): RestoreRequestBuilder;
/**
* Delete navigation property deletedItems for directory
* @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>;
/**
* Recently deleted items. Read-only. Nullable.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<DirectoryObject>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<DirectoryObjectItemRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryObject | undefined>;
/**
* Delete navigation property deletedItems for directory
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Recently deleted items. Read-only. Nullable.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DirectoryObjectItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Recently deleted items. Read-only. Nullable.
*/
export interface DirectoryObjectItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const DirectoryObjectItemRequestBuilderUriTemplate = "{+baseurl}/directory/deletedItems/{directoryObject%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const DirectoryObjectItemRequestBuilderNavigationMetadata: Record<Exclude<keyof DirectoryObjectItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const DirectoryObjectItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map