C# Class Foretagsplatsen.Api2.Resources.CompanyCommentResource

Afficher le fichier Open project: foretagsplatsen/Foretagsplatsen-DotNet-API

Méthodes publiques

Méthode Description
CompanyCommentResource ( ApiClient client, CompanyInfo company ) : System
CompanyCommentResource ( ApiClient client, string companyId ) : System
Create ( Comment comment ) : Comment
Delete ( Comment comment ) : void
Delete ( string commentId ) : void
Get ( Comment comment ) : Comment
Get ( string commentId ) : Comment
List ( ) : List
Update ( Comment comment ) : Comment

Private Methods

Méthode Description
CreateComment ( JToken obj ) : Comment
GetUrl ( string commentId = "" ) : string

Method Details

CompanyCommentResource() public méthode

public CompanyCommentResource ( ApiClient client, CompanyInfo company ) : System
client ApiClient
company Foretagsplatsen.Api2.Entities.Company.CompanyInfo
Résultat System

CompanyCommentResource() public méthode

public CompanyCommentResource ( ApiClient client, string companyId ) : System
client ApiClient
companyId string
Résultat System

Create() public méthode

public Create ( Comment comment ) : Comment
comment Foretagsplatsen.Api2.Entities.Comments.Comment
Résultat Foretagsplatsen.Api2.Entities.Comments.Comment

Delete() public méthode

public Delete ( Comment comment ) : void
comment Foretagsplatsen.Api2.Entities.Comments.Comment
Résultat void

Delete() public méthode

public Delete ( string commentId ) : void
commentId string
Résultat void

Get() public méthode

public Get ( Comment comment ) : Comment
comment Foretagsplatsen.Api2.Entities.Comments.Comment
Résultat Foretagsplatsen.Api2.Entities.Comments.Comment

Get() public méthode

public Get ( string commentId ) : Comment
commentId string
Résultat Foretagsplatsen.Api2.Entities.Comments.Comment

List() public méthode

public List ( ) : List
Résultat List

Update() public méthode

public Update ( Comment comment ) : Comment
comment Foretagsplatsen.Api2.Entities.Comments.Comment
Résultat Foretagsplatsen.Api2.Entities.Comments.Comment