Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ partial void ProcessListAgentVersionsResponseContent(
__response.EnsureSuccessStatusCode();

return
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> ??
(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) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -138,7 +138,7 @@ partial void ProcessListAgentVersionsResponseContent(
).ConfigureAwait(false);

return
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> ??
(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) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ partial void ProcessListDatasetVersionsResponseContent(
__response.EnsureSuccessStatusCode();

return
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> ??
(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) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -138,7 +138,7 @@ partial void ProcessListDatasetVersionsResponseContent(
).ConfigureAwait(false);

return
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> ??
(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) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ partial void ProcessListDirectoriesResponseContent(
__response.EnsureSuccessStatusCode();

return
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> ??
(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) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -132,7 +132,7 @@ partial void ProcessListDirectoriesResponseContent(
).ConfigureAwait(false);

return
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> ??
(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) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ partial void ProcessListEvaluationRunsResponseContent(
__response.EnsureSuccessStatusCode();

return
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> ??
(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) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -138,7 +138,7 @@ partial void ProcessListEvaluationRunsResponseContent(
).ConfigureAwait(false);

return
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> ??
(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) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ partial void ProcessListEvaluatorVersionsResponseContent(
__response.EnsureSuccessStatusCode();

return
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> ??
(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) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -138,7 +138,7 @@ partial void ProcessListEvaluatorVersionsResponseContent(
).ConfigureAwait(false);

return
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> ??
(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) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ partial void ProcessListFlowVersionsResponseContent(
__response.EnsureSuccessStatusCode();

return
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> ??
(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) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -138,7 +138,7 @@ partial void ProcessListFlowVersionsResponseContent(
).ConfigureAwait(false);

return
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> ??
(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) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,19 +159,19 @@ public sealed partial class AgentResponse
/// </summary>
/// <param name="path"></param>
/// <param name="id"></param>
/// <param name="name"></param>
/// <param name="versionId"></param>
/// <param name="createdAt"></param>
/// <param name="updatedAt"></param>
/// <param name="lastUsedAt"></param>
/// <param name="directoryId"></param>
/// <param name="model"></param>
/// <param name="name"></param>
/// <param name="description"></param>
/// <param name="readme"></param>
/// <param name="tags"></param>
/// <param name="versionId"></param>
/// <param name="type"></param>
/// <param name="environments"></param>
/// <param name="createdAt"></param>
/// <param name="updatedAt"></param>
/// <param name="createdBy"></param>
/// <param name="lastUsedAt"></param>
/// <param name="versionName"></param>
/// <param name="versionDescription"></param>
/// <param name="attributes"></param>
Expand Down Expand Up @@ -208,19 +208,19 @@ public AgentResponse(
{
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.VersionId = versionId ?? throw new global::System.ArgumentNullException(nameof(versionId));
this.CreatedAt = createdAt;
this.UpdatedAt = updatedAt;
this.LastUsedAt = lastUsedAt;
this.DirectoryId = directoryId;
this.Model = model;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Description = description;
this.Readme = readme;
this.Tags = tags;
this.VersionId = versionId ?? throw new global::System.ArgumentNullException(nameof(versionId));
this.Type = type;
this.Environments = environments;
this.CreatedAt = createdAt;
this.UpdatedAt = updatedAt;
this.CreatedBy = createdBy;
this.LastUsedAt = lastUsedAt;
this.VersionName = versionName;
this.VersionDescription = versionDescription;
this.Attributes = attributes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,28 +152,28 @@ public sealed partial class DatasetResponse
/// <param name="id">
/// Unique identifier for the Dataset.
/// </param>
/// <param name="directoryId"></param>
/// <param name="name">
/// Name of the Dataset.
/// </param>
/// <param name="description"></param>
/// <param name="schema"></param>
/// <param name="readme"></param>
/// <param name="tags"></param>
/// <param name="versionId">
/// Unique identifier for the specific Dataset Version.
/// </param>
/// <param name="type"></param>
/// <param name="environments"></param>
/// <param name="createdAt"></param>
/// <param name="updatedAt"></param>
/// <param name="createdBy"></param>
/// <param name="lastUsedAt"></param>
/// <param name="versionName"></param>
/// <param name="versionDescription"></param>
/// <param name="datapointsCount">
/// The number of Datapoints in this Dataset version.
/// </param>
/// <param name="directoryId"></param>
/// <param name="description"></param>
/// <param name="schema"></param>
/// <param name="readme"></param>
/// <param name="tags"></param>
/// <param name="type"></param>
/// <param name="environments"></param>
/// <param name="createdBy"></param>
/// <param name="versionName"></param>
/// <param name="versionDescription"></param>
/// <param name="datapoints"></param>
/// <param name="attributes"></param>
#if NET7_0_OR_GREATER
Expand Down Expand Up @@ -203,22 +203,22 @@ public DatasetResponse(
{
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.VersionId = versionId ?? throw new global::System.ArgumentNullException(nameof(versionId));
this.CreatedAt = createdAt;
this.UpdatedAt = updatedAt;
this.LastUsedAt = lastUsedAt;
this.DatapointsCount = datapointsCount;
this.DirectoryId = directoryId;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Description = description;
this.Schema = schema;
this.Readme = readme;
this.Tags = tags;
this.VersionId = versionId ?? throw new global::System.ArgumentNullException(nameof(versionId));
this.Type = type;
this.Environments = environments;
this.CreatedAt = createdAt;
this.UpdatedAt = updatedAt;
this.CreatedBy = createdBy;
this.LastUsedAt = lastUsedAt;
this.VersionName = versionName;
this.VersionDescription = versionDescription;
this.DatapointsCount = datapointsCount;
this.Datapoints = datapoints;
this.Attributes = attributes;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ public sealed partial class EvaluationResponse
/// Total number of Runs in the Evaluation.
/// </param>
/// <param name="evaluators"></param>
/// <param name="createdAt"></param>
/// <param name="updatedAt"></param>
/// <param name="name">
/// Name of the Evaluation.
/// </param>
/// <param name="fileId">
/// ID of the File associated with the Evaluation.
/// </param>
/// <param name="createdAt"></param>
/// <param name="createdBy"></param>
/// <param name="updatedAt"></param>
/// <param name="url">
/// URL to view the Evaluation on Humanloop.
/// </param>
Expand All @@ -121,11 +121,11 @@ public EvaluationResponse(
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.RunsCount = runsCount;
this.Evaluators = evaluators ?? throw new global::System.ArgumentNullException(nameof(evaluators));
this.CreatedAt = createdAt;
this.UpdatedAt = updatedAt;
this.Name = name;
this.FileId = fileId;
this.CreatedAt = createdAt;
this.CreatedBy = createdBy;
this.UpdatedAt = updatedAt;
this.Url = url;
this.Status = status;
}
Expand Down
Loading