mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-28 00:52:08 +00:00
36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
using System.Diagnostics;
|
|
using System.Globalization;
|
|
|
|
namespace Octokit
|
|
{
|
|
/// <summary>
|
|
/// Used as part of the request to retrieve all organizations.
|
|
/// </summary>
|
|
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
|
public class OrganizationRequest : RequestParameters
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="OrganizationRequest"/> class.
|
|
/// </summary>
|
|
/// <param name="since">The integer Id of the last Organization that you've seen.</param>
|
|
public OrganizationRequest(int since)
|
|
{
|
|
Ensure.ArgumentNotNull(since, nameof(since));
|
|
|
|
Since = since;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets the integer Id of the last Organization that you've seen.
|
|
/// </summary>
|
|
public long Since { get; set; }
|
|
|
|
internal string DebuggerDisplay
|
|
{
|
|
get
|
|
{
|
|
return string.Format(CultureInfo.InvariantCulture, "Since: {0} ", Since);
|
|
}
|
|
}
|
|
}
|
|
} |