C# Класс Smartsheet.Api.Internal.DiscussionAttachmentResourcesImpl

This is the implementation of the AssociatedAttachmentResources for Discussions. It extends AssociatedAttachmentResourcesImpl and overrides attachFile/attachURL methods by throwing UnsupportedOperationException (since they're not supported for Discussions). Thread Safety: This class is thread safe because it is immutable and its base class is thread safe.
Наследование: AbstractResources, DiscussionAttachmentResources
Показать файл Открыть проект

Открытые методы

Метод Описание
DiscussionAttachmentResourcesImpl ( SmartsheetImpl smartsheet ) : System.Text

Constructor.

ListAttachments ( long sheetId, long discussionId, PaginationParameters paging ) : PaginatedResult

Gets a list of all Attachments that are in the Discussion

It mirrors To the following Smartsheet REST API method:
GET /sheets/{sheetId}/discussions/{discussionId}/attachments

Описание методов

DiscussionAttachmentResourcesImpl() публичный Метод

Constructor.
if any argument is null
public DiscussionAttachmentResourcesImpl ( SmartsheetImpl smartsheet ) : System.Text
smartsheet SmartsheetImpl the Smartsheet
Результат System.Text

ListAttachments() публичный Метод

Gets a list of all Attachments that are in the Discussion

It mirrors To the following Smartsheet REST API method:
GET /sheets/{sheetId}/discussions/{discussionId}/attachments

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public ListAttachments ( long sheetId, long discussionId, PaginationParameters paging ) : PaginatedResult
sheetId long the sheetId
discussionId long the discussion Id
paging Smartsheet.Api.Models.PaginationParameters the paging
Результат PaginatedResult