Skip to content

Commit

Permalink
Made property setters protected to address octokit#650
Browse files Browse the repository at this point in the history
  • Loading branch information
khellang committed Jan 4, 2015
1 parent 9b290c1 commit 54db7ab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Octokit/Models/Response/CombinedCommitStatus.cs
Expand Up @@ -11,29 +11,29 @@ public class CombinedCommitStatus
/// <summary>
/// The combined state of the commits.
/// </summary>
public CommitState State { get; set; }
public CommitState State { get; protected set; }

/// <summary>
/// The SHA of the reference.
/// </summary>
public string Sha { get; set; }
public string Sha { get; protected set; }

/// <summary>
/// The total number of statuses.
/// </summary>
public int TotalCount { get; set; }
public int TotalCount { get; protected set; }

/// <summary>
/// The statuses.
/// </summary>
// TODO: This ought to be an IReadOnlyList<ApiErrorDetail> but we need to add support to SimpleJson for that.
[SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public IList<CommitStatus> Statuses { get; set; }
public IList<CommitStatus> Statuses { get; protected set; }

/// <summary>
/// The repository of the reference.
/// </summary>
public Repository Repository { get; set; }
public Repository Repository { get; protected set; }

internal string DebuggerDisplay
{
Expand Down

0 comments on commit 54db7ab

Please sign in to comment.