@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-06-03T09:37:15.620Z[Etc/UTC]")
public class AttachmentsApi
extends java.lang.Object
Constructor and Description |
---|
AttachmentsApi(com.symphony.bdk.http.api.ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
com.symphony.bdk.http.api.ApiClient |
getApiClient()
Get the API cilent
|
byte[] |
v1StreamSidAttachmentGet(java.lang.String sid,
java.lang.String fileId,
java.lang.String messageId,
java.lang.String sessionToken,
java.lang.String keyManagerToken)
Download an attachment.
|
com.symphony.bdk.http.api.ApiResponse<byte[]> |
v1StreamSidAttachmentGetWithHttpInfo(java.lang.String sid,
java.lang.String fileId,
java.lang.String messageId,
java.lang.String sessionToken,
java.lang.String keyManagerToken)
Download an attachment.
|
public AttachmentsApi(com.symphony.bdk.http.api.ApiClient apiClient)
public com.symphony.bdk.http.api.ApiClient getApiClient()
public byte[] v1StreamSidAttachmentGet(java.lang.String sid, java.lang.String fileId, java.lang.String messageId, java.lang.String sessionToken, java.lang.String keyManagerToken) throws com.symphony.bdk.http.api.ApiException
sid
- Stream ID (required)fileId
- The attachment ID (Base64-encoded) (required)messageId
- The ID of the message containing the attachment (required)sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)com.symphony.bdk.http.api.ApiException
- if fails to make API callpublic com.symphony.bdk.http.api.ApiResponse<byte[]> v1StreamSidAttachmentGetWithHttpInfo(java.lang.String sid, java.lang.String fileId, java.lang.String messageId, java.lang.String sessionToken, java.lang.String keyManagerToken) throws com.symphony.bdk.http.api.ApiException
sid
- Stream ID (required)fileId
- The attachment ID (Base64-encoded) (required)messageId
- The ID of the message containing the attachment (required)sessionToken
- Session authentication token. (required)keyManagerToken
- Key Manager authentication token. (required)com.symphony.bdk.http.api.ApiException
- if fails to make API call