Skip to content

Commit

Permalink
make properties public
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasviehweger committed Dec 29, 2016
1 parent 32c2a3e commit 579dd60
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions Alexa.NET/Request/Type/AudioPlayerRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ namespace Alexa.NET.Request.Type
public class AudioPlayerRequest: Request
{
[JsonProperty("token")]
string Token { get; set; }
public string Token { get; set; }

[JsonProperty("locale")]
string Locale { get; set; }
public string Locale { get; set; }

[JsonProperty("offsetInMilliseconds")]
string OffsetInMilliseconds { get; set; }
public string OffsetInMilliseconds { get; set; }

[JsonProperty("error")]
Error Error { get; set; }
public Error Error { get; set; }

[JsonProperty("currentPlaybackState")]
PlaybackState CurrentPlaybackState { get; set; }
public PlaybackState CurrentPlaybackState { get; set; }
}
}
4 changes: 2 additions & 2 deletions Alexa.NET/Request/Type/Error.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ namespace Alexa.NET.Request.Type
public class Error
{
[JsonProperty("type")]
string Type { get; set; }
public string Type { get; set; }

[JsonProperty("message")]
string Message { get; set; }
public string Message { get; set; }
}
}
2 changes: 1 addition & 1 deletion Alexa.NET/Request/Type/IntentRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ namespace Alexa.NET.Request.Type
{
public class IntentRequest : Request
{
Intent Intent { get; set; }
public Intent Intent { get; set; }
}
}
6 changes: 3 additions & 3 deletions Alexa.NET/Request/Type/PlaybackState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ namespace Alexa.NET.Request.Type
public class PlaybackState
{
[JsonProperty("token")]
string Token { get; set; }
public string Token { get; set; }

[JsonProperty("offsetInMilliseconds")]
string OffsetInMilliseconds { get; set; }
public string OffsetInMilliseconds { get; set; }

[JsonProperty("playerActivity")]
string PlayerActivity { get; set; }
public string PlayerActivity { get; set; }
}
}
6 changes: 3 additions & 3 deletions Alexa.NET/Request/Type/Request.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ namespace Alexa.NET.Request.Type
public abstract class Request
{
[JsonProperty("type")]
string Type { get; set; }
public string Type { get; set; }

[JsonProperty("requestId")]
string RequestId { get; set; }
public string RequestId { get; set; }

[JsonProperty("timestamp")]
DateTime Timestamp { get; set; }
public DateTime Timestamp { get; set; }
}
}
2 changes: 1 addition & 1 deletion Alexa.NET/Request/Type/SessionEndedRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ namespace Alexa.NET.Request.Type
public class SessionEndedRequest : Request
{
[JsonProperty("reason")]
string Reason { get; set; }
public string Reason { get; set; }
}
}

0 comments on commit 579dd60

Please sign in to comment.