From 579dd604062fdab595ab2e80ad3cd953616d21a6 Mon Sep 17 00:00:00 2001 From: Tobias Viehweger Date: Thu, 29 Dec 2016 18:31:18 +0100 Subject: [PATCH] make properties public --- Alexa.NET/Request/Type/AudioPlayerRequest.cs | 10 +++++----- Alexa.NET/Request/Type/Error.cs | 4 ++-- Alexa.NET/Request/Type/IntentRequest.cs | 2 +- Alexa.NET/Request/Type/PlaybackState.cs | 6 +++--- Alexa.NET/Request/Type/Request.cs | 6 +++--- Alexa.NET/Request/Type/SessionEndedRequest.cs | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Alexa.NET/Request/Type/AudioPlayerRequest.cs b/Alexa.NET/Request/Type/AudioPlayerRequest.cs index e7573ad..98f69da 100644 --- a/Alexa.NET/Request/Type/AudioPlayerRequest.cs +++ b/Alexa.NET/Request/Type/AudioPlayerRequest.cs @@ -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; } } } diff --git a/Alexa.NET/Request/Type/Error.cs b/Alexa.NET/Request/Type/Error.cs index 39d3318..64ee8c5 100644 --- a/Alexa.NET/Request/Type/Error.cs +++ b/Alexa.NET/Request/Type/Error.cs @@ -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; } } } diff --git a/Alexa.NET/Request/Type/IntentRequest.cs b/Alexa.NET/Request/Type/IntentRequest.cs index e5aa717..c51f8a9 100644 --- a/Alexa.NET/Request/Type/IntentRequest.cs +++ b/Alexa.NET/Request/Type/IntentRequest.cs @@ -2,6 +2,6 @@ namespace Alexa.NET.Request.Type { public class IntentRequest : Request { - Intent Intent { get; set; } + public Intent Intent { get; set; } } } \ No newline at end of file diff --git a/Alexa.NET/Request/Type/PlaybackState.cs b/Alexa.NET/Request/Type/PlaybackState.cs index 539a86d..9183e8c 100644 --- a/Alexa.NET/Request/Type/PlaybackState.cs +++ b/Alexa.NET/Request/Type/PlaybackState.cs @@ -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; } } } diff --git a/Alexa.NET/Request/Type/Request.cs b/Alexa.NET/Request/Type/Request.cs index 171b426..db9e67d 100644 --- a/Alexa.NET/Request/Type/Request.cs +++ b/Alexa.NET/Request/Type/Request.cs @@ -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; } } } \ No newline at end of file diff --git a/Alexa.NET/Request/Type/SessionEndedRequest.cs b/Alexa.NET/Request/Type/SessionEndedRequest.cs index 7623e3c..4ccee6c 100644 --- a/Alexa.NET/Request/Type/SessionEndedRequest.cs +++ b/Alexa.NET/Request/Type/SessionEndedRequest.cs @@ -5,6 +5,6 @@ namespace Alexa.NET.Request.Type public class SessionEndedRequest : Request { [JsonProperty("reason")] - string Reason { get; set; } + public string Reason { get; set; } } } \ No newline at end of file