@microsoft/msgraph-sdk-security
Version:
Security fluent API for Microsoft Graph
121 lines • 6.67 kB
TypeScript
import { type EdiscoveryCase } from '@microsoft/msgraph-sdk/models/security/index.js';
import { type CustodiansRequestBuilder } from './custodians/index.js';
import { type MicrosoftGraphSecurityCloseRequestBuilder } from './microsoftGraphSecurityClose/index.js';
import { type MicrosoftGraphSecurityReopenRequestBuilder } from './microsoftGraphSecurityReopen/index.js';
import { type NoncustodialDataSourcesRequestBuilder } from './noncustodialDataSources/index.js';
import { type OperationsRequestBuilder } from './operations/index.js';
import { type ReviewSetsRequestBuilder } from './reviewSets/index.js';
import { type SearchesRequestBuilder } from './searches/index.js';
import { type SettingsRequestBuilder } from './settings/index.js';
import { type TagsRequestBuilder } from './tags/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the ediscoveryCases property of the microsoft.graph.security.casesRoot entity.
*/
export interface EdiscoveryCaseItemRequestBuilder extends BaseRequestBuilder<EdiscoveryCaseItemRequestBuilder> {
/**
* Provides operations to manage the custodians property of the microsoft.graph.security.ediscoveryCase entity.
*/
get custodians(): CustodiansRequestBuilder;
/**
* Provides operations to call the close method.
*/
get microsoftGraphSecurityClose(): MicrosoftGraphSecurityCloseRequestBuilder;
/**
* Provides operations to call the reopen method.
*/
get microsoftGraphSecurityReopen(): MicrosoftGraphSecurityReopenRequestBuilder;
/**
* Provides operations to manage the noncustodialDataSources property of the microsoft.graph.security.ediscoveryCase entity.
*/
get noncustodialDataSources(): NoncustodialDataSourcesRequestBuilder;
/**
* Provides operations to manage the operations property of the microsoft.graph.security.ediscoveryCase entity.
*/
get operations(): OperationsRequestBuilder;
/**
* Provides operations to manage the reviewSets property of the microsoft.graph.security.ediscoveryCase entity.
*/
get reviewSets(): ReviewSetsRequestBuilder;
/**
* Provides operations to manage the searches property of the microsoft.graph.security.ediscoveryCase entity.
*/
get searches(): SearchesRequestBuilder;
/**
* Provides operations to manage the settings property of the microsoft.graph.security.ediscoveryCase entity.
*/
get settings(): SettingsRequestBuilder;
/**
* Provides operations to manage the tags property of the microsoft.graph.security.ediscoveryCase entity.
*/
get tags(): TagsRequestBuilder;
/**
* Delete an ediscoveryCase object.
* @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
* @see {@link https://learn.microsoft.com/graph/api/security-casesroot-delete-ediscoverycases?view=graph-rest-1.0|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Read the properties and relationships of an ediscoveryCase object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<EdiscoveryCase>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/security-ediscoverycase-get?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<EdiscoveryCaseItemRequestBuilderGetQueryParameters> | undefined): Promise<EdiscoveryCase | undefined>;
/**
* Update the properties of an ediscoveryCase object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<EdiscoveryCase>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/security-ediscoverycase-update?view=graph-rest-1.0|Find more info here}
*/
patch(body: EdiscoveryCase, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EdiscoveryCase | undefined>;
/**
* Delete an ediscoveryCase object.
* @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 an ediscoveryCase object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<EdiscoveryCaseItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the properties of an ediscoveryCase object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: EdiscoveryCase, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of an ediscoveryCase object.
*/
export interface EdiscoveryCaseItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const EdiscoveryCaseItemRequestBuilderUriTemplate = "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const EdiscoveryCaseItemRequestBuilderNavigationMetadata: Record<Exclude<keyof EdiscoveryCaseItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const EdiscoveryCaseItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map