public CardsAddLabelRequest(ICardId card, Color color)
			: base(card, "labels", Method.POST)
		{
			this.AddValue(color.ToTrelloString());
		}
Example #2
0
		public CardsRemoveLabelRequest(ICardId card, Color color)
			: base(card, "labels/{color}", Method.DELETE)
		{
			AddParameter("color", color.ToTrelloString(), ParameterType.UrlSegment);
		}
		public BoardsChangeLabelNameRequest(IBoardId board, Color color, string name)
			: base(board, "labelNames/{color}", Method.PUT)
		{
			AddParameter("color", color.ToTrelloString(), ParameterType.UrlSegment);
			this.AddValue(name ?? "");
		}