Files
octokit.net/Octokit/Models/Response/ReadmeResponse.cs
Micah c3a67ae777 Creates constructors for all Models.Response.
Resolves https://github.com/octokit/octokit.net/issues/677.

Removes obscolete properties (gravatar).
Makes Models.Response properties all be protected (most were already).
2015-01-24 16:07:03 -08:00

22 lines
636 B
C#

namespace Octokit
{
internal class ReadmeResponse
{
public ReadmeResponse() { }
public ReadmeResponse(string content, string name, string htmlUrl, string url, string encoding)
{
Content = content;
Name = name;
HtmlUrl = htmlUrl;
Url = url;
Encoding = encoding;
}
public string Content { get; protected set; }
public string Name { get; protected set; }
public string HtmlUrl { get; protected set; }
public string Url { get; protected set; }
public string Encoding { get; protected set; }
}
}