mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-05 23:06:10 +00:00
37 lines
988 B
C#
37 lines
988 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
|
|
namespace Octokit.Models.Request.Enterprise
|
|
{
|
|
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
|
public class AuditLogApiOptions
|
|
{
|
|
public string StopWhenFound { get; set; } = null;
|
|
|
|
/// <summary>
|
|
/// Specify the number of results to return for each page
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Results returned may be less than this total if you reach the final page of results
|
|
/// </remarks>
|
|
public int PageSize { get; set; } = 100;
|
|
|
|
internal string DebuggerDisplay
|
|
{
|
|
get
|
|
{
|
|
var values = new List<string>
|
|
{
|
|
"PageSize: " + PageSize
|
|
};
|
|
|
|
if (string.IsNullOrEmpty(StopWhenFound))
|
|
values.Add("StopWhenFound: " + StopWhenFound);
|
|
|
|
return String.Join(", ", values);
|
|
}
|
|
}
|
|
}
|
|
}
|