Files
octokit.net/Octokit/Models/Request/PublicRepositoryRequest.cs
Ryan Gribble b7ad64d92f Remove obsolete members (#1622)
* remove obsolete "Branches" methods from RepositoryClient (all were previuosly moved to RepositoryBranchesClient)

* Remove obsolete DeploymentStatus fields

* Remove obsoleteMergePullRequest.Squash parameter

* Remove obsolete request ctor

* Remove tests

* Not sure how I missed these test references
2017-06-27 08:50:31 +10:00

39 lines
1.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
/// <summary>
/// Used as part of the request to retrieve all public repositories.
/// </summary>
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class PublicRepositoryRequest : RequestParameters
{
/// <summary>
/// Initializes a new instance of the <see cref="PublicRepositoryRequest"/> class.
/// </summary>
/// <param name="since">The Id of the last Repository that youve seen.</param>
public PublicRepositoryRequest(long since)
{
Since = since;
}
/// <summary>
/// Gets or sets the integer Id of the last Repository that youve seen.
/// </summary>
/// <value>
/// The since.
/// </value>
public long Since { get; set; }
internal string DebuggerDisplay
{
get
{
return string.Format(CultureInfo.InvariantCulture, "Since: {0} ", Since);
}
}
}
}