Skip to content

Commit 80d11e1

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#3)
Co-authored-by: github-actions[bot] <dependabot@bot.com>
1 parent f3a937f commit 80d11e1

19 files changed

Lines changed: 136 additions & 136 deletions

src/libs/Humanloop/Generated/tryAGI.Humanloop.AgentsClient.ListAgentVersions.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ partial void ProcessListAgentVersionsResponseContent(
107107
__response.EnsureSuccessStatusCode();
108108

109109
return
110-
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.AgentResponse>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::tryAGI.Humanloop.AgentResponse> ??
110+
(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.AgentResponse>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.AgentResponse>), JsonSerializerContext) ??
111111
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
112112
}
113113
catch (global::System.Exception __ex)
@@ -138,7 +138,7 @@ partial void ProcessListAgentVersionsResponseContent(
138138
).ConfigureAwait(false);
139139

140140
return
141-
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.AgentResponse>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::tryAGI.Humanloop.AgentResponse> ??
141+
(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.AgentResponse>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.AgentResponse>), JsonSerializerContext).ConfigureAwait(false) ??
142142
throw new global::System.InvalidOperationException("Response deserialization failed.");
143143
}
144144
catch (global::System.Exception __ex)

src/libs/Humanloop/Generated/tryAGI.Humanloop.DatasetsClient.ListDatasetVersions.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ partial void ProcessListDatasetVersionsResponseContent(
107107
__response.EnsureSuccessStatusCode();
108108

109109
return
110-
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DatasetResponse>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DatasetResponse> ??
110+
(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DatasetResponse>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DatasetResponse>), JsonSerializerContext) ??
111111
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
112112
}
113113
catch (global::System.Exception __ex)
@@ -138,7 +138,7 @@ partial void ProcessListDatasetVersionsResponseContent(
138138
).ConfigureAwait(false);
139139

140140
return
141-
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DatasetResponse>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DatasetResponse> ??
141+
(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DatasetResponse>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DatasetResponse>), JsonSerializerContext).ConfigureAwait(false) ??
142142
throw new global::System.InvalidOperationException("Response deserialization failed.");
143143
}
144144
catch (global::System.Exception __ex)

src/libs/Humanloop/Generated/tryAGI.Humanloop.DirectoriesClient.ListDirectories.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ partial void ProcessListDirectoriesResponseContent(
101101
__response.EnsureSuccessStatusCode();
102102

103103
return
104-
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DirectoryResponse>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DirectoryResponse> ??
104+
(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DirectoryResponse>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DirectoryResponse>), JsonSerializerContext) ??
105105
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
106106
}
107107
catch (global::System.Exception __ex)
@@ -132,7 +132,7 @@ partial void ProcessListDirectoriesResponseContent(
132132
).ConfigureAwait(false);
133133

134134
return
135-
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DirectoryResponse>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DirectoryResponse> ??
135+
(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DirectoryResponse>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.DirectoryResponse>), JsonSerializerContext).ConfigureAwait(false) ??
136136
throw new global::System.InvalidOperationException("Response deserialization failed.");
137137
}
138138
catch (global::System.Exception __ex)

src/libs/Humanloop/Generated/tryAGI.Humanloop.EvaluationsClient.ListEvaluationRuns.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ partial void ProcessListEvaluationRunsResponseContent(
107107
__response.EnsureSuccessStatusCode();
108108

109109
return
110-
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluationRunResponse>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluationRunResponse> ??
110+
(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluationRunResponse>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluationRunResponse>), JsonSerializerContext) ??
111111
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
112112
}
113113
catch (global::System.Exception __ex)
@@ -138,7 +138,7 @@ partial void ProcessListEvaluationRunsResponseContent(
138138
).ConfigureAwait(false);
139139

140140
return
141-
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluationRunResponse>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluationRunResponse> ??
141+
(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluationRunResponse>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluationRunResponse>), JsonSerializerContext).ConfigureAwait(false) ??
142142
throw new global::System.InvalidOperationException("Response deserialization failed.");
143143
}
144144
catch (global::System.Exception __ex)

