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