From 0e25b14858db3a9d347bef440712fedfce9004cb Mon Sep 17 00:00:00 2001 From: Haacked Date: Fri, 2 Jan 2015 11:28:03 -0800 Subject: [PATCH] Make repositoryContent readonly Fixes #650 --- Octokit/Models/Response/RepositoryContent.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Octokit/Models/Response/RepositoryContent.cs b/Octokit/Models/Response/RepositoryContent.cs index e09daa45..772495aa 100644 --- a/Octokit/Models/Response/RepositoryContent.cs +++ b/Octokit/Models/Response/RepositoryContent.cs @@ -14,7 +14,7 @@ namespace Octokit /// /// The encoding of the content if this is a file. Typically "base64". Otherwise it's null. /// - public string Encoding { get; set; } + public string Encoding { get; protected set; } /// /// The Base64 encoded content if this is a file. Otherwise it's null. @@ -38,11 +38,11 @@ namespace Octokit /// /// Path to the target file in the repository if this is a symlink. Otherwise it's null. /// - public string Target { get; set; } + public string Target { get; protected set; } /// /// The location of the submodule repository if this is a submodule. Otherwise it's null. /// - public Uri SubmoduleGitUrl { get; set; } + public Uri SubmoduleGitUrl { get; protected set; } } } \ No newline at end of file