C# Class Box.V2.Managers.BoxCommentsManager

Inheritance: BoxResourceManager
Show file Open project: box/box-windows-sdk-v2 Class Usage Examples

Public Methods

Method Description
AddCommentAsync ( BoxCommentRequest commentRequest, List fields = null ) : Task

Used to add a comment by the user to a specific file, discussion, or comment (i.e. as a reply comment).

BoxCommentsManager ( IBoxConfig config, IBoxService service, IBoxConverter converter, IAuthRepository auth, string asUser = null, bool suppressNotifications = null ) : Box.V2.Auth
DeleteAsync ( string id ) : Task

Permanently deletes a comment.

GetInformationAsync ( string id, List fields = null ) : Task

Used to retrieve the message and metadata about a specific comment. Information about the user who created the comment is also included.

UpdateAsync ( string id, BoxCommentRequest commentsRequest, List fields = null ) : Task

Used to update the message of the comment.

Method Details

AddCommentAsync() public method

Used to add a comment by the user to a specific file, discussion, or comment (i.e. as a reply comment).
public AddCommentAsync ( BoxCommentRequest commentRequest, List fields = null ) : Task
commentRequest Box.V2.Models.BoxCommentRequest BoxCommentRequest object.
fields List Attribute(s) to include in the response.
return Task

BoxCommentsManager() public method

public BoxCommentsManager ( IBoxConfig config, IBoxService service, IBoxConverter converter, IAuthRepository auth, string asUser = null, bool suppressNotifications = null ) : Box.V2.Auth
config IBoxConfig
service IBoxService
converter IBoxConverter
auth IAuthRepository
asUser string
suppressNotifications bool
return Box.V2.Auth

DeleteAsync() public method

Permanently deletes a comment.
public DeleteAsync ( string id ) : Task
id string Id of the comment.
return Task

GetInformationAsync() public method

Used to retrieve the message and metadata about a specific comment. Information about the user who created the comment is also included.
public GetInformationAsync ( string id, List fields = null ) : Task
id string Id of the comment.
fields List Attribute(s) to include in the response.
return Task

UpdateAsync() public method

Used to update the message of the comment.
public UpdateAsync ( string id, BoxCommentRequest commentsRequest, List fields = null ) : Task
id string Id of the comment.
commentsRequest Box.V2.Models.BoxCommentRequest BoxCommentsRequest object.
fields List Attribute(s) to include in the response.
return Task