Attachments class

Attachments を表すクラス。

コンストラクター

Attachments(ConnectorClientContext)

添付ファイルを作成します。

メソッド

getAttachment(string, string, RequestOptionsBase)

名前付きビューをバイナリ コンテンツとして取得する

getAttachment(string, string, RequestOptionsBase, ServiceCallback<void>)
getAttachment(string, string, ServiceCallback<void>)
getAttachmentInfo(string, RequestOptionsBase)

添付ファイル ビューを記述する AttachmentInfo 構造体を取得する

getAttachmentInfo(string, RequestOptionsBase, ServiceCallback<AttachmentInfo>)
getAttachmentInfo(string, ServiceCallback<AttachmentInfo>)

コンストラクターの詳細

Attachments(ConnectorClientContext)

添付ファイルを作成します。

new Attachments(client: ConnectorClientContext)

パラメーター

client
ConnectorClientContext

サービス クライアントへの参照。

メソッドの詳細

getAttachment(string, string, RequestOptionsBase)

名前付きビューをバイナリ コンテンツとして取得する

function getAttachment(attachmentId: string, viewId: string, options?: RequestOptionsBase): Promise<Models.AttachmentsGetAttachmentResponse>

パラメーター

attachmentId

string

添付ファイル ID

viewId

string

attachmentInfo から ID を表示する

options

RequestOptionsBase

戻り値

Promise<Models.AttachmentsGetAttachmentResponse>

Promise<Models.AttachmentsGetAttachmentResponse>

getAttachment(string, string, RequestOptionsBase, ServiceCallback<void>)

function getAttachment(attachmentId: string, viewId: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

パラメーター

attachmentId

string

添付ファイル ID

viewId

string

attachmentInfo から ID を表示する

options

RequestOptionsBase

省略可能なパラメーター

callback

ServiceCallback<void>

コールバック。

getAttachment(string, string, ServiceCallback<void>)

function getAttachment(attachmentId: string, viewId: string, callback: ServiceCallback<void>)

パラメーター

attachmentId

string

添付ファイル ID

viewId

string

attachmentInfo から ID を表示する

callback

ServiceCallback<void>

コールバック。

getAttachmentInfo(string, RequestOptionsBase)

添付ファイル ビューを記述する AttachmentInfo 構造体を取得する

function getAttachmentInfo(attachmentId: string, options?: RequestOptionsBase): Promise<Models.AttachmentsGetAttachmentInfoResponse>

パラメーター

attachmentId

string

添付ファイル ID

options

RequestOptionsBase

戻り値

Promise<Models.AttachmentsGetAttachmentInfoResponse>

Promise<Models.AttachmentsGetAttachmentInfoResponse>

getAttachmentInfo(string, RequestOptionsBase, ServiceCallback<AttachmentInfo>)

function getAttachmentInfo(attachmentId: string, options: RequestOptionsBase, callback: ServiceCallback<AttachmentInfo>)

パラメーター

attachmentId

string

添付ファイル ID

options

RequestOptionsBase

省略可能なパラメーター

callback

ServiceCallback<AttachmentInfo>

コールバック。

getAttachmentInfo(string, ServiceCallback<AttachmentInfo>)

function getAttachmentInfo(attachmentId: string, callback: ServiceCallback<AttachmentInfo>)

パラメーター

attachmentId

string

添付ファイル ID

callback

ServiceCallback<AttachmentInfo>

コールバック。