Creating of the new OAuthHelper for HttpClient. Removal of manual assembly of the multipart post.
9 lines
229 B
C#
9 lines
229 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Duplicati.Library.Backend.Box;
|
|
|
|
public class CreateItemRequest
|
|
{
|
|
[JsonProperty("name")] public string Name { get; set; }
|
|
[JsonProperty("parent")] public IDReference Parent { get; set; }
|
|
} |