Spotify.NET/SpotifyAPI.Web/Models/Request/TokenSwapTokenRequest.cs
2020-06-02 16:34:24 +02:00

21 lines
396 B
C#

using System;
namespace SpotifyAPI.Web
{
public class TokenSwapTokenRequest
{
public TokenSwapTokenRequest(Uri tokenUri, string code)
{
Ensure.ArgumentNotNull(tokenUri, nameof(tokenUri));
Ensure.ArgumentNotNullOrEmptyString(code, nameof(code));
TokenUri = tokenUri;
Code = code;
}
public string Code { get; }
public Uri TokenUri { get; }
}
}