/// <summary> /// Gets the board matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="SocialHttpResponse"/> representing the raw response.</returns> public SocialHttpResponse GetBoard(PinterestGetBoardOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } if (String.IsNullOrEmpty(options.Board)) { throw new PropertyNotSetException(nameof(options.Board)); } return(Client.DoHttpGetRequest("/v1/boards/" + options.Board, options)); }
/// <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))); }