public CardsAddLabelRequest(ICardId card, ILabelId labelId) : base(card, "idLabels", Method.POST) { AddParameter("value", labelId.GetLabelId()); }
public LabelsRequest(ILabelId label, string resource = "", Method method = Method.GET) : base("labels/{labelId}/" + resource, method) { Guard.NotNull(label, "label"); AddParameter("labelId", label.GetLabelId(), ParameterType.UrlSegment); }
public CardsRemoveLabelRequest(ICardId card, ILabelId labelId) : base(card, "idLabels", Method.DELETE) { AddParameter("value", labelId.GetLabelId()); }