/// <summary> /// Edits the board with the specified <paramref name="board"/> identifier. /// </summary> /// <param name="board">The identifier of the board to be retrieved. Can be either the ID of the board or the /// part of the URL like <code><username>/<board_name></code></param> /// <param name="name">The new name of the board.</param> /// <param name="description">The new description of the board.</param> /// <param name="fields">The fields to be returned for the board.</param> /// <returns>Returns an instance of <see cref="PinterestEditBoardResponse"/> representing the response.</returns> public PinterestEditBoardResponse EditBoard(string board, string name, string description, PinterestFieldsCollection fields) { return(PinterestEditBoardResponse.ParseResponse(Raw.EditBoard(board, name, description, fields))); }
/// <summary> /// Edits the board matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>Returns an instance of <see cref="PinterestEditBoardResponse"/> representing the response.</returns> public PinterestEditBoardResponse EditBoard(PinterestEditBoardOptions options) { return(PinterestEditBoardResponse.ParseResponse(Raw.EditBoard(options))); }
/// <summary> /// Edits the board with the specified <paramref name="board"/> identifier. /// </summary> /// <param name="board">The identifier of the board to be retrieved. Can be either the ID of the board or the /// part of the URL like <code><username>/<board_name></code></param> /// <param name="name">The new name of the board.</param> /// <param name="description">The new description of the board.</param> /// <returns>Returns an instance of <see cref="PinterestEditBoardResponse"/> representing the response.</returns> public PinterestEditBoardResponse EditBoard(string board, string name, string description) { return(PinterestEditBoardResponse.ParseResponse(Raw.EditBoard(board, name, description))); }