/// <summary> /// Gets information about the user matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>Returns an instance of <code>SocialHttpResponse</code> representing the response.</returns> public PinterestGetUserResponse GetUser(PinterestGetUserOptions options) { if (options == null) { throw new ArgumentNullException("options"); } return(PinterestGetUserResponse.ParseResponse(Raw.GetUser(options))); }
/// <summary> /// Gets information about the user with the specified <paramref name="identifier"/>. /// </summary> /// <param name="identifier">The identifier of the user.</param> /// <param name="fields">The fields that should be returned.</param> /// <returns>Returns an instance of <code>PinterestGetUserResponse</code> representing the response.</returns> public PinterestGetUserResponse GetUser(string identifier, PinterestFieldsCollection fields) { if (String.IsNullOrWhiteSpace(identifier)) { throw new ArgumentNullException("identifier"); } return(PinterestGetUserResponse.ParseResponse(Raw.GetUser(identifier, fields))); }
/// <summary> /// Gets information about the user 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="PinterestGetUserResponse"/> representing the response.</returns> public PinterestGetUserResponse GetUser(PinterestGetUserOptions options) { return(PinterestGetUserResponse.ParseResponse(Raw.GetUser(options))); }
/// <summary> /// Gets information about the user with the specified <paramref name="identifier"/>. /// </summary> /// <param name="identifier">The identifier of the user.</param> /// <param name="fields">The fields that should be returned.</param> /// <returns>An instance of <see cref="PinterestGetUserResponse"/> representing the response.</returns> public PinterestGetUserResponse GetUser(string identifier, PinterestFieldsCollection fields) { return(PinterestGetUserResponse.ParseResponse(Raw.GetUser(identifier, fields))); }
/// <summary> /// Gets information about the user with the specified <paramref name="identifier"/>. /// </summary> /// <param name="identifier">The identifier of the user.</param> /// <returns>An instance of <see cref="PinterestGetUserResponse"/> representing the response.</returns> public PinterestGetUserResponse GetUser(string identifier) { return(PinterestGetUserResponse.ParseResponse(Raw.GetUser(identifier))); }