C# Класс HighriseApi.Requests.CommentRequest

Наследование: RequestBase, ICommentRequest
Показать файл Открыть проект

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

Метод Описание
CommentRequest ( IRestClient client ) : System
Create ( Comment comment ) : Comment
Delete ( int id ) : bool
Get ( int id ) : Comment
Get ( int id, CommentType commentType ) : IEnumerable
Update ( Comment comment ) : bool

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

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

public CommentRequest ( IRestClient client ) : System
client IRestClient
Результат System

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

public Create ( Comment comment ) : Comment
comment HighriseApi.Models.Comment
Результат HighriseApi.Models.Comment

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

public Delete ( int id ) : bool
id int
Результат bool

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

public Get ( int id ) : Comment
id int
Результат HighriseApi.Models.Comment

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

public Get ( int id, CommentType commentType ) : IEnumerable
id int
commentType CommentType
Результат IEnumerable

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

public Update ( Comment comment ) : bool
comment HighriseApi.Models.Comment
Результат bool