Ejemplo n.º 1
0
 public Webhook WithId(string id)
 {
     return(_restClient.Request <Webhook>(new WebhookRequest(new WebhookId(id))));
 }
Ejemplo n.º 2
0
 public SearchResults Search(string query, int limit = 10, SearchFilter filter = null, IEnumerable <ModelType> modelTypes = null, DateTime?actionsSince = null, bool partial = false)
 {
     return(_restClient.Request <SearchResults>(new SearchRequest(query, limit, filter, modelTypes, actionsSince, partial)));
 }
Ejemplo n.º 3
0
 public Token WithToken(string token)
 {
     Guard.NotNullOrEmpty(token, "token");
     return(_restClient.Request <Token>(new TokensRequest(token)));
 }