src/libs/Humanloop/Generated/tryAGI.Humanloop.EvaluatorsClient.ListEvaluatorVersions.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ partial void ProcessListEvaluatorVersionsResponseContent(
107107
__response.EnsureSuccessStatusCode();
108108

109109
return
110-
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluatorResponse>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluatorResponse> ??
110+
(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluatorResponse>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluatorResponse>), JsonSerializerContext) ??
111111
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
112112
}
113113
catch (global::System.Exception __ex)
@@ -138,7 +138,7 @@ partial void ProcessListEvaluatorVersionsResponseContent(
138138
).ConfigureAwait(false);
139139

140140
return
141-
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluatorResponse>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluatorResponse> ??
141+
(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluatorResponse>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.EvaluatorResponse>), JsonSerializerContext).ConfigureAwait(false) ??
142142
throw new global::System.InvalidOperationException("Response deserialization failed.");
143143
}
144144
catch (global::System.Exception __ex)

src/libs/Humanloop/Generated/tryAGI.Humanloop.FlowsClient.ListFlowVersions.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ partial void ProcessListFlowVersionsResponseContent(
107107
__response.EnsureSuccessStatusCode();
108108

109109
return
110-
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.FlowResponse>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::tryAGI.Humanloop.FlowResponse> ??
110+
(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.FlowResponse>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.FlowResponse>), JsonSerializerContext) ??
111111
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
112112
}
113113
catch (global::System.Exception __ex)
@@ -138,7 +138,7 @@ partial void ProcessListFlowVersionsResponseContent(
138138
).ConfigureAwait(false);
139139

140140
return
141-
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.FlowResponse>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::tryAGI.Humanloop.FlowResponse> ??
141+
(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.FlowResponse>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::tryAGI.Humanloop.FlowResponse>), JsonSerializerContext).ConfigureAwait(false) ??
142142
throw new global::System.InvalidOperationException("Response deserialization failed.");
143143
}
144144
catch (global::System.Exception __ex)

