mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-27 08:26:25 +00:00
21 lines
396 B
C#
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; }
|
||
|
}
|
||
|
}
|