mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-21 22:55:12 +00:00
Fixed HasGetterOnlyProperties test
This commit is contained in:
@@ -15,59 +15,56 @@ namespace Octokit
|
||||
/// The name of the file
|
||||
/// </summary>
|
||||
[SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly")]
|
||||
public string Filename { get; set; }
|
||||
public string Filename { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of additions performed on the file.
|
||||
/// </summary>
|
||||
public int Additions { get; set; }
|
||||
public int Additions { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of deletions performed on the file.
|
||||
/// </summary>
|
||||
public int Deletions { get; set; }
|
||||
public int Deletions { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of changes performed on the file.
|
||||
/// </summary>
|
||||
public int Changes { get; set; }
|
||||
public int Changes { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// File status, like modified, added, deleted.
|
||||
/// </summary>
|
||||
public string Status { get; set; }
|
||||
public string Status { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The url to the file blob.
|
||||
/// </summary>
|
||||
public string BlobUrl { get; set; }
|
||||
public string BlobUrl { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The url to file contents API.
|
||||
/// </summary>
|
||||
public string ContentsUrl { get; set; }
|
||||
public string ContentsUrl { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The raw url to download the file.
|
||||
/// </summary>
|
||||
public string RawUrl { get; set; }
|
||||
public string RawUrl { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The SHA of the file.
|
||||
/// </summary>
|
||||
public string Sha { get; set; }
|
||||
public string Sha { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The patch associated with the commit
|
||||
/// </summary>
|
||||
public string Patch { get; set; }
|
||||
public string Patch { get; protected set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return String.Format(CultureInfo.InvariantCulture, "Filename: {0} ({1})", Filename, Status);
|
||||
}
|
||||
get { return String.Format(CultureInfo.InvariantCulture, "Filename: {0} ({1})", Filename, Status); }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user