src/libs/Humanloop/Generated/tryAGI.Humanloop.Models.AgentResponse.g.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -159,19 +159,19 @@ public sealed partial class AgentResponse
159159
/// </summary>
160160
/// <param name="path"></param>
161161
/// <param name="id"></param>
162+
/// <param name="name"></param>
163+
/// <param name="versionId"></param>
164+
/// <param name="createdAt"></param>
165+
/// <param name="updatedAt"></param>
166+
/// <param name="lastUsedAt"></param>
162167
/// <param name="directoryId"></param>
163168
/// <param name="model"></param>
164-
/// <param name="name"></param>
165169
/// <param name="description"></param>
166170
/// <param name="readme"></param>
167171
/// <param name="tags"></param>
168-
/// <param name="versionId"></param>
169172
/// <param name="type"></param>
170173
/// <param name="environments"></param>
171-
/// <param name="createdAt"></param>
172-
/// <param name="updatedAt"></param>
173174
/// <param name="createdBy"></param>
174-
/// <param name="lastUsedAt"></param>
175175
/// <param name="versionName"></param>
176176
/// <param name="versionDescription"></param>
177177
/// <param name="attributes"></param>
@@ -208,19 +208,19 @@ public AgentResponse(
208208
{
209209
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
210210
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
211-
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
212-
this.VersionId = versionId ?? throw new global::System.ArgumentNullException(nameof(versionId));
213-
this.CreatedAt = createdAt;
214-
this.UpdatedAt = updatedAt;
215-
this.LastUsedAt = lastUsedAt;
216211
this.DirectoryId = directoryId;
217212
this.Model = model;
213+
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
218214
this.Description = description;
219215
this.Readme = readme;
220216
this.Tags = tags;
217+
this.VersionId = versionId ?? throw new global::System.ArgumentNullException(nameof(versionId));
221218
this.Type = type;
222219
this.Environments = environments;
220+
this.CreatedAt = createdAt;
221+
this.UpdatedAt = updatedAt;
223222
this.CreatedBy = createdBy;
223+
this.LastUsedAt = lastUsedAt;
224224
this.VersionName = versionName;
225225
this.VersionDescription = versionDescription;
226226
this.Attributes = attributes;

src/libs/Humanloop/Generated/tryAGI.Humanloop.Models.DatasetResponse.g.cs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -152,28 +152,28 @@ public sealed partial class DatasetResponse
152152
/// <param name="id">
153153
/// Unique identifier for the Dataset.
154154
/// </param>
155-
/// <param name="directoryId"></param>
156155
/// <param name="name">
157156
/// Name of the Dataset.
158157
/// </param>
159-
/// <param name="description"></param>
160-
/// <param name="schema"></param>
161-
/// <param name="readme"></param>
162-
/// <param name="tags"></param>
163158
/// <param name="versionId">
164159
/// Unique identifier for the specific Dataset Version.
165160
/// </param>
166-
/// <param name="type"></param>
167-
/// <param name="environments"></param>
168161
/// <param name="createdAt"></param>
169162
/// <param name="updatedAt"></param>
170-
/// <param name="createdBy"></param>
171163
/// <param name="lastUsedAt"></param>
172-
/// <param name="versionName"></param>
173-
/// <param name="versionDescription"></param>
174164
/// <param name="datapointsCount">
175165
/// The number of Datapoints in this Dataset version.
176166
/// </param>
167+
/// <param name="directoryId"></param>
168+
/// <param name="description"></param>
169+
/// <param name="schema"></param>
170+
/// <param name="readme"></param>
171+
/// <param name="tags"></param>
172+
/// <param name="type"></param>
173+
/// <param name="environments"></param>
174+
/// <param name="createdBy"></param>
175+
/// <param name="versionName"></param>
176+
/// <param name="versionDescription"></param>
177177
/// <param name="datapoints"></param>
178178
/// <param name="attributes"></param>
179179
#if NET7_0_OR_GREATER
@@ -203,22 +203,22 @@ public DatasetResponse(
203203
{
204204
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
205205
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
206-
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
207-
this.VersionId = versionId ?? throw new global::System.ArgumentNullException(nameof(versionId));
208-
this.CreatedAt = createdAt;
209-
this.UpdatedAt = updatedAt;
210-
this.LastUsedAt = lastUsedAt;
211-
this.DatapointsCount = datapointsCount;
212206
this.DirectoryId = directoryId;
207+
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
213208
this.Description = description;
214209
this.Schema = schema;
215210
this.Readme = readme;
216211
this.Tags = tags;
212+
this.VersionId = versionId ?? throw new global::System.ArgumentNullException(nameof(versionId));
217213
this.Type = type;
218214
this.Environments = environments;
215+
this.CreatedAt = createdAt;
216+
this.UpdatedAt = updatedAt;
219217
this.CreatedBy = createdBy;
218+
this.LastUsedAt = lastUsedAt;
220219
this.VersionName = versionName;
221220
this.VersionDescription = versionDescription;
221+
this.DatapointsCount = datapointsCount;
222222
this.Datapoints = datapoints;
223223
this.Attributes = attributes;
224224
}

src/libs/Humanloop/Generated/tryAGI.Humanloop.Models.EvaluationResponse.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,15 @@ public sealed partial class EvaluationResponse
9090
/// Total number of Runs in the Evaluation.
9191
/// </param>
9292
/// <param name="evaluators"></param>
93+
/// <param name="createdAt"></param>
94+
/// <param name="updatedAt"></param>
9395
/// <param name="name">
9496
/// Name of the Evaluation.
9597
/// </param>
9698
/// <param name="fileId">
9799
/// ID of the File associated with the Evaluation.
98100
/// </param>
99-
/// <param name="createdAt"></param>
100101
/// <param name="createdBy"></param>
101-
/// <param name="updatedAt"></param>
102102
/// <param name="url">
103103
/// URL to view the Evaluation on Humanloop.
104104
/// </param>
@@ -121,11 +121,11 @@ public EvaluationResponse(
121121
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
122122
this.RunsCount = runsCount;
123123
this.Evaluators = evaluators ?? throw new global::System.ArgumentNullException(nameof(evaluators));
124-
this.CreatedAt = createdAt;
125-
this.UpdatedAt = updatedAt;
126124
this.Name = name;
127125
this.FileId = fileId;
126+
this.CreatedAt = createdAt;
128127
this.CreatedBy = createdBy;
128+
this.UpdatedAt = updatedAt;
129129
this.Url = url;
130130
this.Status = status;
131131
}

0 commit comments

Comments
 (0)