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