GetDiscussion() public method

Gets the Discussion specified in the URL.

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

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 GetDiscussion ( long sheetId, long discussionId ) : Discussion
sheetId long the Id of the sheet
discussionId long the ID of the discussion
return Smartsheet.Api.Models.Discussion
        public virtual void TestGetDiscussion()
        {
            server.setResponseBody("../../../TestSDK/resources/getDiscussion.json");

            Discussion discussion = sheetDiscussionResourcesImpl.GetDiscussion(13654, 534654654);

            Assert.True(discussion.Id == 2331373580117892);
            Assert.True(discussion.Title == "This is a new discussion");
            Assert.True(discussion.Comments[0].Text == "This text is the body of the discussion");
        }