openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Custom/Assistants/AssistantCollectionOptions.cs
34lines · modecode
| 1 | using System.Diagnostics.CodeAnalysis; |
| 2 | |
| 3 | namespace OpenAI.Assistants; |
| 4 | |
| 5 | /// <summary> The options to configure how <see cref="Assistant"/> objects are retrieved and paginated. </summary> |
| 6 | [Experimental("OPENAI001")] |
| 7 | public class AssistantCollectionOptions |
| 8 | { |
| 9 | /// <summary> Initializes a new instance of <see cref="AssistantCollectionOptions"/>. </summary> |
| 10 | public AssistantCollectionOptions() { } |
| 11 | |
| 12 | /// <summary> |
| 13 | /// A limit on the number of <see cref="Assistant"/> objects to be returned per page. |
| 14 | /// </summary> |
| 15 | public int? PageSizeLimit { get; set; } |
| 16 | |
| 17 | /// <summary> |
| 18 | /// The order in which to retrieve <see cref="Assistant"/> objects when sorted by their |
| 19 | /// <see cref="Assistant.CreatedAt"/> timestamp. |
| 20 | /// </summary> |
| 21 | public AssistantCollectionOrder? Order { get; set; } |
| 22 | |
| 23 | /// <summary> |
| 24 | /// The <see cref="Assistant.Id"/> used to retrieve the page of <see cref="Assistant"/> objects that come |
| 25 | /// after this one. |
| 26 | /// </summary> |
| 27 | public string AfterId { get; set; } |
| 28 | |
| 29 | /// <summary> |
| 30 | /// The <see cref="Assistant.Id"/> used to retrieve the page of <see cref="Assistant"/> objects that come |
| 31 | /// before this one. |
| 32 | /// </summary> |
| 33 | public string BeforeId { get; set; } |
| 34 | } |
| 35 | |