C# Class 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.
Inheritance: AbstractResources, DiscussionAttachmentResources
Afficher le fichier Open project: smartsheet-platform/smartsheet-csharp-sdk

Méthodes publiques

Méthode Description
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

Method Details

DiscussionAttachmentResourcesImpl() public méthode

Constructor.
if any argument is null
public DiscussionAttachmentResourcesImpl ( SmartsheetImpl smartsheet ) : System.Text
smartsheet SmartsheetImpl the Smartsheet
Résultat System.Text

ListAttachments() public méthode

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
Résultat PaginatedResult