Spotify.NET/SpotifyAPI.Web/Models/Request/TokenSwapTokenRequest.cs

21 lines
396 B
C#
Raw Permalink Normal View History

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; }
}
}