Exemple #1
0
 public NotificationChangeUnreadRequest(INotificationId notification, bool unread)
     : base(notification, "unread", Method.PUT)
 {
     this.AddValue(unread.ToTrelloString());
 }
 public NotificationsRequest(INotificationId notificationId, string resource = "")
     : base("notifications/{notificationId}/" + resource)
 {
     AddParameter("notificationId", notificationId.GetNotificationId(), ParameterType.UrlSegment);
 }
 public NotificationsRequest(INotificationId notificationId, string resource = "", Method method = Method.GET)
     : base("notifications/{notificationId}/" + resource, method)
 {
     AddParameter("notificationId", notificationId.GetNotificationId(), ParameterType.UrlSegment);
 }
 public NotificationChangeUnreadRequest(INotificationId notification, bool unread)
     : base(notification, "unread", Method.PUT)
 {
     this.AddValue(unread.ToTrelloString());
 }
Exemple #5
0
 public void ChangeUnread(INotificationId notification, bool unread)
 {
     _restClient.Request(new NotificationChangeUnreadRequest(notification, unread));
 }
 public void ChangeUnread(INotificationId notification, bool unread)
 {
     _restClient.Request(new NotificationChangeUnreadRequest(notification, unread));
 }