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 void ChangeUnread(INotificationId notification, bool unread) { _restClient.Request(new NotificationChangeUnreadRequest(notification, unread)); }