/// <summary> /// Gets 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="fields">The fields to be returned for the board.</param> /// <returns>Returns an instance of <see cref="PinterestGetBoardResponse"/> representing the response.</returns> public PinterestGetBoardResponse GetBoard(string board, PinterestFieldsCollection fields) { return(PinterestGetBoardResponse.ParseResponse(Raw.GetBoard(board, fields))); }
/// <summary> /// Gets 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="PinterestGetBoardResponse"/> representing the response.</returns> public PinterestGetBoardResponse GetBoard(PinterestGetBoardOptions options) { return(PinterestGetBoardResponse.ParseResponse(Raw.GetBoard(options))); }
/// <summary> /// Gets 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> /// <returns>Returns an instance of <see cref="PinterestGetBoardResponse"/> representing the response.</returns> public PinterestGetBoardResponse GetBoard(string board) { return(PinterestGetBoardResponse.ParseResponse(Raw.GetBoard(board))); }