/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import * as msRest from "@azure/ms-rest-js"; import { ConnectorClientContext } from "../connectorClientContext"; import * as Models from "../models"; /** Class representing a Attachments. */ export declare class Attachments { private readonly client; /** * Create a Attachments. * @param {ConnectorClientContext} client Reference to the service client. */ constructor(client: ConnectorClientContext); /** * Get AttachmentInfo structure describing the attachment views * @summary GetAttachmentInfo * @param attachmentId attachment id * @param [options] The optional parameters * @returns Promise */ getAttachmentInfo(attachmentId: string, options?: msRest.RequestOptionsBase): Promise; /** * @param attachmentId attachment id * @param callback The callback */ getAttachmentInfo(attachmentId: string, callback: msRest.ServiceCallback): void; /** * @param attachmentId attachment id * @param options The optional parameters * @param callback The callback */ getAttachmentInfo(attachmentId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Get the named view as binary content * @summary GetAttachment * @param attachmentId attachment id * @param viewId View id from attachmentInfo * @param [options] The optional parameters * @returns Promise */ getAttachment(attachmentId: string, viewId: string, options?: msRest.RequestOptionsBase): Promise; /** * @param attachmentId attachment id * @param viewId View id from attachmentInfo * @param callback The callback */ getAttachment(attachmentId: string, viewId: string, callback: msRest.ServiceCallback): void; /** * @param attachmentId attachment id * @param viewId View id from attachmentInfo * @param options The optional parameters * @param callback The callback */ getAttachment(attachmentId: string, viewId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; } //# sourceMappingURL=attachments.d.ts.map