C# Class HighriseApi.Requests.CommentRequest

Inheritance: RequestBase, ICommentRequest
Exibir arquivo Open project: scottschluer/highrise-api

Public Methods

Method Description
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

Method Details

CommentRequest() public method

public CommentRequest ( IRestClient client ) : System
client IRestClient
return System

Create() public method

public Create ( Comment comment ) : Comment
comment HighriseApi.Models.Comment
return HighriseApi.Models.Comment

Delete() public method

public Delete ( int id ) : bool
id int
return bool

Get() public method

public Get ( int id ) : Comment
id int
return HighriseApi.Models.Comment

Get() public method

public Get ( int id, CommentType commentType ) : IEnumerable
id int
commentType CommentType
return IEnumerable

Update() public method

public Update ( Comment comment ) : bool
comment HighriseApi.Models.Comment
return bool