using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
///
/// Used as part of the request to retrieve all public repositories.
///
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class PublicRepositoryRequest : RequestParameters
{
///
/// Initializes a new instance of the class.
///
/// The integer ID of the last Repository that you’ve seen.
public PublicRepositoryRequest(int since)
{
Ensure.ArgumentNotNull(since, "since");
Since = since;
}
///
/// Gets or sets the integer ID of the last Repository that you’ve seen.
///
///
/// The since.
///
public long Since { get; set; }
internal string DebuggerDisplay
{
get
{
return String.Format(CultureInfo.InvariantCulture, "Since: {0} ", Since);
}
}
}
}