C# Класс Box.V2.Managers.BoxCommentsManager

Наследование: BoxResourceManager
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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.

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

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

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.
Результат Task

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

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
Результат Box.V2.Auth

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

Permanently deletes a comment.
public DeleteAsync ( string id ) : Task
id string Id of the comment.
Результат Task

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

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.
Результат Task

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

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.
Результат Task