@microsoft/msgraph-beta-sdk-print
Version:
Print fluent API for Microsoft Graph
44 lines • 2.28 kB
TypeScript
import { type PrinterShare } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the share property of the microsoft.graph.printer entity.
*/
export interface ShareRequestBuilder extends BaseRequestBuilder<ShareRequestBuilder> {
/**
* Get share from print
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<PrinterShare>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated The share navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31
*/
get(requestConfiguration?: RequestConfiguration<ShareRequestBuilderGetQueryParameters> | undefined): Promise<PrinterShare | undefined>;
/**
* Get share from print
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated The share navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ShareRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Get share from print
*/
export interface ShareRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const ShareRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/share{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const ShareRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map