Skip to content

Commit

Permalink
Make repositoryContent readonly
Browse files Browse the repository at this point in the history
Fixes #650
  • Loading branch information
haacked committed Jan 4, 2015
1 parent f87d952 commit 0e25b14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Octokit/Models/Response/RepositoryContent.cs
Expand Up @@ -14,7 +14,7 @@ public class RepositoryContent : RepositoryContentInfo
/// <summary>
/// The encoding of the content if this is a file. Typically "base64". Otherwise it's null.
/// </summary>
public string Encoding { get; set; }
public string Encoding { get; protected set; }

/// <summary>
/// The Base64 encoded content if this is a file. Otherwise it's null.
Expand All @@ -38,11 +38,11 @@ public string Content
/// <summary>
/// Path to the target file in the repository if this is a symlink. Otherwise it's null.
/// </summary>
public string Target { get; set; }
public string Target { get; protected set; }

/// <summary>
/// The location of the submodule repository if this is a submodule. Otherwise it's null.
/// </summary>
public Uri SubmoduleGitUrl { get; set; }
public Uri SubmoduleGitUrl { get; protected set; }
}
}

0 comments on commit 0e25b14

Please sign in to comment.