-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtryAGI.OpenAI.IProjectsClient.ModifyProject.g.cs
More file actions
45 lines (43 loc) · 2.14 KB
/
Copy pathtryAGI.OpenAI.IProjectsClient.ModifyProject.g.cs
File metadata and controls
45 lines (43 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#nullable enable
namespace tryAGI.OpenAI
{
public partial interface IProjectsClient
{
/// <summary>
/// Modifies a project in the organization.
/// </summary>
/// <param name="projectId"></param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::tryAGI.OpenAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.Project> ModifyProjectAsync(
string projectId,
global::tryAGI.OpenAI.ProjectUpdateRequest request,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Modifies a project in the organization.
/// </summary>
/// <param name="projectId"></param>
/// <param name="name">
/// The updated name of the project, this name appears in reports.
/// </param>
/// <param name="externalKeyId">
/// External key ID to associate with the project.
/// </param>
/// <param name="geography">
/// Geography for the project.
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.Project> ModifyProjectAsync(
string projectId,
string? name = default,
string? externalKeyId = default,
string? geography = default,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}