@microsoft/msgraph-beta-sdk-devicemanagement
Version:
DeviceManagement fluent API for Microsoft Graph
88 lines • 5 kB
TypeScript
import { type TermsAndConditions } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type AcceptanceStatusesRequestBuilder } from './acceptanceStatuses/index.js';
import { type AssignmentsRequestBuilder } from './assignments/index.js';
import { type GroupAssignmentsRequestBuilder } from './groupAssignments/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the termsAndConditions property of the microsoft.graph.deviceManagement entity.
*/
export interface TermsAndConditionsItemRequestBuilder extends BaseRequestBuilder<TermsAndConditionsItemRequestBuilder> {
/**
* Provides operations to manage the acceptanceStatuses property of the microsoft.graph.termsAndConditions entity.
*/
get acceptanceStatuses(): AcceptanceStatusesRequestBuilder;
/**
* Provides operations to manage the assignments property of the microsoft.graph.termsAndConditions entity.
*/
get assignments(): AssignmentsRequestBuilder;
/**
* Provides operations to manage the groupAssignments property of the microsoft.graph.termsAndConditions entity.
*/
get groupAssignments(): GroupAssignmentsRequestBuilder;
/**
* Delete navigation property termsAndConditions for deviceManagement
* @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>;
/**
* The terms and conditions associated with device management of the company.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<TermsAndConditions>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<TermsAndConditionsItemRequestBuilderGetQueryParameters> | undefined): Promise<TermsAndConditions | undefined>;
/**
* Update the navigation property termsAndConditions in deviceManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<TermsAndConditions>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: TermsAndConditions, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TermsAndConditions | undefined>;
/**
* Delete navigation property termsAndConditions for deviceManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* The terms and conditions associated with device management of the company.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TermsAndConditionsItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property termsAndConditions in deviceManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: TermsAndConditions, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* The terms and conditions associated with device management of the company.
*/
export interface TermsAndConditionsItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const TermsAndConditionsItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/termsAndConditions/{termsAndConditions%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const TermsAndConditionsItemRequestBuilderNavigationMetadata: Record<Exclude<keyof TermsAndConditionsItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const TermsAndConditionsItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map