Smartsheet.Api.Internal.AssociatedAttachmentResourcesImpl.ListAttachments C# (CSharp) Method

ListAttachments() private method

private ListAttachments ( long objectId ) : IList
objectId long
return IList
        public virtual IList<Attachment> ListAttachments(long objectId)
        {
            throw new System.NotImplementedException();
        }

Usage Example

Example #1
0
        public virtual void TestListAttachments()
        {
            server.setResponseBody("../../../TestSDK/resources/listAssociatedAttachments.json");

            IList <Attachment> attachments = associatedAttachment.ListAttachments(1234L);

            Assert.True(attachments.Count == 4);
            Assert.True(attachments[0].SizeInKb == 102400);
        }