diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IOpenRouterClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IOpenRouterClient.g.cs index 0a9b569..f227495 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IOpenRouterClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IOpenRouterClient.g.cs @@ -59,6 +59,11 @@ public partial interface IOpenRouterClient : global::System.IDisposable /// public SubpackageApiKeysClient SubpackageApiKeys { get; } + /// + /// + /// + public SubpackageBetaAnalyticsClient SubpackageBetaAnalytics { get; } + /// /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.GetAnalyticsMeta.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.GetAnalyticsMeta.g.cs new file mode 100644 index 0000000..b7db206 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.GetAnalyticsMeta.g.cs @@ -0,0 +1,28 @@ +#nullable enable + +namespace OpenRouter +{ + public partial interface ISubpackageBetaAnalyticsClient + { + /// + /// Get available analytics metrics and dimensions
+ /// Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAnalyticsMetaAsync( + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Get available analytics metrics and dimensions
+ /// Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetAnalyticsMetaAsResponseAsync( + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.QueryAnalytics.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.QueryAnalytics.g.cs new file mode 100644 index 0000000..1a20f8d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.QueryAnalytics.g.cs @@ -0,0 +1,66 @@ +#nullable enable + +namespace OpenRouter +{ + public partial interface ISubpackageBetaAnalyticsClient + { + /// + /// Query analytics data
+ /// Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task QueryAnalyticsAsync( + + global::OpenRouter.QueryAnalyticsRequest request, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Query analytics data
+ /// Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> QueryAnalyticsAsResponseAsync( + + global::OpenRouter.QueryAnalyticsRequest request, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Query analytics data
+ /// Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// + /// + /// Time granularity + /// + /// + /// Maximum rows per distinct combination of dimensions (ClickHouse LIMIT n BY). When omitted on time-series queries (granularity + dimensions), auto-computed to avoid truncating time windows. Explicit values override the default and may truncate time buckets if set lower than the number of buckets in the range. Ignored when no dimensions are specified. + /// + /// + /// Maximum total rows returned. Defaults to 1000. On time-series queries with dimensions and no explicit group_limit, the server may raise this to accommodate the expected number of unique time-bucket/dimension combinations. + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task QueryAnalyticsAsync( + global::System.Collections.Generic.IList metrics, + global::System.Collections.Generic.IList? dimensions = default, + global::System.Collections.Generic.IList? filters = default, + string? granularity = default, + int? groupLimit = default, + int? limit = default, + global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy? orderBy = default, + global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange? timeRange = default, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.g.cs new file mode 100644 index 0000000..9a79ab7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISubpackageBetaAnalyticsClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + /// + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// + public global::OpenRouter.AutoSDKClientOptions Options { get; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.g.cs new file mode 100644 index 0000000..e5d4cd5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameNullable.g.cs new file mode 100644 index 0000000..475d69c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.g.cs new file mode 100644 index 0000000..9c9d441 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatNullable.g.cs new file mode 100644 index 0000000..1997688 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.g.cs new file mode 100644 index 0000000..c75692b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameNullable.g.cs new file mode 100644 index 0000000..456306b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType.g.cs new file mode 100644 index 0000000..fcb2d26 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeNullable.g.cs new file mode 100644 index 0000000..b39cf3a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue.g.cs new file mode 100644 index 0000000..71460f4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue.g.cs @@ -0,0 +1,217 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace OpenRouter.JsonConverters +{ + /// + public class AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + var __jsonProps = new global::System.Collections.Generic.HashSet(); + if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name); + } + } + + var __score0 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(string), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score0++; + } + } + } + var __score1 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(double), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score1++; + } + } + } + var __score2 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score2++; + } + } + } + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } + + string? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 = default; + double? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 = default; + global::System.Collections.Generic.IList? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 1) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(double), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(double).Name}"); + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 2) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}"); + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 == null && analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 == null && analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 == null && analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 == null && analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(double), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(double).Name}"); + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 == null && analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 == null && analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}"); + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue( + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1, + + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2, + + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1!, typeInfo); + } + else if (value.IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(double), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(double).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2!.Value, typeInfo); + } + else if (value.IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2!, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items.g.cs new file mode 100644 index 0000000..75affb0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items.g.cs @@ -0,0 +1,162 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace OpenRouter.JsonConverters +{ + /// + public class AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + var __jsonProps = new global::System.Collections.Generic.HashSet(); + if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name); + } + } + + var __score0 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(string), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score0++; + } + } + } + var __score1 = 0; + { + var __ti = typeInfoResolver.GetTypeInfo(typeof(double), options); + if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) + { + foreach (var __prop in __ti.Properties) + { + if (__jsonProps.Contains(__prop.Name)) __score1++; + } + } + } + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + + string? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 = default; + double? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + else if (__bestIndex == 1) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(double), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(double).Name}"); + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 == null && analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 == null && analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(double), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(double).Name}"); + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items( + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1, + + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1!, typeInfo); + } + else if (value.IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(double), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(double).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2!.Value, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection.g.cs new file mode 100644 index 0000000..1c3d668 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionNullable.g.cs new file mode 100644 index 0000000..4908235 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs index 5b41e6c..706f43c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ChatFunctionTool.g.cs @@ -88,6 +88,7 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat if (__jsonProps.Contains("parameters.allowed_domains")) __score7++; if (__jsonProps.Contains("parameters.engine")) __score7++; if (__jsonProps.Contains("parameters.excluded_domains")) __score7++; + if (__jsonProps.Contains("parameters.max_characters")) __score7++; if (__jsonProps.Contains("parameters.max_results")) __score7++; if (__jsonProps.Contains("parameters.max_total_results")) __score7++; if (__jsonProps.Contains("parameters.search_context_size")) __score7++; @@ -97,12 +98,14 @@ public class ChatFunctionToolJsonConverter : global::System.Text.Json.Serializat if (__jsonProps.Contains("allowed_domains")) __score8++; if (__jsonProps.Contains("engine")) __score8++; if (__jsonProps.Contains("excluded_domains")) __score8++; + if (__jsonProps.Contains("max_characters")) __score8++; if (__jsonProps.Contains("max_results")) __score8++; if (__jsonProps.Contains("max_total_results")) __score8++; if (__jsonProps.Contains("parameters")) __score8++; if (__jsonProps.Contains("parameters.allowed_domains")) __score8++; if (__jsonProps.Contains("parameters.engine")) __score8++; if (__jsonProps.Contains("parameters.excluded_domains")) __score8++; + if (__jsonProps.Contains("parameters.max_characters")) __score8++; if (__jsonProps.Contains("parameters.max_results")) __score8++; if (__jsonProps.Contains("parameters.max_total_results")) __score8++; if (__jsonProps.Contains("parameters.search_context_size")) __score8++; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestToolsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestToolsItems.g.cs index 4a0191f..6afca67 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestToolsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.MessagesRequestToolsItems.g.cs @@ -132,6 +132,7 @@ public class MessagesRequestToolsItemsJsonConverter : global::System.Text.Json.S if (__jsonProps.Contains("parameters.allowed_domains")) __score11++; if (__jsonProps.Contains("parameters.engine")) __score11++; if (__jsonProps.Contains("parameters.excluded_domains")) __score11++; + if (__jsonProps.Contains("parameters.max_characters")) __score11++; if (__jsonProps.Contains("parameters.max_results")) __score11++; if (__jsonProps.Contains("parameters.max_total_results")) __score11++; if (__jsonProps.Contains("parameters.search_context_size")) __score11++; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs index 16e3f8c..5f06dfb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ResponsesRequestToolsItems.g.cs @@ -195,6 +195,7 @@ public class ResponsesRequestToolsItemsJsonConverter : global::System.Text.Json. if (__jsonProps.Contains("parameters.allowed_domains")) __score20++; if (__jsonProps.Contains("parameters.engine")) __score20++; if (__jsonProps.Contains("parameters.excluded_domains")) __score20++; + if (__jsonProps.Contains("parameters.max_characters")) __score20++; if (__jsonProps.Contains("parameters.max_results")) __score20++; if (__jsonProps.Contains("parameters.max_total_results")) __score20++; if (__jsonProps.Contains("parameters.search_context_size")) __score20++; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs index bffd4e7..d54a69c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs @@ -1153,6 +1153,26 @@ namespace OpenRouter typeof(global::OpenRouter.JsonConverters.SpeechRequestResponseFormatNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.ByokGetParametersProviderJsonConverter), typeof(global::OpenRouter.JsonConverters.ByokGetParametersProviderNullableJsonConverter), @@ -2593,6 +2613,10 @@ namespace OpenRouter typeof(global::OpenRouter.JsonConverters.OpenResponsesResultToolsItemsJsonConverter), + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueJsonConverter), + typeof(global::OpenRouter.JsonConverters.ChatContentItemsJsonConverter), typeof(global::OpenRouter.JsonConverters.ChatMessagesDiscriminatorMappingAssistantContentJsonConverter), @@ -4430,6 +4454,26 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::OpenRouter.JsonConverters.SpeechRequestResponseFormatNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.ByokGetParametersProviderJsonConverter), typeof(global::OpenRouter.JsonConverters.ByokGetParametersProviderNullableJsonConverter), @@ -5870,6 +5914,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::OpenRouter.JsonConverters.OpenResponsesResultToolsItemsJsonConverter), + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueJsonConverter), + typeof(global::OpenRouter.JsonConverters.ChatContentItemsJsonConverter), typeof(global::OpenRouter.JsonConverters.ChatMessagesDiscriminatorMappingAssistantContentJsonConverter), @@ -6284,6 +6332,33 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ActivityItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ActivityResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName), TypeInfoPropertyName = "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat), TypeInfoPropertyName = "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName), TypeInfoPropertyName = "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType), TypeInfoPropertyName = "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BetaAnalyticsGetAnalyticsMetaResponse200))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items), TypeInfoPropertyName = "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue), TypeInfoPropertyName = "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection), TypeInfoPropertyName = "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BetaAnalyticsQueryAnalyticsResponse200))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ByokGetParametersProvider), TypeInfoPropertyName = "ByokGetParametersProvider2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BYOKProviderSlug), TypeInfoPropertyName = "BYOKProviderSlug2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BYOKKey))] @@ -6529,33 +6604,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationContentDataInput0))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationContentDataInput1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationContentDataInput), TypeInfoPropertyName = "GenerationContentDataInput2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationContentDataOutput))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationContentData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationContentResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterBuiltinAction), TypeInfoPropertyName = "ContentFilterBuiltinAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptInjectionScanScope), TypeInfoPropertyName = "PromptInjectionScanScope2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterBuiltinSlug), TypeInfoPropertyName = "ContentFilterBuiltinSlug2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterBuiltinEntry))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterAction), TypeInfoPropertyName = "ContentFilterAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterEntry))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GuardrailInterval), TypeInfoPropertyName = "GuardrailInterval2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Guardrail))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListGuardrailsResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterBuiltinEntryInput))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateGuardrailRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateGuardrailResponseData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateGuardrailResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetGuardrailResponseData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetGuardrailResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeleteGuardrailResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateGuardrailRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateGuardrailResponseData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateGuardrailResponse))] internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -7707,6 +7755,26 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::OpenRouter.JsonConverters.SpeechRequestResponseFormatNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.ByokGetParametersProviderJsonConverter), typeof(global::OpenRouter.JsonConverters.ByokGetParametersProviderNullableJsonConverter), @@ -9147,6 +9215,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::OpenRouter.JsonConverters.OpenResponsesResultToolsItemsJsonConverter), + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueJsonConverter), + typeof(global::OpenRouter.JsonConverters.ChatContentItemsJsonConverter), typeof(global::OpenRouter.JsonConverters.ChatMessagesDiscriminatorMappingAssistantContentJsonConverter), @@ -9333,6 +9405,33 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::OpenRouter.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationContentDataInput), TypeInfoPropertyName = "GenerationContentDataInput2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationContentDataOutput))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationContentData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GenerationContentResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterBuiltinAction), TypeInfoPropertyName = "ContentFilterBuiltinAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptInjectionScanScope), TypeInfoPropertyName = "PromptInjectionScanScope2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterBuiltinSlug), TypeInfoPropertyName = "ContentFilterBuiltinSlug2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterBuiltinEntry))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterAction), TypeInfoPropertyName = "ContentFilterAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterEntry))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GuardrailInterval), TypeInfoPropertyName = "GuardrailInterval2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Guardrail))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListGuardrailsResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterBuiltinEntryInput))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateGuardrailRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateGuardrailResponseData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateGuardrailResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetGuardrailResponseData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetGuardrailResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeleteGuardrailResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateGuardrailRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateGuardrailResponseData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateGuardrailResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.KeyAssignment))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListKeyAssignmentsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -9349,7 +9448,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BulkUnassignMembersResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaDataRateLimit))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ApiKeysGetCurrentKeyResponse200))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.KeysGetResponsesContentApplicationJsonSchemaDataItems))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ApiKeysListResponse200))] @@ -9807,32 +9905,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant8))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant8Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant8Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant9))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant9Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant9Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant10))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant10Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant10Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant11))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant11Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant11Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant12))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant12Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant12Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant13))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant13Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant13Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant14))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant14Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant14Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant15))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant15Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant15Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant16))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant16Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant16Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant17))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant17Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant17Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataDiscriminatorType), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseData), TypeInfoPropertyName = "GetObservabilityDestinationResponseData2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseDataVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseDataVariant1Type), TypeInfoPropertyName = "GetObservabilityDestinationResponseDataVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseDataVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseDataVariant2Type), TypeInfoPropertyName = "GetObservabilityDestinationResponseDataVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseDataVariant3))] internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -10984,6 +11056,26 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::OpenRouter.JsonConverters.SpeechRequestResponseFormatNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeNullableJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionNullableJsonConverter), + typeof(global::OpenRouter.JsonConverters.ByokGetParametersProviderJsonConverter), typeof(global::OpenRouter.JsonConverters.ByokGetParametersProviderNullableJsonConverter), @@ -12424,6 +12516,10 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::OpenRouter.JsonConverters.OpenResponsesResultToolsItemsJsonConverter), + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsJsonConverter), + + typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueJsonConverter), + typeof(global::OpenRouter.JsonConverters.ChatContentItemsJsonConverter), typeof(global::OpenRouter.JsonConverters.ChatMessagesDiscriminatorMappingAssistantContentJsonConverter), @@ -12610,6 +12706,32 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::OpenRouter.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant9Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant9Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant10))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant10Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant10Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant11))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant11Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant11Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant12))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant12Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant12Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant13))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant13Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant13Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant14))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant14Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant14Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant15))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant15Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant15Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant16))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant16Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant16Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant17))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataVariant17Type), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataVariant17Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponseDataDiscriminatorType), TypeInfoPropertyName = "CreateObservabilityDestinationResponseDataDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateObservabilityDestinationResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseData), TypeInfoPropertyName = "GetObservabilityDestinationResponseData2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseDataVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseDataVariant1Type), TypeInfoPropertyName = "GetObservabilityDestinationResponseDataVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseDataVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseDataVariant2Type), TypeInfoPropertyName = "GetObservabilityDestinationResponseDataVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseDataVariant3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseDataVariant3Type), TypeInfoPropertyName = "GetObservabilityDestinationResponseDataVariant3Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseDataVariant4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetObservabilityDestinationResponseDataVariant4Type), TypeInfoPropertyName = "GetObservabilityDestinationResponseDataVariant4Type2")] @@ -12784,6 +12906,8 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExchangeAuthCodeForApiKeyRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "OneOfAuthKeysPostRequestBodyContentApplicationJsonSchemaCodeChallengeMethodObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAuthKeysCodeRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.QueryAnalyticsRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateKeysRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "OneOfKeysPostRequestBodyContentApplicationJsonSchemaLimitResetObject2")] @@ -12846,6 +12970,12 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -12922,6 +13052,7 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext { @@ -13539,6 +13670,16 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::OpenRouter.JsonConverters.AuthKeysCodePostRequestBodyContentApplicationJsonSchemaUsageLimitTypeNullableJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.SpeechRequestResponseFormatJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.SpeechRequestResponseFormatNullableJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameNullableJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatNullableJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameNullableJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeNullableJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionNullableJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ByokGetParametersProviderJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ByokGetParametersProviderNullableJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.BYOKProviderSlugJsonConverter()); @@ -14259,6 +14400,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::OpenRouter.JsonConverters.OutputShellCallOutputItemOutputItemsOutcomeJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.OutputItemsJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.OpenResponsesResultToolsItemsJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ChatContentItemsJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ChatMessagesDiscriminatorMappingAssistantContentJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ReasoningDetailUnionJsonConverter()); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs index caa118c..864f44f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs @@ -2936,3819 +2936,3931 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::OpenRouter.ByokGetParametersProvider? Type727 { get; set; } + public global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems? Type727 { get; set; } /// /// /// - public global::OpenRouter.BYOKProviderSlug? Type728 { get; set; } + public global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName? Type728 { get; set; } /// /// /// - public global::OpenRouter.BYOKKey? Type729 { get; set; } + public global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems? Type729 { get; set; } /// /// /// - public global::System.Guid? Type730 { get; set; } + public global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat? Type730 { get; set; } /// /// /// - public global::OpenRouter.ListBYOKKeysResponse? Type731 { get; set; } + public global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems? Type731 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type732 { get; set; } + public global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName? Type732 { get; set; } /// /// /// - public global::OpenRouter.CreateBYOKKeyRequest? Type733 { get; set; } + public global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType? Type733 { get; set; } /// /// /// - public global::OpenRouter.CreateByokKeyResponseData? Type734 { get; set; } + public global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems? Type734 { get; set; } /// /// /// - public global::OpenRouter.CreateBYOKKeyResponse? Type735 { get; set; } + public global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData? Type735 { get; set; } /// /// /// - public global::OpenRouter.GetByokKeyResponseData? Type736 { get; set; } + public global::System.Collections.Generic.IList? Type736 { get; set; } /// /// /// - public global::OpenRouter.GetBYOKKeyResponse? Type737 { get; set; } + public global::System.Collections.Generic.IList? Type737 { get; set; } /// /// /// - public global::OpenRouter.DeleteBYOKKeyResponse? Type738 { get; set; } + public global::System.Collections.Generic.IList? Type738 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyRequest? Type739 { get; set; } + public global::System.Collections.Generic.IList? Type739 { get; set; } /// /// /// - public global::OpenRouter.UpdateByokKeyResponseData? Type740 { get; set; } + public global::OpenRouter.BetaAnalyticsGetAnalyticsMetaResponse200? Type740 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyResponse? Type741 { get; set; } + public global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items? Type741 { get; set; } /// /// /// - public global::OpenRouter.ChatDebugOptions? Type742 { get; set; } + public global::System.Collections.Generic.IList? Type742 { get; set; } /// /// /// - public global::OpenRouter.ChatAudioOutput? Type743 { get; set; } + public global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue? Type743 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminatorMappingFileFile? Type744 { get; set; } + public global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems? Type744 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminatorMappingImageUrlImageUrlDetail? Type745 { get; set; } + public global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection? Type745 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminatorMappingImageUrlImageUrl? Type746 { get; set; } + public global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy? Type746 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminatorMappingInputAudioInputAudio? Type747 { get; set; } + public global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange? Type747 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoType? Type748 { get; set; } + public global::System.DateTime? Type748 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoInput? Type749 { get; set; } + public global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems? Type749 { get; set; } /// /// /// - public global::OpenRouter.ChatContentCacheControlType? Type750 { get; set; } + public global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata? Type750 { get; set; } /// /// /// - public global::OpenRouter.ChatContentCacheControl? Type751 { get; set; } + public global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData? Type751 { get; set; } /// /// /// - public global::OpenRouter.ChatContentTextType? Type752 { get; set; } + public global::System.Collections.Generic.IList? Type752 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoType? Type753 { get; set; } + public global::OpenRouter.BetaAnalyticsQueryAnalyticsResponse200? Type753 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItems? Type754 { get; set; } + public global::OpenRouter.ByokGetParametersProvider? Type754 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant1? Type755 { get; set; } + public global::OpenRouter.BYOKProviderSlug? Type755 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant1Type? Type756 { get; set; } + public global::OpenRouter.BYOKKey? Type756 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant2? Type757 { get; set; } + public global::System.Guid? Type757 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant2Type? Type758 { get; set; } + public global::OpenRouter.ListBYOKKeysResponse? Type758 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant3? Type759 { get; set; } + public global::System.Collections.Generic.IList? Type759 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant3Type? Type760 { get; set; } + public global::OpenRouter.CreateBYOKKeyRequest? Type760 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant4? Type761 { get; set; } + public global::OpenRouter.CreateByokKeyResponseData? Type761 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant5? Type762 { get; set; } + public global::OpenRouter.CreateBYOKKeyResponse? Type762 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsVariant6? Type763 { get; set; } + public global::OpenRouter.GetByokKeyResponseData? Type763 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminator? Type764 { get; set; } + public global::OpenRouter.GetBYOKKeyResponse? Type764 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminatorType? Type765 { get; set; } + public global::OpenRouter.DeleteBYOKKeyResponse? Type765 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type766 { get; set; } + public global::OpenRouter.UpdateBYOKKeyRequest? Type766 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesDiscriminatorMappingAssistantContent? Type767 { get; set; } + public global::OpenRouter.UpdateByokKeyResponseData? Type767 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantImagesItemsImageUrl? Type768 { get; set; } + public global::OpenRouter.UpdateBYOKKeyResponse? Type768 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantImagesItems? Type769 { get; set; } + public global::OpenRouter.ChatDebugOptions? Type769 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type770 { get; set; } + public global::OpenRouter.ChatAudioOutput? Type770 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnion? Type771 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminatorMappingFileFile? Type771 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionVariant1? Type772 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminatorMappingImageUrlImageUrlDetail? Type772 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionVariant1Type? Type773 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminatorMappingImageUrlImageUrl? Type773 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionVariant2? Type774 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminatorMappingInputAudioInputAudio? Type774 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionVariant2Type? Type775 { get; set; } + public global::OpenRouter.LegacyChatContentVideoType? Type775 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionVariant3? Type776 { get; set; } + public global::OpenRouter.ChatContentVideoInput? Type776 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionVariant3Type? Type777 { get; set; } + public global::OpenRouter.ChatContentCacheControlType? Type777 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionDiscriminator? Type778 { get; set; } + public global::OpenRouter.ChatContentCacheControl? Type778 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionDiscriminatorType? Type779 { get; set; } + public global::OpenRouter.ChatContentTextType? Type779 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type780 { get; set; } + public global::OpenRouter.ChatContentVideoType? Type780 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallFunction? Type781 { get; set; } + public global::OpenRouter.ChatContentItems? Type781 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallType? Type782 { get; set; } + public global::OpenRouter.ChatContentItemsVariant1? Type782 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCall? Type783 { get; set; } + public global::OpenRouter.ChatContentItemsVariant1Type? Type783 { get; set; } /// /// /// - public global::OpenRouter.ChatContentText? Type784 { get; set; } + public global::OpenRouter.ChatContentItemsVariant2? Type784 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type785 { get; set; } + public global::OpenRouter.ChatContentItemsVariant2Type? Type785 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesDiscriminatorMappingDeveloperContent? Type786 { get; set; } + public global::OpenRouter.ChatContentItemsVariant3? Type786 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageContent? Type787 { get; set; } + public global::OpenRouter.ChatContentItemsVariant3Type? Type787 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageRole? Type788 { get; set; } + public global::OpenRouter.ChatContentItemsVariant4? Type788 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessageContent? Type789 { get; set; } + public global::OpenRouter.ChatContentItemsVariant5? Type789 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessageRole? Type790 { get; set; } + public global::OpenRouter.ChatContentItemsVariant6? Type790 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessageContent? Type791 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminator? Type791 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessageRole? Type792 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminatorType? Type792 { get; set; } /// /// /// - public global::OpenRouter.ChatMessages? Type793 { get; set; } + public global::System.Collections.Generic.IList? Type793 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesVariant1? Type794 { get; set; } + public global::OpenRouter.ChatMessagesDiscriminatorMappingAssistantContent? Type794 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesVariant1Role? Type795 { get; set; } + public global::OpenRouter.ChatAssistantImagesItemsImageUrl? Type795 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type796 { get; set; } + public global::OpenRouter.ChatAssistantImagesItems? Type796 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesVariant2? Type797 { get; set; } + public global::System.Collections.Generic.IList? Type797 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesVariant2Role? Type798 { get; set; } + public global::OpenRouter.ReasoningDetailUnion? Type798 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesVariant3? Type799 { get; set; } + public global::OpenRouter.ReasoningDetailUnionVariant1? Type799 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesVariant4? Type800 { get; set; } + public global::OpenRouter.ReasoningDetailUnionVariant1Type? Type800 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesVariant5? Type801 { get; set; } + public global::OpenRouter.ReasoningDetailUnionVariant2? Type801 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesDiscriminator? Type802 { get; set; } + public global::OpenRouter.ReasoningDetailUnionVariant2Type? Type802 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesDiscriminatorRole? Type803 { get; set; } + public global::OpenRouter.ReasoningDetailUnionVariant3? Type803 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestModalitiesItems? Type804 { get; set; } + public global::OpenRouter.ReasoningDetailUnionVariant3Type? Type804 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItems? Type805 { get; set; } + public global::OpenRouter.ReasoningDetailUnionDiscriminator? Type805 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant1? Type806 { get; set; } + public global::OpenRouter.ReasoningDetailUnionDiscriminatorType? Type806 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant1Id? Type807 { get; set; } + public global::System.Collections.Generic.IList? Type807 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant2? Type808 { get; set; } + public global::OpenRouter.ChatToolCallFunction? Type808 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant2Id? Type809 { get; set; } + public global::OpenRouter.ChatToolCallType? Type809 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant3? Type810 { get; set; } + public global::OpenRouter.ChatToolCall? Type810 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant3Id? Type811 { get; set; } + public global::OpenRouter.ChatContentText? Type811 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant4? Type812 { get; set; } + public global::System.Collections.Generic.IList? Type812 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant4Id? Type813 { get; set; } + public global::OpenRouter.ChatMessagesDiscriminatorMappingDeveloperContent? Type813 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant5? Type814 { get; set; } + public global::OpenRouter.ChatSystemMessageContent? Type814 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant5Id? Type815 { get; set; } + public global::OpenRouter.ChatSystemMessageRole? Type815 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant6? Type816 { get; set; } + public global::OpenRouter.ChatToolMessageContent? Type816 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant6Id? Type817 { get; set; } + public global::OpenRouter.ChatToolMessageRole? Type817 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant7? Type818 { get; set; } + public global::OpenRouter.ChatUserMessageContent? Type818 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant7Id? Type819 { get; set; } + public global::OpenRouter.ChatUserMessageRole? Type819 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant8? Type820 { get; set; } + public global::OpenRouter.ChatMessages? Type820 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsVariant9? Type821 { get; set; } + public global::OpenRouter.ChatMessagesVariant1? Type821 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsDiscriminator? Type822 { get; set; } + public global::OpenRouter.ChatMessagesVariant1Role? Type822 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginsItemsDiscriminatorId? Type823 { get; set; } + public global::System.Collections.Generic.IList? Type823 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoningEffort? Type824 { get; set; } + public global::OpenRouter.ChatMessagesVariant2? Type824 { get; set; } /// /// /// - public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type825 { get; set; } + public global::OpenRouter.ChatMessagesVariant2Role? Type825 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoning? Type826 { get; set; } + public global::OpenRouter.ChatMessagesVariant3? Type826 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type827 { get; set; } + public global::OpenRouter.ChatMessagesVariant4? Type827 { get; set; } /// /// /// - public global::OpenRouter.ChatJsonSchemaConfig? Type828 { get; set; } + public global::OpenRouter.ChatMessagesVariant5? Type828 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormat? Type829 { get; set; } + public global::OpenRouter.ChatMessagesDiscriminator? Type829 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant1? Type830 { get; set; } + public global::OpenRouter.ChatMessagesDiscriminatorRole? Type830 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant1Type? Type831 { get; set; } + public global::OpenRouter.ChatRequestModalitiesItems? Type831 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant2? Type832 { get; set; } + public global::OpenRouter.ChatRequestPluginsItems? Type832 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant3? Type833 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant1? Type833 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant3Type? Type834 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant1Id? Type834 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant4? Type835 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant2? Type835 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant4Type? Type836 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant2Id? Type836 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant5? Type837 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant3? Type837 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatVariant5Type? Type838 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant3Id? Type838 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatDiscriminator? Type839 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant4? Type839 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatDiscriminatorType? Type840 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant4Id? Type840 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestServiceTier? Type841 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant5? Type841 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestStop? Type842 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant5Id? Type842 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamOptions? Type843 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant6? Type843 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice0? Type844 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant6Id? Type844 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice1? Type845 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant7? Type845 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice2? Type846 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant7Id? Type846 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceFunction? Type847 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant8? Type847 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceType? Type848 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsVariant9? Type848 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoice? Type849 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsDiscriminator? Type849 { get; set; } /// /// /// - public global::OpenRouter.ChatServerToolChoice? Type850 { get; set; } + public global::OpenRouter.ChatRequestPluginsItemsDiscriminatorId? Type850 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice? Type851 { get; set; } + public global::OpenRouter.ChatRequestReasoningEffort? Type851 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolOneOf0Function? Type852 { get; set; } + public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type852 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolOneOf0Type? Type853 { get; set; } + public global::OpenRouter.ChatRequestReasoning? Type853 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionTool0? Type854 { get; set; } + public global::OpenRouter.OneOf? Type854 { get; set; } /// /// /// - public global::OpenRouter.WebSearchConfig? Type855 { get; set; } + public global::OpenRouter.ChatJsonSchemaConfig? Type855 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerToolType? Type856 { get; set; } + public global::OpenRouter.ChatRequestResponseFormat? Type856 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerTool? Type857 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant1? Type857 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthandType? Type858 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant1Type? Type858 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthand? Type859 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant2? Type859 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionTool? Type860 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant3? Type860 { get; set; } /// /// /// - public global::OpenRouter.ChatRequest? Type861 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant3Type? Type861 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type862 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant4? Type862 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type863 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant4Type? Type863 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type864 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant5? Type864 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type865 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatVariant5Type? Type865 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type866 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatDiscriminator? Type866 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type867 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatDiscriminatorType? Type867 { get; set; } /// /// /// - public global::OpenRouter.ChatFinishReasonEnum? Type868 { get; set; } + public global::OpenRouter.ChatRequestServiceTier? Type868 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobTopLogprobsItems? Type869 { get; set; } + public global::OpenRouter.ChatRequestStop? Type869 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprob? Type870 { get; set; } + public global::OpenRouter.ChatStreamOptions? Type870 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type871 { get; set; } + public global::OpenRouter.ChatToolChoice0? Type871 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobs? Type872 { get; set; } + public global::OpenRouter.ChatToolChoice1? Type872 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type873 { get; set; } + public global::OpenRouter.ChatToolChoice2? Type873 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessage? Type874 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceFunction? Type874 { get; set; } /// /// /// - public global::OpenRouter.ChatChoice? Type875 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceType? Type875 { get; set; } /// /// /// - public global::OpenRouter.ChatResultObject? Type876 { get; set; } + public global::OpenRouter.ChatNamedToolChoice? Type876 { get; set; } /// /// /// - public global::OpenRouter.ChatUsageCompletionTokensDetails? Type877 { get; set; } + public global::OpenRouter.ChatServerToolChoice? Type877 { get; set; } /// /// /// - public global::OpenRouter.CostDetails? Type878 { get; set; } + public global::OpenRouter.ChatToolChoice? Type878 { get; set; } /// /// /// - public global::OpenRouter.ChatUsagePromptTokensDetails? Type879 { get; set; } + public global::OpenRouter.ChatFunctionToolOneOf0Function? Type879 { get; set; } /// /// /// - public global::OpenRouter.ChatUsage? Type880 { get; set; } + public global::OpenRouter.ChatFunctionToolOneOf0Type? Type880 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type881 { get; set; } + public global::OpenRouter.ChatFunctionTool0? Type881 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type882 { get; set; } + public global::OpenRouter.WebSearchConfig? Type882 { get; set; } /// /// /// - public global::OpenRouter.ChatResult? Type883 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerToolType? Type883 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type884 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerTool? Type884 { get; set; } /// /// /// - public global::System.DateTimeOffset? Type885 { get; set; } + public global::OpenRouter.ChatWebSearchShorthandType? Type885 { get; set; } /// /// /// - public global::OpenRouter.CreditsGetResponsesContentApplicationJsonSchemaData? Type886 { get; set; } + public global::OpenRouter.ChatWebSearchShorthand? Type886 { get; set; } /// /// /// - public global::OpenRouter.CreditsGetCreditsResponse200? Type887 { get; set; } + public global::OpenRouter.ChatFunctionTool? Type887 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyItem? Type888 { get; set; } + public global::OpenRouter.ChatRequest? Type888 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyMetaVersion? Type889 { get; set; } + public global::System.Collections.Generic.Dictionary? Type889 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyMeta? Type890 { get; set; } + public global::System.Collections.Generic.IList? Type890 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyResponse? Type891 { get; set; } + public global::System.Collections.Generic.IList? Type891 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type892 { get; set; } + public global::System.Collections.Generic.IList? Type892 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaEncodingFormat? Type893 { get; set; } + public global::OpenRouter.OneOf? Type893 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf0Type? Type894 { get; set; } + public global::System.Collections.Generic.IList? Type894 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems0? Type895 { get; set; } + public global::OpenRouter.ChatFinishReasonEnum? Type895 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1ImageUrl? Type896 { get; set; } + public global::OpenRouter.ChatTokenLogprobTopLogprobsItems? Type896 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1Type? Type897 { get; set; } + public global::OpenRouter.ChatTokenLogprob? Type897 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems1? Type898 { get; set; } + public global::System.Collections.Generic.IList? Type898 { get; set; } /// /// /// - public global::OpenRouter.MultimodalMedia? Type899 { get; set; } + public global::OpenRouter.ChatTokenLogprobs? Type899 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputAudioType? Type900 { get; set; } + public global::System.Collections.Generic.IList? Type900 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputAudio? Type901 { get; set; } + public global::OpenRouter.ChatAssistantMessage? Type901 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputVideoType? Type902 { get; set; } + public global::OpenRouter.ChatChoice? Type902 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputVideo? Type903 { get; set; } + public global::OpenRouter.ChatResultObject? Type903 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputFileType? Type904 { get; set; } + public global::OpenRouter.ChatUsageCompletionTokensDetails? Type904 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputFile? Type905 { get; set; } + public global::OpenRouter.CostDetails? Type905 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems? Type906 { get; set; } + public global::OpenRouter.ChatUsagePromptTokensDetails? Type906 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4Items? Type907 { get; set; } + public global::OpenRouter.ChatUsage? Type907 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type908 { get; set; } + public global::OpenRouter.OneOf? Type908 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type909 { get; set; } + public global::OpenRouter.OneOf? Type909 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInput? Type910 { get; set; } + public global::OpenRouter.ChatResult? Type910 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type911 { get; set; } + public global::System.Collections.Generic.IList? Type911 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type912 { get; set; } + public global::System.DateTimeOffset? Type912 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderDataCollection? Type913 { get; set; } + public global::OpenRouter.CreditsGetResponsesContentApplicationJsonSchemaData? Type913 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderIgnoreItems? Type914 { get; set; } + public global::OpenRouter.CreditsGetCreditsResponse200? Type914 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderMaxPrice? Type915 { get; set; } + public global::OpenRouter.RankingsDailyItem? Type915 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderOnlyItems? Type916 { get; set; } + public global::OpenRouter.RankingsDailyMetaVersion? Type916 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderOrderItems? Type917 { get; set; } + public global::OpenRouter.RankingsDailyMeta? Type917 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderSort? Type918 { get; set; } + public global::OpenRouter.RankingsDailyResponse? Type918 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProvider? Type919 { get; set; } + public global::System.Collections.Generic.IList? Type919 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type920 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaEncodingFormat? Type920 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type921 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf0Type? Type921 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type922 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems0? Type922 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type923 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1ImageUrl? Type923 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsEmbedding? Type924 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1Type? Type924 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsObject? Type925 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems1? Type925 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems? Type926 { get; set; } + public global::OpenRouter.MultimodalMedia? Type926 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaObject? Type927 { get; set; } + public global::OpenRouter.ContentPartInputAudioType? Type927 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsagePromptTokensDetails? Type928 { get; set; } + public global::OpenRouter.ContentPartInputAudio? Type928 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsage? Type929 { get; set; } + public global::OpenRouter.ContentPartInputVideoType? Type929 { get; set; } /// /// /// - public global::OpenRouter.EmbeddingsCreateEmbeddingsResponse200? Type930 { get; set; } + public global::OpenRouter.ContentPartInputVideo? Type930 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type931 { get; set; } + public global::OpenRouter.ContentPartInputFileType? Type931 { get; set; } /// /// /// - public global::OpenRouter.InputModality? Type932 { get; set; } + public global::OpenRouter.ContentPartInputFile? Type932 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitectureInstructType? Type933 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems? Type933 { get; set; } /// /// /// - public global::OpenRouter.OutputModality? Type934 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4Items? Type934 { get; set; } /// /// /// - public global::OpenRouter.ModelGroup? Type935 { get; set; } + public global::System.Collections.Generic.IList? Type935 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitecture? Type936 { get; set; } + public global::System.Collections.Generic.IList? Type936 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type937 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInput? Type937 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type938 { get; set; } + public global::System.Collections.Generic.IList? Type938 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type939 { get; set; } + public global::System.Collections.Generic.IList>? Type939 { get; set; } /// /// /// - public global::OpenRouter.DefaultParameters? Type940 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderDataCollection? Type940 { get; set; } /// /// /// - public global::OpenRouter.ModelLinks? Type941 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderIgnoreItems? Type941 { get; set; } /// /// /// - public global::OpenRouter.PerRequestLimits? Type942 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderMaxPrice? Type942 { get; set; } /// /// /// - public global::OpenRouter.PublicPricing? Type943 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderOnlyItems? Type943 { get; set; } /// /// /// - public global::OpenRouter.Parameter? Type944 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderOrderItems? Type944 { get; set; } /// /// /// - public global::OpenRouter.TopProviderInfo? Type945 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProviderSort? Type945 { get; set; } /// /// /// - public global::OpenRouter.Model? Type946 { get; set; } + public global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaProvider? Type946 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type947 { get; set; } + public global::OpenRouter.OneOf? Type947 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type948 { get; set; } + public global::System.Collections.Generic.IList? Type948 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponse? Type949 { get; set; } + public global::System.Collections.Generic.IList? Type949 { get; set; } /// /// /// - public global::OpenRouter.PercentileStats? Type950 { get; set; } + public global::System.Collections.Generic.IList? Type950 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricing? Type951 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsEmbedding? Type951 { get; set; } /// /// /// - public global::OpenRouter.EndpointStatus? Type952 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsObject? Type952 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointThroughputLast30M? Type953 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems? Type953 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpoint? Type954 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaObject? Type954 { get; set; } /// /// /// - public global::OpenRouter.EndpointsListEndpointsZdrResponse200? Type955 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsagePromptTokensDetails? Type955 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type956 { get; set; } + public global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsage? Type956 { get; set; } /// /// /// - public global::OpenRouter.InstructType2? Type957 { get; set; } + public global::OpenRouter.EmbeddingsCreateEmbeddingsResponse200? Type957 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponseArchitecture? Type958 { get; set; } + public global::System.Collections.Generic.IList? Type958 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type959 { get; set; } + public global::OpenRouter.InputModality? Type959 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse? Type960 { get; set; } + public global::OpenRouter.ModelArchitectureInstructType? Type960 { get; set; } /// /// /// - public global::OpenRouter.EndpointsListEndpointsResponse200? Type961 { get; set; } + public global::OpenRouter.OutputModality? Type961 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseDataApiType? Type962 { get; set; } + public global::OpenRouter.ModelGroup? Type962 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseDataDataRegion? Type963 { get; set; } + public global::OpenRouter.ModelArchitecture? Type963 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseProviderName? Type964 { get; set; } + public global::System.Collections.Generic.IList? Type964 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponse? Type965 { get; set; } + public global::OpenRouter.OneOf? Type965 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseData? Type966 { get; set; } + public global::System.Collections.Generic.IList? Type966 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type967 { get; set; } + public global::OpenRouter.DefaultParameters? Type967 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type968 { get; set; } + public global::OpenRouter.ModelLinks? Type968 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponse? Type969 { get; set; } + public global::OpenRouter.PerRequestLimits? Type969 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInput0? Type970 { get; set; } + public global::OpenRouter.PublicPricing? Type970 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInput1? Type971 { get; set; } + public global::OpenRouter.Parameter? Type971 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInput? Type972 { get; set; } + public global::OpenRouter.TopProviderInfo? Type972 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataOutput? Type973 { get; set; } + public global::OpenRouter.Model? Type973 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentData? Type974 { get; set; } + public global::System.Collections.Generic.IList? Type974 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentResponse? Type975 { get; set; } + public global::System.Collections.Generic.IList? Type975 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinAction? Type976 { get; set; } + public global::OpenRouter.ModelsListResponse? Type976 { get; set; } /// /// /// - public global::OpenRouter.PromptInjectionScanScope? Type977 { get; set; } + public global::OpenRouter.PercentileStats? Type977 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinSlug? Type978 { get; set; } + public global::OpenRouter.PublicEndpointPricing? Type978 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinEntry? Type979 { get; set; } + public global::OpenRouter.EndpointStatus? Type979 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterAction? Type980 { get; set; } + public global::OpenRouter.PublicEndpointThroughputLast30M? Type980 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterEntry? Type981 { get; set; } + public global::OpenRouter.PublicEndpoint? Type981 { get; set; } /// /// /// - public global::OpenRouter.GuardrailInterval? Type982 { get; set; } + public global::OpenRouter.EndpointsListEndpointsZdrResponse200? Type982 { get; set; } /// /// /// - public global::OpenRouter.Guardrail? Type983 { get; set; } + public global::System.Collections.Generic.IList? Type983 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type984 { get; set; } + public global::OpenRouter.InstructType2? Type984 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type985 { get; set; } + public global::OpenRouter.ListEndpointsResponseArchitecture? Type985 { get; set; } /// /// /// - public global::OpenRouter.ListGuardrailsResponse? Type986 { get; set; } + public global::OpenRouter.OneOf? Type986 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type987 { get; set; } + public global::OpenRouter.ListEndpointsResponse? Type987 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinEntryInput? Type988 { get; set; } + public global::OpenRouter.EndpointsListEndpointsResponse200? Type988 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailRequest? Type989 { get; set; } + public global::OpenRouter.GenerationResponseDataApiType? Type989 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type990 { get; set; } + public global::OpenRouter.GenerationResponseDataDataRegion? Type990 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailResponseData? Type991 { get; set; } + public global::OpenRouter.ProviderResponseProviderName? Type991 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailResponse? Type992 { get; set; } + public global::OpenRouter.ProviderResponse? Type992 { get; set; } /// /// /// - public global::OpenRouter.GetGuardrailResponseData? Type993 { get; set; } + public global::OpenRouter.GenerationResponseData? Type993 { get; set; } /// /// /// - public global::OpenRouter.GetGuardrailResponse? Type994 { get; set; } + public global::OpenRouter.OneOf? Type994 { get; set; } /// /// /// - public global::OpenRouter.DeleteGuardrailResponse? Type995 { get; set; } + public global::System.Collections.Generic.IList? Type995 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailRequest? Type996 { get; set; } + public global::OpenRouter.GenerationResponse? Type996 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponseData? Type997 { get; set; } + public global::OpenRouter.GenerationContentDataInput0? Type997 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponse? Type998 { get; set; } + public global::OpenRouter.GenerationContentDataInput1? Type998 { get; set; } /// /// /// - public global::OpenRouter.KeyAssignment? Type999 { get; set; } + public global::OpenRouter.GenerationContentDataInput? Type999 { get; set; } /// /// /// - public global::OpenRouter.ListKeyAssignmentsResponse? Type1000 { get; set; } + public global::OpenRouter.GenerationContentDataOutput? Type1000 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1001 { get; set; } + public global::OpenRouter.GenerationContentData? Type1001 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignKeysRequest? Type1002 { get; set; } + public global::OpenRouter.GenerationContentResponse? Type1002 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignKeysResponse? Type1003 { get; set; } + public global::OpenRouter.ContentFilterBuiltinAction? Type1003 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignKeysRequest? Type1004 { get; set; } + public global::OpenRouter.PromptInjectionScanScope? Type1004 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignKeysResponse? Type1005 { get; set; } + public global::OpenRouter.ContentFilterBuiltinSlug? Type1005 { get; set; } /// /// /// - public global::OpenRouter.MemberAssignment? Type1006 { get; set; } + public global::OpenRouter.ContentFilterBuiltinEntry? Type1006 { get; set; } /// /// /// - public global::OpenRouter.ListMemberAssignmentsResponse? Type1007 { get; set; } + public global::OpenRouter.ContentFilterAction? Type1007 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1008 { get; set; } + public global::OpenRouter.ContentFilterEntry? Type1008 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignMembersRequest? Type1009 { get; set; } + public global::OpenRouter.GuardrailInterval? Type1009 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignMembersResponse? Type1010 { get; set; } + public global::OpenRouter.Guardrail? Type1010 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignMembersRequest? Type1011 { get; set; } + public global::System.Collections.Generic.IList? Type1011 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignMembersResponse? Type1012 { get; set; } + public global::System.Collections.Generic.IList? Type1012 { get; set; } /// /// /// - public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaDataRateLimit? Type1013 { get; set; } + public global::OpenRouter.ListGuardrailsResponse? Type1013 { get; set; } /// /// /// - public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaData? Type1014 { get; set; } + public global::System.Collections.Generic.IList? Type1014 { get; set; } /// /// /// - public global::System.DateTime? Type1015 { get; set; } + public global::OpenRouter.ContentFilterBuiltinEntryInput? Type1015 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysGetCurrentKeyResponse200? Type1016 { get; set; } + public global::OpenRouter.CreateGuardrailRequest? Type1016 { get; set; } /// /// /// - public global::OpenRouter.KeysGetResponsesContentApplicationJsonSchemaDataItems? Type1017 { get; set; } + public global::System.Collections.Generic.IList? Type1017 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysListResponse200? Type1018 { get; set; } + public global::OpenRouter.CreateGuardrailResponseData? Type1018 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1019 { get; set; } + public global::OpenRouter.CreateGuardrailResponse? Type1019 { get; set; } /// /// /// - public global::OpenRouter.KeysPostRequestBodyContentApplicationJsonSchemaLimitReset? Type1020 { get; set; } + public global::OpenRouter.GetGuardrailResponseData? Type1020 { get; set; } /// /// /// - public global::OpenRouter.KeysPostResponsesContentApplicationJsonSchemaData? Type1021 { get; set; } + public global::OpenRouter.GetGuardrailResponse? Type1021 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysCreateKeysResponse201? Type1022 { get; set; } + public global::OpenRouter.DeleteGuardrailResponse? Type1022 { get; set; } /// /// /// - public global::OpenRouter.KeysHashGetResponsesContentApplicationJsonSchemaData? Type1023 { get; set; } + public global::OpenRouter.UpdateGuardrailRequest? Type1023 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysGetKeyResponse200? Type1024 { get; set; } + public global::OpenRouter.UpdateGuardrailResponseData? Type1024 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysDeleteKeysResponse200? Type1025 { get; set; } + public global::OpenRouter.UpdateGuardrailResponse? Type1025 { get; set; } /// /// /// - public global::OpenRouter.KeysHashPatchRequestBodyContentApplicationJsonSchemaLimitReset? Type1026 { get; set; } + public global::OpenRouter.KeyAssignment? Type1026 { get; set; } /// /// /// - public global::OpenRouter.KeysHashPatchResponsesContentApplicationJsonSchemaData? Type1027 { get; set; } + public global::OpenRouter.ListKeyAssignmentsResponse? Type1027 { get; set; } /// /// /// - public global::OpenRouter.ApiKeysUpdateKeysResponse200? Type1028 { get; set; } + public global::System.Collections.Generic.IList? Type1028 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensClearAtLeastType? Type1029 { get; set; } + public global::OpenRouter.BulkAssignKeysRequest? Type1029 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensClearAtLeast? Type1030 { get; set; } + public global::OpenRouter.BulkAssignKeysResponse? Type1030 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0ClearToolInputs? Type1031 { get; set; } + public global::OpenRouter.BulkUnassignKeysRequest? Type1031 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesKeepType? Type1032 { get; set; } + public global::OpenRouter.BulkUnassignKeysResponse? Type1032 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesKeep? Type1033 { get; set; } + public global::OpenRouter.MemberAssignment? Type1033 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Trigger? Type1034 { get; set; } + public global::OpenRouter.ListMemberAssignmentsResponse? Type1034 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant1? Type1035 { get; set; } + public global::System.Collections.Generic.IList? Type1035 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant1Type? Type1036 { get; set; } + public global::OpenRouter.BulkAssignMembersRequest? Type1036 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant2? Type1037 { get; set; } + public global::OpenRouter.BulkAssignMembersResponse? Type1037 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant2Type? Type1038 { get; set; } + public global::OpenRouter.BulkUnassignMembersRequest? Type1038 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerDiscriminator? Type1039 { get; set; } + public global::OpenRouter.BulkUnassignMembersResponse? Type1039 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerDiscriminatorType? Type1040 { get; set; } + public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaDataRateLimit? Type1040 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Type? Type1041 { get; set; } + public global::OpenRouter.KeyGetResponsesContentApplicationJsonSchemaData? Type1041 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems0? Type1042 { get; set; } + public global::OpenRouter.ApiKeysGetCurrentKeyResponse200? Type1042 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingTurnsType? Type1043 { get; set; } + public global::OpenRouter.KeysGetResponsesContentApplicationJsonSchemaDataItems? Type1043 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingTurns? Type1044 { get; set; } + public global::OpenRouter.ApiKeysListResponse200? Type1044 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1KeepOneOf1Type? Type1045 { get; set; } + public global::System.Collections.Generic.IList? Type1045 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep1? Type1046 { get; set; } + public global::OpenRouter.KeysPostRequestBodyContentApplicationJsonSchemaLimitReset? Type1046 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep2? Type1047 { get; set; } + public global::OpenRouter.KeysPostResponsesContentApplicationJsonSchemaData? Type1047 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep? Type1048 { get; set; } + public global::OpenRouter.ApiKeysCreateKeysResponse201? Type1048 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Type? Type1049 { get; set; } + public global::OpenRouter.KeysHashGetResponsesContentApplicationJsonSchemaData? Type1049 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems1? Type1050 { get; set; } + public global::OpenRouter.ApiKeysGetKeyResponse200? Type1050 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2TriggerType? Type1051 { get; set; } + public global::OpenRouter.ApiKeysDeleteKeysResponse200? Type1051 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Trigger? Type1052 { get; set; } + public global::OpenRouter.KeysHashPatchRequestBodyContentApplicationJsonSchemaLimitReset? Type1052 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Type? Type1053 { get; set; } + public global::OpenRouter.KeysHashPatchResponsesContentApplicationJsonSchemaData? Type1053 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems2? Type1054 { get; set; } + public global::OpenRouter.ApiKeysUpdateKeysResponse200? Type1054 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditsItems? Type1055 { get; set; } + public global::OpenRouter.AnthropicInputTokensClearAtLeastType? Type1055 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagement? Type1056 { get; set; } + public global::OpenRouter.AnthropicInputTokensClearAtLeast? Type1056 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1057 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0ClearToolInputs? Type1057 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItems? Type1058 { get; set; } + public global::OpenRouter.AnthropicToolUsesKeepType? Type1058 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant1? Type1059 { get; set; } + public global::OpenRouter.AnthropicToolUsesKeep? Type1059 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant1Type? Type1060 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Trigger? Type1060 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant2? Type1061 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant1? Type1061 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant2Type? Type1062 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant1Type? Type1062 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant3? Type1063 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant2? Type1063 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant3Type? Type1064 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerVariant2Type? Type1064 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant4? Type1065 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerDiscriminator? Type1065 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant4Type? Type1066 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerDiscriminatorType? Type1066 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant5? Type1067 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0Type? Type1067 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant5Type? Type1068 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems0? Type1068 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsDiscriminator? Type1069 { get; set; } + public global::OpenRouter.AnthropicThinkingTurnsType? Type1069 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationsItemsDiscriminatorType? Type1070 { get; set; } + public global::OpenRouter.AnthropicThinkingTurns? Type1070 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamType? Type1071 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1KeepOneOf1Type? Type1071 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParam? Type1072 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep1? Type1072 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1073 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep2? Type1073 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageMimeType? Type1074 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Keep? Type1074 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlImageSourceType? Type1075 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1Type? Type1075 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSource? Type1076 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems1? Type1076 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSourceVariant1? Type1077 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2TriggerType? Type1077 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSourceVariant1Type? Type1078 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Trigger? Type1078 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSourceVariant2? Type1079 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2Type? Type1079 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminator? Type1080 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems2? Type1080 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminatorType? Type1081 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditsItems? Type1081 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamType? Type1082 { get; set; } + public global::OpenRouter.MessagesRequestContextManagement? Type1082 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParam? Type1083 { get; set; } + public global::System.Collections.Generic.IList? Type1083 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamCitations? Type1084 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItems? Type1084 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSourceMediaType? Type1085 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant1? Type1085 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSourceType? Type1086 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant1Type? Type1086 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSource? Type1087 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant2? Type1087 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSourceMediaType? Type1088 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant2Type? Type1088 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSourceType? Type1089 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant3? Type1089 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSource? Type1090 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant3Type? Type1090 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1Items? Type1091 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant4? Type1091 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsVariant1? Type1092 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant4Type? Type1092 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsVariant2? Type1093 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant5? Type1093 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsDiscriminator? Type1094 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsVariant5Type? Type1094 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsDiscriminatorType? Type1095 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsDiscriminator? Type1095 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1096 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationsItemsDiscriminatorType? Type1096 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Content? Type1097 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamType? Type1097 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Type? Type1098 { get; set; } + public global::OpenRouter.AnthropicTextBlockParam? Type1098 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSource2? Type1099 { get; set; } + public global::System.Collections.Generic.IList? Type1099 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlPdfSourceType? Type1100 { get; set; } + public global::OpenRouter.AnthropicImageMimeType? Type1100 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlPdfSource? Type1101 { get; set; } + public global::OpenRouter.AnthropicUrlImageSourceType? Type1101 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSource? Type1102 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSource? Type1102 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamType? Type1103 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSourceVariant1? Type1103 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParam? Type1104 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSourceVariant1Type? Type1104 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1105 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSourceVariant2? Type1105 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf3Type? Type1106 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminator? Type1106 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items3? Type1107 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminatorType? Type1107 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf2Type? Type1108 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamType? Type1108 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2? Type1109 { get; set; } + public global::OpenRouter.AnthropicImageBlockParam? Type1109 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParamCitations? Type1110 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamCitations? Type1110 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParamType? Type1111 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSourceMediaType? Type1111 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParam? Type1112 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSourceType? Type1112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1113 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSource? Type1113 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items? Type1114 { get; set; } + public global::OpenRouter.AnthropicPlainTextSourceMediaType? Type1114 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1115 { get; set; } + public global::OpenRouter.AnthropicPlainTextSourceType? Type1115 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Content? Type1116 { get; set; } + public global::OpenRouter.AnthropicPlainTextSource? Type1116 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Type? Type1117 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1Items? Type1117 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items4? Type1118 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsVariant1? Type1118 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf5Type? Type1119 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsVariant2? Type1119 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items5? Type1120 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsDiscriminator? Type1120 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf6Type? Type1121 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2ContentOneOf1ItemsDiscriminatorType? Type1121 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items6? Type1122 { get; set; } + public global::System.Collections.Generic.IList? Type1122 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf7Type? Type1123 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Content? Type1123 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items7? Type1124 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceOneOf2Type? Type1124 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultBlockParamType? Type1125 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSource2? Type1125 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultBlockParam? Type1126 { get; set; } + public global::OpenRouter.AnthropicUrlPdfSourceType? Type1126 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1127 { get; set; } + public global::OpenRouter.AnthropicUrlPdfSource? Type1127 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1ErrorCode? Type1128 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSource? Type1128 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1Type? Type1129 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamType? Type1129 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content1? Type1130 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParam? Type1130 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content? Type1131 { get; set; } + public global::OpenRouter.OneOf? Type1131 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Type? Type1132 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf3Type? Type1132 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items8? Type1133 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items3? Type1133 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf10Type? Type1134 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf2Type? Type1134 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items10? Type1135 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2? Type1135 { get; set; } /// /// /// - public global::OpenRouter.MessagesAdvisorToolResultBlockType? Type1136 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParamCitations? Type1136 { get; set; } /// /// /// - public global::OpenRouter.MessagesAdvisorToolResultBlock? Type1137 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParamType? Type1137 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentOneOf1Items? Type1138 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParam? Type1138 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1139 { get; set; } + public global::System.Collections.Generic.IList? Type1139 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContent? Type1140 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items? Type1140 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamRole? Type1141 { get; set; } + public global::System.Collections.Generic.IList? Type1141 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParam? Type1142 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Content? Type1142 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestMetadata? Type1143 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4Type? Type1143 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigEffort? Type1144 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items4? Type1144 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormatType? Type1145 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf5Type? Type1145 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormat? Type1146 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items5? Type1146 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type1147 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf6Type? Type1147 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudget? Type1148 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items6? Type1148 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfig? Type1149 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf7Type? Type1149 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1150 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items7? Type1150 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1151 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultBlockParamType? Type1151 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1152 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultBlockParam? Type1152 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItems? Type1153 { get; set; } + public global::System.Collections.Generic.IList? Type1153 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant1? Type1154 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1ErrorCode? Type1154 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant1Id? Type1155 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1Type? Type1155 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant2? Type1156 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content1? Type1156 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant2Id? Type1157 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Content? Type1157 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant3? Type1158 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Type? Type1158 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant3Id? Type1159 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items8? Type1159 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant4? Type1160 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf10Type? Type1160 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant4Id? Type1161 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items10? Type1161 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant5? Type1162 { get; set; } + public global::OpenRouter.MessagesAdvisorToolResultBlockType? Type1162 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant5Id? Type1163 { get; set; } + public global::OpenRouter.MessagesAdvisorToolResultBlock? Type1163 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant6? Type1164 { get; set; } + public global::OpenRouter.MessagesMessageParamContentOneOf1Items? Type1164 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant6Id? Type1165 { get; set; } + public global::System.Collections.Generic.IList? Type1165 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant7? Type1166 { get; set; } + public global::OpenRouter.MessagesMessageParamContent? Type1166 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant7Id? Type1167 { get; set; } + public global::OpenRouter.MessagesMessageParamRole? Type1167 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant8? Type1168 { get; set; } + public global::OpenRouter.MessagesMessageParam? Type1168 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsVariant9? Type1169 { get; set; } + public global::OpenRouter.MessagesRequestMetadata? Type1169 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsDiscriminator? Type1170 { get; set; } + public global::OpenRouter.MessagesOutputConfigEffort? Type1170 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginsItemsDiscriminatorId? Type1171 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormatType? Type1171 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSpeed? Type1172 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormat? Type1172 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestSystem? Type1173 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type1173 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingDisplay? Type1174 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudget? Type1174 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf0Type? Type1175 { get; set; } + public global::OpenRouter.MessagesOutputConfig? Type1175 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking0? Type1176 { get; set; } + public global::OpenRouter.OneOf? Type1176 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf1Type? Type1177 { get; set; } + public global::OpenRouter.OneOf? Type1177 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking1? Type1178 { get; set; } + public global::OpenRouter.OneOf? Type1178 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingOneOf2Type? Type1179 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItems? Type1179 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking2? Type1180 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant1? Type1180 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinking? Type1181 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant1Id? Type1181 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf0Type? Type1182 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant2? Type1182 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice0? Type1183 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant2Id? Type1183 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf1Type? Type1184 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant3? Type1184 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice1? Type1185 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant3Id? Type1185 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf2Type? Type1186 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant4? Type1186 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice2? Type1187 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant4Id? Type1187 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceOneOf3Type? Type1188 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant5? Type1188 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice3? Type1189 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant5Id? Type1189 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoice? Type1190 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant6? Type1190 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf0InputSchema? Type1191 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant6Id? Type1191 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf0Type? Type1192 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant7? Type1192 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems0? Type1193 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant7Id? Type1193 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf1Name? Type1194 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant8? Type1194 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf1Type? Type1195 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsVariant9? Type1195 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems1? Type1196 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsDiscriminator? Type1196 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf2Name? Type1197 { get; set; } + public global::OpenRouter.MessagesRequestPluginsItemsDiscriminatorId? Type1197 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf2Type? Type1198 { get; set; } + public global::OpenRouter.AnthropicSpeed? Type1198 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems2? Type1199 { get; set; } + public global::OpenRouter.MessagesRequestSystem? Type1199 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf3Name? Type1200 { get; set; } + public global::OpenRouter.AnthropicThinkingDisplay? Type1200 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf3Type? Type1201 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf0Type? Type1201 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type1202 { get; set; } + public global::OpenRouter.MessagesRequestThinking0? Type1202 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type1203 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf1Type? Type1203 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems3? Type1204 { get; set; } + public global::OpenRouter.MessagesRequestThinking1? Type1204 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAllowedCallersItems? Type1205 { get; set; } + public global::OpenRouter.MessagesRequestThinkingOneOf2Type? Type1205 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1206 { get; set; } + public global::OpenRouter.MessagesRequestThinking2? Type1206 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4Name? Type1207 { get; set; } + public global::OpenRouter.MessagesRequestThinking? Type1207 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf4Type? Type1208 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf0Type? Type1208 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems4? Type1209 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice0? Type1209 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf5CachingType? Type1210 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf1Type? Type1210 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf5Caching? Type1211 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice1? Type1211 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf5Name? Type1212 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf2Type? Type1212 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItemsOneOf5Type? Type1213 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice2? Type1213 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems5? Type1214 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceOneOf3Type? Type1214 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems12? Type1215 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice3? Type1215 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolsItems? Type1216 { get; set; } + public global::OpenRouter.MessagesRequestToolChoice? Type1216 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequest? Type1217 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf0InputSchema? Type1217 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1218 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf0Type? Type1218 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1219 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems0? Type1219 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1220 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf1Name? Type1220 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1221 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf1Type? Type1221 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainer? Type1222 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems1? Type1222 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type1223 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf2Name? Type1223 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type1224 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf2Type? Type1224 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type1225 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems2? Type1225 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type1226 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf3Name? Type1226 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type1227 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf3Type? Type1227 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContent? Type1228 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type1228 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContentVariant1? Type1229 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type1229 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1230 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems3? Type1230 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContentVariant2? Type1231 { get; set; } + public global::OpenRouter.AnthropicAllowedCallersItems? Type1231 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminator? Type1232 { get; set; } + public global::System.Collections.Generic.IList? Type1232 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminatorType? Type1233 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4Name? Type1233 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutputType? Type1234 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf4Type? Type1234 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutput? Type1235 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems4? Type1235 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionResultType? Type1236 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf5CachingType? Type1236 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolErrorCode? Type1237 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf5Caching? Type1237 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type1238 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf5Name? Type1238 { get; set; } /// /// /// - public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type1239 { get; set; } + public global::OpenRouter.MessagesRequestToolsItemsOneOf5Type? Type1239 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContent? Type1240 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems5? Type1240 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContentVariant1? Type1241 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems12? Type1241 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1242 { get; set; } + public global::OpenRouter.MessagesRequestToolsItems? Type1242 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContentVariant2? Type1243 { get; set; } + public global::OpenRouter.MessagesRequest? Type1243 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContentVariant3? Type1244 { get; set; } + public global::OpenRouter.OneOf? Type1244 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContentDiscriminator? Type1245 { get; set; } + public global::System.Collections.Generic.IList? Type1245 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContentDiscriminatorType? Type1246 { get; set; } + public global::System.Collections.Generic.IList? Type1246 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCaller? Type1247 { get; set; } + public global::System.Collections.Generic.IList? Type1247 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerVariant1? Type1248 { get; set; } + public global::OpenRouter.AnthropicContainer? Type1248 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerVariant1Type? Type1249 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type1249 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerVariant2? Type1250 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type1250 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerVariant2Type? Type1251 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type1251 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerVariant3? Type1252 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type1252 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerVariant3Type? Type1253 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type1253 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerDiscriminator? Type1254 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContent? Type1254 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerDiscriminatorType? Type1255 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContentVariant1? Type1255 { get; set; } /// /// /// - public global::OpenRouter.OrAnthropicServerToolUseBlockType? Type1256 { get; set; } + public global::System.Collections.Generic.IList? Type1256 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitation? Type1257 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContentVariant2? Type1257 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant1? Type1258 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminator? Type1258 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant1Type? Type1259 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminatorType? Type1259 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant2? Type1260 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutputType? Type1260 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant2Type? Type1261 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutput? Type1261 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant3? Type1262 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionResultType? Type1262 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant3Type? Type1263 { get; set; } + public global::OpenRouter.AnthropicServerToolErrorCode? Type1263 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant4? Type1264 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type1264 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant4Type? Type1265 { get; set; } + public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type1265 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant5? Type1266 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContent? Type1266 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationVariant5Type? Type1267 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContentVariant1? Type1267 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationDiscriminator? Type1268 { get; set; } + public global::System.Collections.Generic.IList? Type1268 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationDiscriminatorType? Type1269 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContentVariant2? Type1269 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type1270 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContentVariant3? Type1270 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type1271 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContentDiscriminator? Type1271 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type1272 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContentDiscriminatorType? Type1272 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type1273 { get; set; } + public global::OpenRouter.ORAnthropicNullableCaller? Type1273 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type1274 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerVariant1? Type1274 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type1275 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerVariant1Type? Type1275 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type1276 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerVariant2? Type1276 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant1? Type1277 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerVariant2Type? Type1277 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant2? Type1278 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerVariant3? Type1278 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant3? Type1279 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerVariant3Type? Type1279 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant4? Type1280 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerDiscriminator? Type1280 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminator? Type1281 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerDiscriminatorType? Type1281 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminatorType? Type1282 { get; set; } + public global::OpenRouter.OrAnthropicServerToolUseBlockType? Type1282 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultErrorType? Type1283 { get; set; } + public global::OpenRouter.AnthropicTextCitation? Type1283 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReferenceType? Type1284 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant1? Type1284 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReference? Type1285 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant1Type? Type1285 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultType? Type1286 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant2? Type1286 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContent? Type1287 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant2Type? Type1287 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContentVariant1? Type1288 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant3? Type1288 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContentVariant2? Type1289 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant3Type? Type1289 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1290 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant4? Type1290 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContentDiscriminator? Type1291 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant4Type? Type1291 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContentDiscriminatorType? Type1292 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant5? Type1292 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCaller? Type1293 { get; set; } + public global::OpenRouter.AnthropicTextCitationVariant5Type? Type1293 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerVariant1? Type1294 { get; set; } + public global::OpenRouter.AnthropicTextCitationDiscriminator? Type1294 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerVariant1Type? Type1295 { get; set; } + public global::OpenRouter.AnthropicTextCitationDiscriminatorType? Type1295 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerVariant2? Type1296 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type1296 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerVariant2Type? Type1297 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type1297 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerVariant3? Type1298 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type1298 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerVariant3Type? Type1299 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type1299 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerDiscriminator? Type1300 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type1300 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerDiscriminatorType? Type1301 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type1301 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationsConfig? Type1302 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type1302 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockSource? Type1303 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant1? Type1303 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockType? Type1304 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant2? Type1304 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlock? Type1305 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant3? Type1305 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type1306 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentVariant4? Type1306 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type1307 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminator? Type1307 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContent? Type1308 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminatorType? Type1308 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContentVariant1? Type1309 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultErrorType? Type1309 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContentVariant1Type? Type1310 { get; set; } + public global::OpenRouter.AnthropicToolReferenceType? Type1310 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContentVariant2? Type1311 { get; set; } + public global::OpenRouter.AnthropicToolReference? Type1311 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContentDiscriminator? Type1312 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultType? Type1312 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContentDiscriminatorType? Type1313 { get; set; } + public global::OpenRouter.AnthropicToolSearchContent? Type1313 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultType? Type1314 { get; set; } + public global::OpenRouter.AnthropicToolSearchContentVariant1? Type1314 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResult? Type1315 { get; set; } + public global::OpenRouter.AnthropicToolSearchContentVariant2? Type1315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1316 { get; set; } + public global::System.Collections.Generic.IList? Type1316 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type1317 { get; set; } + public global::OpenRouter.AnthropicToolSearchContentDiscriminator? Type1317 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type1318 { get; set; } + public global::OpenRouter.AnthropicToolSearchContentDiscriminatorType? Type1318 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultError? Type1319 { get; set; } + public global::OpenRouter.AnthropicCaller? Type1319 { get; set; } /// /// /// - public global::OpenRouter.OrAnthropicContentBlockDiscriminatorMappingWebSearchToolResultContent? Type1320 { get; set; } + public global::OpenRouter.AnthropicCallerVariant1? Type1320 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlock? Type1321 { get; set; } + public global::OpenRouter.AnthropicCallerVariant1Type? Type1321 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant1? Type1322 { get; set; } + public global::OpenRouter.AnthropicCallerVariant2? Type1322 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant1Type? Type1323 { get; set; } + public global::OpenRouter.AnthropicCallerVariant2Type? Type1323 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant2? Type1324 { get; set; } + public global::OpenRouter.AnthropicCallerVariant3? Type1324 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant2Type? Type1325 { get; set; } + public global::OpenRouter.AnthropicCallerVariant3Type? Type1325 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant3? Type1326 { get; set; } + public global::OpenRouter.AnthropicCallerDiscriminator? Type1326 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant3Type? Type1327 { get; set; } + public global::OpenRouter.AnthropicCallerDiscriminatorType? Type1327 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant4? Type1328 { get; set; } + public global::OpenRouter.AnthropicCitationsConfig? Type1328 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant4Type? Type1329 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockSource? Type1329 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant5? Type1330 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockType? Type1330 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant5Type? Type1331 { get; set; } + public global::OpenRouter.AnthropicDocumentBlock? Type1331 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant6? Type1332 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type1332 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant6Type? Type1333 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type1333 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant7? Type1334 { get; set; } + public global::OpenRouter.AnthropicWebFetchContent? Type1334 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant8? Type1335 { get; set; } + public global::OpenRouter.AnthropicWebFetchContentVariant1? Type1335 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant8Type? Type1336 { get; set; } + public global::OpenRouter.AnthropicWebFetchContentVariant1Type? Type1336 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1337 { get; set; } + public global::OpenRouter.AnthropicWebFetchContentVariant2? Type1337 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant9? Type1338 { get; set; } + public global::OpenRouter.AnthropicWebFetchContentDiscriminator? Type1338 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant9Type? Type1339 { get; set; } + public global::OpenRouter.AnthropicWebFetchContentDiscriminatorType? Type1339 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant10? Type1340 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultType? Type1340 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant10Type? Type1341 { get; set; } + public global::OpenRouter.AnthropicWebSearchResult? Type1341 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant11? Type1342 { get; set; } + public global::System.Collections.Generic.IList? Type1342 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant11Type? Type1343 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type1343 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant12? Type1344 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type1344 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant12Type? Type1345 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultError? Type1345 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant13? Type1346 { get; set; } + public global::OpenRouter.OrAnthropicContentBlockDiscriminatorMappingWebSearchToolResultContent? Type1346 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant13Type? Type1347 { get; set; } + public global::OpenRouter.ORAnthropicContentBlock? Type1347 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant14? Type1348 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant1? Type1348 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockVariant14Type? Type1349 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant1Type? Type1349 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockDiscriminator? Type1350 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant2? Type1350 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockDiscriminatorType? Type1351 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant2Type? Type1351 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultRole? Type1352 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant3? Type1352 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type1353 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant3Type? Type1353 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsType? Type1354 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant4? Type1354 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetails? Type1355 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant4Type? Type1355 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1356 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant5? Type1356 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicStopReason? Type1357 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant5Type? Type1357 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultType? Type1358 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant6? Type1358 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheCreation? Type1359 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant6Type? Type1359 { get; set; } /// /// /// - public global::OpenRouter.AnthropicOutputTokensDetails? Type1360 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant7? Type1360 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUsage? Type1361 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant8? Type1361 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServiceTier? Type1362 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant8Type? Type1362 { get; set; } /// /// /// - public global::OpenRouter.AnthropicIterationCacheCreation? Type1363 { get; set; } + public global::System.Collections.Generic.IList? Type1363 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIterationType? Type1364 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant9? Type1364 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIteration? Type1365 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant9Type? Type1365 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIterationType? Type1366 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant10? Type1366 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIteration? Type1367 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant10Type? Type1367 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAdvisorMessageUsageIterationType? Type1368 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant11? Type1368 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAdvisorMessageUsageIteration? Type1369 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant11Type? Type1369 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUnknownUsageIteration? Type1370 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant12? Type1370 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUsageIteration? Type1371 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant12Type? Type1371 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultUsage? Type1372 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant13? Type1372 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1373 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant13Type? Type1373 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultContextManagementAppliedEditsItems? Type1374 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant14? Type1374 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultContextManagement? Type1375 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockVariant14Type? Type1375 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1376 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockDiscriminator? Type1376 { get; set; } /// /// /// - public global::OpenRouter.MessagesResult? Type1377 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockDiscriminatorType? Type1377 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1378 { get; set; } + public global::OpenRouter.MessagesResultRole? Type1378 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1379 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type1379 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorDetail? Type1380 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsType? Type1380 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorResponseType? Type1381 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetails? Type1381 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorResponse? Type1382 { get; set; } + public global::OpenRouter.OneOf? Type1382 { get; set; } /// /// /// - public global::OpenRouter.ModelsGetParametersCategory? Type1383 { get; set; } + public global::OpenRouter.ORAnthropicStopReason? Type1383 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponseData? Type1384 { get; set; } + public global::OpenRouter.MessagesResultType? Type1384 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponse? Type1385 { get; set; } + public global::OpenRouter.AnthropicCacheCreation? Type1385 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingArizeConfig? Type1386 { get; set; } + public global::OpenRouter.AnthropicOutputTokensDetails? Type1386 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsLogic? Type1387 { get; set; } + public global::OpenRouter.AnthropicServerToolUsage? Type1387 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItemsField? Type1388 { get; set; } + public global::OpenRouter.AnthropicServiceTier? Type1388 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItemsOperator? Type1389 { get; set; } + public global::OpenRouter.AnthropicIterationCacheCreation? Type1389 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItemsValue? Type1390 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIterationType? Type1390 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItems? Type1391 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIteration? Type1391 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItems? Type1392 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIterationType? Type1392 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1393 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIteration? Type1393 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfig? Type1394 { get; set; } + public global::OpenRouter.AnthropicAdvisorMessageUsageIterationType? Type1394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1395 { get; set; } + public global::OpenRouter.AnthropicAdvisorMessageUsageIteration? Type1395 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingBraintrustConfig? Type1396 { get; set; } + public global::OpenRouter.AnthropicUnknownUsageIteration? Type1396 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingClickhouseConfig? Type1397 { get; set; } + public global::OpenRouter.AnthropicUsageIteration? Type1397 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingDatadogConfig? Type1398 { get; set; } + public global::OpenRouter.MessagesResultUsage? Type1398 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingGrafanaConfig? Type1399 { get; set; } + public global::System.Collections.Generic.IList? Type1399 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingLangfuseConfig? Type1400 { get; set; } + public global::OpenRouter.MessagesResultContextManagementAppliedEditsItems? Type1400 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingLangsmithConfig? Type1401 { get; set; } + public global::OpenRouter.MessagesResultContextManagement? Type1401 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingNewrelicConfigRegion? Type1402 { get; set; } + public global::System.Collections.Generic.IList? Type1402 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingNewrelicConfig? Type1403 { get; set; } + public global::OpenRouter.MessagesResult? Type1403 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingOpikConfig? Type1404 { get; set; } + public global::System.Collections.Generic.IList? Type1404 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingOtelCollectorConfig? Type1405 { get; set; } + public global::OpenRouter.OneOf? Type1405 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingPosthogConfig? Type1406 { get; set; } + public global::OpenRouter.MessagesErrorDetail? Type1406 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingRampConfig? Type1407 { get; set; } + public global::OpenRouter.MessagesErrorResponseType? Type1407 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingS3Config? Type1408 { get; set; } + public global::OpenRouter.MessagesErrorResponse? Type1408 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingSentryConfig? Type1409 { get; set; } + public global::OpenRouter.ModelsGetParametersCategory? Type1409 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingSnowflakeConfig? Type1410 { get; set; } + public global::OpenRouter.ModelsCountResponseData? Type1410 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingWeaveConfig? Type1411 { get; set; } + public global::OpenRouter.ModelsCountResponse? Type1411 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingWebhookConfigMethod? Type1412 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingArizeConfig? Type1412 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingWebhookConfig? Type1413 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsLogic? Type1413 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestination? Type1414 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItemsField? Type1414 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant1? Type1415 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItemsOperator? Type1415 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant1Type? Type1416 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItemsValue? Type1416 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant2? Type1417 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItemsRulesItems? Type1417 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant2Type? Type1418 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigGroupsItems? Type1418 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant3? Type1419 { get; set; } + public global::System.Collections.Generic.IList? Type1419 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant3Type? Type1420 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfig? Type1420 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant4? Type1421 { get; set; } + public global::System.Collections.Generic.IList? Type1421 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant4Type? Type1422 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingBraintrustConfig? Type1422 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant5? Type1423 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingClickhouseConfig? Type1423 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant5Type? Type1424 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingDatadogConfig? Type1424 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant6? Type1425 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingGrafanaConfig? Type1425 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant6Type? Type1426 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingLangfuseConfig? Type1426 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant7? Type1427 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingLangsmithConfig? Type1427 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant7Type? Type1428 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingNewrelicConfigRegion? Type1428 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant8? Type1429 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingNewrelicConfig? Type1429 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant8Type? Type1430 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingOpikConfig? Type1430 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant9? Type1431 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingOtelCollectorConfig? Type1431 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant9Type? Type1432 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingPosthogConfig? Type1432 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant10? Type1433 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingRampConfig? Type1433 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant10Type? Type1434 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingS3Config? Type1434 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant11? Type1435 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingSentryConfig? Type1435 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant11Type? Type1436 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingSnowflakeConfig? Type1436 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant12? Type1437 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingWeaveConfig? Type1437 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant12Type? Type1438 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingWebhookConfigMethod? Type1438 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant13? Type1439 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorMappingWebhookConfig? Type1439 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant13Type? Type1440 { get; set; } + public global::OpenRouter.ObservabilityDestination? Type1440 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant14? Type1441 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant1? Type1441 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant14Type? Type1442 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant1Type? Type1442 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant15? Type1443 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant2? Type1443 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant15Type? Type1444 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant2Type? Type1444 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant16? Type1445 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant3? Type1445 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant16Type? Type1446 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant3Type? Type1446 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant17? Type1447 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant4? Type1447 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationVariant17Type? Type1448 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant4Type? Type1448 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationDiscriminator? Type1449 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant5? Type1449 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationDiscriminatorType? Type1450 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant5Type? Type1450 { get; set; } /// /// /// - public global::OpenRouter.ListObservabilityDestinationsResponse? Type1451 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant6? Type1451 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1452 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant6Type? Type1452 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationRequestType? Type1453 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant7? Type1453 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationRequest? Type1454 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant7Type? Type1454 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseData? Type1455 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant8? Type1455 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant1? Type1456 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant8Type? Type1456 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant1Type? Type1457 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant9? Type1457 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant2? Type1458 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant9Type? Type1458 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant2Type? Type1459 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant10? Type1459 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant3? Type1460 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant10Type? Type1460 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant3Type? Type1461 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant11? Type1461 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant4? Type1462 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant11Type? Type1462 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant4Type? Type1463 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant12? Type1463 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant5? Type1464 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant12Type? Type1464 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant5Type? Type1465 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant13? Type1465 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant6? Type1466 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant13Type? Type1466 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant6Type? Type1467 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant14? Type1467 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant7? Type1468 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant14Type? Type1468 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant7Type? Type1469 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant15? Type1469 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant8? Type1470 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant15Type? Type1470 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant8Type? Type1471 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant16? Type1471 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant9? Type1472 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant16Type? Type1472 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant9Type? Type1473 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant17? Type1473 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant10? Type1474 { get; set; } + public global::OpenRouter.ObservabilityDestinationVariant17Type? Type1474 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant10Type? Type1475 { get; set; } + public global::OpenRouter.ObservabilityDestinationDiscriminator? Type1475 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant11? Type1476 { get; set; } + public global::OpenRouter.ObservabilityDestinationDiscriminatorType? Type1476 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant11Type? Type1477 { get; set; } + public global::OpenRouter.ListObservabilityDestinationsResponse? Type1477 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant12? Type1478 { get; set; } + public global::System.Collections.Generic.IList? Type1478 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant12Type? Type1479 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationRequestType? Type1479 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant13? Type1480 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationRequest? Type1480 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant13Type? Type1481 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseData? Type1481 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant14? Type1482 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant1? Type1482 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant14Type? Type1483 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant1Type? Type1483 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant15? Type1484 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant2? Type1484 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant15Type? Type1485 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant2Type? Type1485 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant16? Type1486 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant3? Type1486 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant16Type? Type1487 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant3Type? Type1487 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant17? Type1488 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant4? Type1488 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant17Type? Type1489 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant4Type? Type1489 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataDiscriminator? Type1490 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant5? Type1490 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponseDataDiscriminatorType? Type1491 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant5Type? Type1491 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponse? Type1492 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant6? Type1492 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseData? Type1493 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant6Type? Type1493 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant1? Type1494 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant7? Type1494 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant1Type? Type1495 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant7Type? Type1495 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant2? Type1496 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant8? Type1496 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant2Type? Type1497 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant8Type? Type1497 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant3? Type1498 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant9? Type1498 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant3Type? Type1499 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant9Type? Type1499 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant4? Type1500 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant10? Type1500 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant4Type? Type1501 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant10Type? Type1501 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant5? Type1502 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant11? Type1502 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant5Type? Type1503 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant11Type? Type1503 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant6? Type1504 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant12? Type1504 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant6Type? Type1505 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant12Type? Type1505 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant7? Type1506 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant13? Type1506 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant7Type? Type1507 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant13Type? Type1507 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant8? Type1508 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant14? Type1508 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant8Type? Type1509 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant14Type? Type1509 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant9? Type1510 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant15? Type1510 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant9Type? Type1511 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant15Type? Type1511 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant10? Type1512 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant16? Type1512 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant10Type? Type1513 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant16Type? Type1513 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant11? Type1514 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant17? Type1514 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant11Type? Type1515 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataVariant17Type? Type1515 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant12? Type1516 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataDiscriminator? Type1516 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant12Type? Type1517 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponseDataDiscriminatorType? Type1517 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant13? Type1518 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponse? Type1518 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant13Type? Type1519 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseData? Type1519 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant14? Type1520 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant1? Type1520 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant14Type? Type1521 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant1Type? Type1521 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant15? Type1522 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant2? Type1522 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant15Type? Type1523 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant2Type? Type1523 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant16? Type1524 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant3? Type1524 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant16Type? Type1525 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant3Type? Type1525 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant17? Type1526 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant4? Type1526 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataVariant17Type? Type1527 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant4Type? Type1527 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataDiscriminator? Type1528 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant5? Type1528 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponseDataDiscriminatorType? Type1529 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant5Type? Type1529 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponse? Type1530 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant6? Type1530 { get; set; } /// /// /// - public global::OpenRouter.DeleteObservabilityDestinationResponse? Type1531 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant6Type? Type1531 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsLogic? Type1532 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant7? Type1532 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItemsField? Type1533 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant7Type? Type1533 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItemsOperator? Type1534 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant8? Type1534 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItemsValue? Type1535 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant8Type? Type1535 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItems? Type1536 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant9? Type1536 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItems? Type1537 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant9Type? Type1537 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1538 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant10? Type1538 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRules? Type1539 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant10Type? Type1539 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1540 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant11? Type1540 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequest? Type1541 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant11Type? Type1541 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseData? Type1542 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant12? Type1542 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant1? Type1543 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant12Type? Type1543 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant1Type? Type1544 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant13? Type1544 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant2? Type1545 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant13Type? Type1545 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant2Type? Type1546 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant14? Type1546 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant3? Type1547 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant14Type? Type1547 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant3Type? Type1548 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant15? Type1548 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant4? Type1549 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant15Type? Type1549 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant4Type? Type1550 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant16? Type1550 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant5? Type1551 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant16Type? Type1551 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant5Type? Type1552 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant17? Type1552 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant6? Type1553 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataVariant17Type? Type1553 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant6Type? Type1554 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataDiscriminator? Type1554 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant7? Type1555 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponseDataDiscriminatorType? Type1555 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant7Type? Type1556 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponse? Type1556 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant8? Type1557 { get; set; } + public global::OpenRouter.DeleteObservabilityDestinationResponse? Type1557 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant8Type? Type1558 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsLogic? Type1558 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant9? Type1559 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItemsField? Type1559 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant9Type? Type1560 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItemsOperator? Type1560 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant10? Type1561 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItemsValue? Type1561 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant10Type? Type1562 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItemsRulesItems? Type1562 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant11? Type1563 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRulesGroupsItems? Type1563 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant11Type? Type1564 { get; set; } + public global::System.Collections.Generic.IList? Type1564 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant12? Type1565 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequestFilterRules? Type1565 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant12Type? Type1566 { get; set; } + public global::System.Collections.Generic.IList? Type1566 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant13? Type1567 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequest? Type1567 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant13Type? Type1568 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseData? Type1568 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant14? Type1569 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant1? Type1569 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant14Type? Type1570 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant1Type? Type1570 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant15? Type1571 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant2? Type1571 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant15Type? Type1572 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant2Type? Type1572 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant16? Type1573 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant3? Type1573 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant16Type? Type1574 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant3Type? Type1574 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant17? Type1575 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant4? Type1575 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant17Type? Type1576 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant4Type? Type1576 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminator? Type1577 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant5? Type1577 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorType? Type1578 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant5Type? Type1578 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponse? Type1579 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant6? Type1579 { get; set; } /// /// /// - public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole? Type1580 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant6Type? Type1580 { get; set; } /// /// /// - public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItems? Type1581 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant7? Type1581 { get; set; } /// /// /// - public global::OpenRouter.OrganizationListOrganizationMembersResponse200? Type1582 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant7Type? Type1582 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1583 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant8? Type1583 { get; set; } /// /// /// - public global::OpenRouter.PresetDesignatedVersion? Type1584 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant8Type? Type1584 { get; set; } /// /// /// - public global::OpenRouter.PresetWithDesignatedVersionStatus? Type1585 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant9? Type1585 { get; set; } /// /// /// - public global::OpenRouter.PresetWithDesignatedVersion? Type1586 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant9Type? Type1586 { get; set; } /// /// /// - public global::OpenRouter.CreatePresetFromInferenceResponse? Type1587 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant10? Type1587 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems? Type1588 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant10Type? Type1588 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters? Type1589 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant11? Type1589 { get; set; } /// /// /// - public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItems? Type1590 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant11Type? Type1590 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1591 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant12? Type1591 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1592 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant12Type? Type1592 { get; set; } /// /// /// - public global::OpenRouter.ProvidersListProvidersResponse200? Type1593 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant13? Type1593 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1594 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant13Type? Type1594 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaDocumentsItems1? Type1595 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant14? Type1595 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaDocumentsItems? Type1596 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant14Type? Type1596 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderDataCollection? Type1597 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant15? Type1597 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderIgnoreItems? Type1598 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant15Type? Type1598 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderMaxPrice? Type1599 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant16? Type1599 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderOnlyItems? Type1600 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant16Type? Type1600 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderOrderItems? Type1601 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant17? Type1601 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderSort? Type1602 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataVariant17Type? Type1602 { get; set; } /// /// /// - public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProvider? Type1603 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminator? Type1603 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1604 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponseDataDiscriminatorType? Type1604 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1605 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponse? Type1605 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1606 { get; set; } + public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItemsRole? Type1606 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1607 { get; set; } + public global::OpenRouter.OrganizationMembersGetResponsesContentApplicationJsonSchemaDataItems? Type1607 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItemsDocument? Type1608 { get; set; } + public global::OpenRouter.OrganizationListOrganizationMembersResponse200? Type1608 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItems? Type1609 { get; set; } + public global::System.Collections.Generic.IList? Type1609 { get; set; } /// /// /// - public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaUsage? Type1610 { get; set; } + public global::OpenRouter.PresetDesignatedVersion? Type1610 { get; set; } /// /// /// - public global::OpenRouter.RerankCreateRerankResponse200? Type1611 { get; set; } + public global::OpenRouter.PresetWithDesignatedVersionStatus? Type1611 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1612 { get; set; } + public global::OpenRouter.PresetWithDesignatedVersion? Type1612 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestAspectRatio? Type1613 { get; set; } + public global::OpenRouter.CreatePresetFromInferenceResponse? Type1613 { get; set; } /// /// /// - public global::OpenRouter.FrameImageImageUrl? Type1614 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsDatacentersItems? Type1614 { get; set; } /// /// /// - public global::OpenRouter.FrameImageType? Type1615 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItemsHeadquarters? Type1615 { get; set; } /// /// /// - public global::OpenRouter.FrameImageFrameType? Type1616 { get; set; } + public global::OpenRouter.ProvidersGetResponsesContentApplicationJsonSchemaDataItems? Type1616 { get; set; } /// /// /// - public global::OpenRouter.FrameImage? Type1617 { get; set; } + public global::System.Collections.Generic.IList? Type1617 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceDiscriminatorMappingAudioUrlAudioUrl? Type1618 { get; set; } + public global::OpenRouter.OneOf? Type1618 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceDiscriminatorMappingImageUrlImageUrl? Type1619 { get; set; } + public global::OpenRouter.ProvidersListProvidersResponse200? Type1619 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceDiscriminatorMappingVideoUrlVideoUrl? Type1620 { get; set; } + public global::System.Collections.Generic.IList? Type1620 { get; set; } /// /// /// - public global::OpenRouter.InputReference? Type1621 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaDocumentsItems1? Type1621 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceVariant1? Type1622 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaDocumentsItems? Type1622 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceVariant1Type? Type1623 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderDataCollection? Type1623 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceVariant2? Type1624 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderIgnoreItems? Type1624 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceVariant2Type? Type1625 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderMaxPrice? Type1625 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceVariant3? Type1626 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderOnlyItems? Type1626 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceVariant3Type? Type1627 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderOrderItems? Type1627 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceDiscriminator? Type1628 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProviderSort? Type1628 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceDiscriminatorType? Type1629 { get; set; } + public global::OpenRouter.RerankPostRequestBodyContentApplicationJsonSchemaProvider? Type1629 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProviderOptions? Type1630 { get; set; } + public global::OpenRouter.OneOf? Type1630 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProvider? Type1631 { get; set; } + public global::System.Collections.Generic.IList? Type1631 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestResolution? Type1632 { get; set; } + public global::System.Collections.Generic.IList? Type1632 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequest? Type1633 { get; set; } + public global::System.Collections.Generic.IList? Type1633 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1634 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItemsDocument? Type1634 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1635 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaResultsItems? Type1635 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponseStatus? Type1636 { get; set; } + public global::OpenRouter.RerankPostResponsesContentApplicationJsonSchemaUsage? Type1636 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationUsage? Type1637 { get; set; } + public global::OpenRouter.RerankCreateRerankResponse200? Type1637 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponse? Type1638 { get; set; } + public global::System.Collections.Generic.IList? Type1638 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedAspectRatiosItems? Type1639 { get; set; } + public global::OpenRouter.VideoGenerationRequestAspectRatio? Type1639 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedFrameImagesItems? Type1640 { get; set; } + public global::OpenRouter.FrameImageImageUrl? Type1640 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedResolutionsItems? Type1641 { get; set; } + public global::OpenRouter.FrameImageType? Type1641 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedSizesItems? Type1642 { get; set; } + public global::OpenRouter.FrameImageFrameType? Type1642 { get; set; } /// /// /// - public global::OpenRouter.VideoModel? Type1643 { get; set; } + public global::OpenRouter.FrameImage? Type1643 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1644 { get; set; } + public global::OpenRouter.InputReferenceDiscriminatorMappingAudioUrlAudioUrl? Type1644 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1645 { get; set; } + public global::OpenRouter.InputReferenceDiscriminatorMappingImageUrlImageUrl? Type1645 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1646 { get; set; } + public global::OpenRouter.InputReferenceDiscriminatorMappingVideoUrlVideoUrl? Type1646 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1647 { get; set; } + public global::OpenRouter.InputReference? Type1647 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1648 { get; set; } + public global::OpenRouter.InputReferenceVariant1? Type1648 { get; set; } /// /// /// - public global::OpenRouter.VideoModelsListResponse? Type1649 { get; set; } + public global::OpenRouter.InputReferenceVariant1Type? Type1649 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1650 { get; set; } + public global::OpenRouter.InputReferenceVariant2? Type1650 { get; set; } /// /// /// - public global::OpenRouter.Workspace? Type1651 { get; set; } + public global::OpenRouter.InputReferenceVariant2Type? Type1651 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspacesResponse? Type1652 { get; set; } + public global::OpenRouter.InputReferenceVariant3? Type1652 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1653 { get; set; } + public global::OpenRouter.InputReferenceVariant3Type? Type1653 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceRequest? Type1654 { get; set; } + public global::OpenRouter.InputReferenceDiscriminator? Type1654 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceResponseData? Type1655 { get; set; } + public global::OpenRouter.InputReferenceDiscriminatorType? Type1655 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceResponse? Type1656 { get; set; } + public global::OpenRouter.VideoGenerationRequestProviderOptions? Type1656 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceResponseData? Type1657 { get; set; } + public global::OpenRouter.VideoGenerationRequestProvider? Type1657 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceResponse? Type1658 { get; set; } + public global::OpenRouter.VideoGenerationRequestResolution? Type1658 { get; set; } /// /// /// - public global::OpenRouter.DeleteWorkspaceResponse? Type1659 { get; set; } + public global::OpenRouter.VideoGenerationRequest? Type1659 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceRequest? Type1660 { get; set; } + public global::System.Collections.Generic.IList? Type1660 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceResponseData? Type1661 { get; set; } + public global::System.Collections.Generic.IList? Type1661 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceResponse? Type1662 { get; set; } + public global::OpenRouter.VideoGenerationResponseStatus? Type1662 { get; set; } /// /// /// - public global::OpenRouter.BulkAddWorkspaceMembersRequest? Type1663 { get; set; } + public global::OpenRouter.VideoGenerationUsage? Type1663 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMemberRole? Type1664 { get; set; } + public global::OpenRouter.VideoGenerationResponse? Type1664 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMember? Type1665 { get; set; } + public global::OpenRouter.VideoModelSupportedAspectRatiosItems? Type1665 { get; set; } /// /// /// - public global::OpenRouter.BulkAddWorkspaceMembersResponse? Type1666 { get; set; } + public global::OpenRouter.VideoModelSupportedFrameImagesItems? Type1666 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1667 { get; set; } + public global::OpenRouter.VideoModelSupportedResolutionsItems? Type1667 { get; set; } /// /// /// - public global::OpenRouter.BulkRemoveWorkspaceMembersRequest? Type1668 { get; set; } + public global::OpenRouter.VideoModelSupportedSizesItems? Type1668 { get; set; } /// /// /// - public global::OpenRouter.BulkRemoveWorkspaceMembersResponse? Type1669 { get; set; } + public global::OpenRouter.VideoModel? Type1669 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForApiKeyRequest? Type1670 { get; set; } + public global::System.Collections.Generic.IList? Type1670 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1671 { get; set; } + public global::System.Collections.Generic.IList? Type1671 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequest? Type1672 { get; set; } + public global::System.Collections.Generic.IList? Type1672 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequest? Type1673 { get; set; } + public global::System.Collections.Generic.IList? Type1673 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequest? Type1674 { get; set; } + public global::System.Collections.Generic.IList? Type1674 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1675 { get; set; } + public global::OpenRouter.VideoModelsListResponse? Type1675 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequest? Type1676 { get; set; } + public global::System.Collections.Generic.IList? Type1676 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type1677 { get; set; } + public global::OpenRouter.Workspace? Type1677 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequest? Type1678 { get; set; } + public global::OpenRouter.ListWorkspacesResponse? Type1678 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1679 { get; set; } + public global::System.Collections.Generic.IList? Type1679 { get; set; } /// /// /// - public byte[]? Type1680 { get; set; } + public global::OpenRouter.CreateWorkspaceRequest? Type1680 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateWorkspaceResponseData? Type1681 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateWorkspaceResponse? Type1682 { get; set; } + /// + /// + /// + public global::OpenRouter.GetWorkspaceResponseData? Type1683 { get; set; } + /// + /// + /// + public global::OpenRouter.GetWorkspaceResponse? Type1684 { get; set; } + /// + /// + /// + public global::OpenRouter.DeleteWorkspaceResponse? Type1685 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateWorkspaceRequest? Type1686 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateWorkspaceResponseData? Type1687 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateWorkspaceResponse? Type1688 { get; set; } + /// + /// + /// + public global::OpenRouter.BulkAddWorkspaceMembersRequest? Type1689 { get; set; } + /// + /// + /// + public global::OpenRouter.WorkspaceMemberRole? Type1690 { get; set; } + /// + /// + /// + public global::OpenRouter.WorkspaceMember? Type1691 { get; set; } + /// + /// + /// + public global::OpenRouter.BulkAddWorkspaceMembersResponse? Type1692 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type1693 { get; set; } + /// + /// + /// + public global::OpenRouter.BulkRemoveWorkspaceMembersRequest? Type1694 { get; set; } + /// + /// + /// + public global::OpenRouter.BulkRemoveWorkspaceMembersResponse? Type1695 { get; set; } + /// + /// + /// + public global::OpenRouter.ExchangeAuthCodeForApiKeyRequest? Type1696 { get; set; } + /// + /// + /// + public global::OpenRouter.OneOf? Type1697 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateAuthKeysCodeRequest? Type1698 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsRequest? Type1699 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type1700 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsRequest? Type1701 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateKeysRequest? Type1702 { get; set; } + /// + /// + /// + public global::OpenRouter.OneOf? Type1703 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateKeysRequest? Type1704 { get; set; } + /// + /// + /// + public global::OpenRouter.OneOf? Type1705 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankRequest? Type1706 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type1707 { get; set; } + /// + /// + /// + public byte[]? Type1708 { get; set; } /// /// @@ -6969,310 +7081,338 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType54 { get; set; } + public global::System.Collections.Generic.List? ListType54 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType55 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType56 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType57 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType58 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType59 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType60 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType61 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType55 { get; set; } + public global::System.Collections.Generic.List? ListType62 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType56 { get; set; } + public global::System.Collections.Generic.List? ListType63 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType57 { get; set; } + public global::System.Collections.Generic.List? ListType64 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType58 { get; set; } + public global::System.Collections.Generic.List? ListType65 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType59 { get; set; } + public global::System.Collections.Generic.List? ListType66 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType60 { get; set; } + public global::System.Collections.Generic.List? ListType67 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType61 { get; set; } + public global::System.Collections.Generic.List? ListType68 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType62 { get; set; } + public global::System.Collections.Generic.List? ListType69 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType63 { get; set; } + public global::System.Collections.Generic.List? ListType70 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType64 { get; set; } + public global::System.Collections.Generic.List? ListType71 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType65 { get; set; } + public global::System.Collections.Generic.List? ListType72 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType66 { get; set; } + public global::System.Collections.Generic.List? ListType73 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType67 { get; set; } + public global::System.Collections.Generic.List? ListType74 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType68 { get; set; } + public global::System.Collections.Generic.List? ListType75 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType69 { get; set; } + public global::System.Collections.Generic.List? ListType76 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType70 { get; set; } + public global::System.Collections.Generic.List>? ListType77 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType71 { get; set; } + public global::System.Collections.Generic.List? ListType78 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType72 { get; set; } + public global::System.Collections.Generic.List? ListType79 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType73 { get; set; } + public global::System.Collections.Generic.List? ListType80 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType74 { get; set; } + public global::System.Collections.Generic.List? ListType81 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType75 { get; set; } + public global::System.Collections.Generic.List? ListType82 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType76 { get; set; } + public global::System.Collections.Generic.List? ListType83 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType77 { get; set; } + public global::System.Collections.Generic.List? ListType84 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType78 { get; set; } + public global::System.Collections.Generic.List? ListType85 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType79 { get; set; } + public global::System.Collections.Generic.List? ListType86 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType80 { get; set; } + public global::System.Collections.Generic.List? ListType87 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType81 { get; set; } + public global::System.Collections.Generic.List? ListType88 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType82 { get; set; } + public global::System.Collections.Generic.List? ListType89 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType83 { get; set; } + public global::System.Collections.Generic.List? ListType90 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType84 { get; set; } + public global::System.Collections.Generic.List? ListType91 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType85 { get; set; } + public global::System.Collections.Generic.List? ListType92 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType86 { get; set; } + public global::System.Collections.Generic.List? ListType93 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType87 { get; set; } + public global::System.Collections.Generic.List? ListType94 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType88 { get; set; } + public global::System.Collections.Generic.List? ListType95 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType89 { get; set; } + public global::System.Collections.Generic.List? ListType96 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType90 { get; set; } + public global::System.Collections.Generic.List? ListType97 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType91 { get; set; } + public global::System.Collections.Generic.List? ListType98 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType92 { get; set; } + public global::System.Collections.Generic.List? ListType99 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType93 { get; set; } + public global::System.Collections.Generic.List? ListType100 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType94 { get; set; } + public global::System.Collections.Generic.List? ListType101 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType95 { get; set; } + public global::System.Collections.Generic.List? ListType102 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType96 { get; set; } + public global::System.Collections.Generic.List? ListType103 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType97 { get; set; } + public global::System.Collections.Generic.List? ListType104 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType98 { get; set; } + public global::System.Collections.Generic.List? ListType105 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType99 { get; set; } + public global::System.Collections.Generic.List? ListType106 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType100 { get; set; } + public global::System.Collections.Generic.List? ListType107 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType101 { get; set; } + public global::System.Collections.Generic.List? ListType108 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType102 { get; set; } + public global::System.Collections.Generic.List? ListType109 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType103 { get; set; } + public global::System.Collections.Generic.List? ListType110 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType104 { get; set; } + public global::System.Collections.Generic.List? ListType111 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType105 { get; set; } + public global::System.Collections.Generic.List? ListType112 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType106 { get; set; } + public global::System.Collections.Generic.List? ListType113 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType107 { get; set; } + public global::System.Collections.Generic.List? ListType114 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType108 { get; set; } + public global::System.Collections.Generic.List? ListType115 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType109 { get; set; } + public global::System.Collections.Generic.List? ListType116 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType110 { get; set; } + public global::System.Collections.Generic.List? ListType117 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType111 { get; set; } + public global::System.Collections.Generic.List? ListType118 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType112 { get; set; } + public global::System.Collections.Generic.List? ListType119 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType113 { get; set; } + public global::System.Collections.Generic.List? ListType120 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType114 { get; set; } + public global::System.Collections.Generic.List? ListType121 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType115 { get; set; } + public global::System.Collections.Generic.List? ListType122 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType116 { get; set; } + public global::System.Collections.Generic.List? ListType123 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType117 { get; set; } + public global::System.Collections.Generic.List? ListType124 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType118 { get; set; } + public global::System.Collections.Generic.List? ListType125 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType119 { get; set; } + public global::System.Collections.Generic.List? ListType126 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType120 { get; set; } + public global::System.Collections.Generic.List? ListType127 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType121 { get; set; } + public global::System.Collections.Generic.List? ListType128 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType122 { get; set; } + public global::System.Collections.Generic.List? ListType129 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType123 { get; set; } + public global::System.Collections.Generic.List? ListType130 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType124 { get; set; } + public global::System.Collections.Generic.List? ListType131 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType125 { get; set; } + public global::System.Collections.Generic.List? ListType132 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType126 { get; set; } + public global::System.Collections.Generic.List? ListType133 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType127 { get; set; } + public global::System.Collections.Generic.List? ListType134 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType128 { get; set; } + public global::System.Collections.Generic.List? ListType135 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType129 { get; set; } + public global::System.Collections.Generic.List? ListType136 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType130 { get; set; } + public global::System.Collections.Generic.List? ListType137 { get; set; } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData.Json.g.cs new file mode 100644 index 0000000..d5c1e43 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class AnalyticsMetaGetResponsesContentApplicationJsonSchemaData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData), + jsonSerializerContext) as global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData.g.cs new file mode 100644 index 0000000..bd8422a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class AnalyticsMetaGetResponsesContentApplicationJsonSchemaData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dimensions")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Dimensions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("granularities")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Granularities { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metrics")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Metrics { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("operators")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Operators { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AnalyticsMetaGetResponsesContentApplicationJsonSchemaData( + global::System.Collections.Generic.IList dimensions, + global::System.Collections.Generic.IList granularities, + global::System.Collections.Generic.IList metrics, + global::System.Collections.Generic.IList operators) + { + this.Dimensions = dimensions ?? throw new global::System.ArgumentNullException(nameof(dimensions)); + this.Granularities = granularities ?? throw new global::System.ArgumentNullException(nameof(granularities)); + this.Metrics = metrics ?? throw new global::System.ArgumentNullException(nameof(metrics)); + this.Operators = operators ?? throw new global::System.ArgumentNullException(nameof(operators)); + } + + /// + /// Initializes a new instance of the class. + /// + public AnalyticsMetaGetResponsesContentApplicationJsonSchemaData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems.Json.g.cs new file mode 100644 index 0000000..dab1f1f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems), + jsonSerializerContext) as global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems.g.cs new file mode 100644 index 0000000..4596389 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems + { + /// + /// Human-readable label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("display_label")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DisplayLabel { get; set; } + + /// + /// Dimension identifier used in query requests + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Human-readable label + /// + /// + /// Dimension identifier used in query requests + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems( + string displayLabel, + string name) + { + this.DisplayLabel = displayLabel ?? throw new global::System.ArgumentNullException(nameof(displayLabel)); + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + } + + /// + /// Initializes a new instance of the class. + /// + public AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems.Json.g.cs new file mode 100644 index 0000000..87a25c8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems), + jsonSerializerContext) as global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems.g.cs new file mode 100644 index 0000000..8aa0aab --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems.g.cs @@ -0,0 +1,60 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems + { + /// + /// Human-readable label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("display_label")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DisplayLabel { get; set; } + + /// + /// Granularity identifier + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Human-readable label + /// + /// + /// Granularity identifier + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems( + string displayLabel, + global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName name) + { + this.DisplayLabel = displayLabel ?? throw new global::System.ArgumentNullException(nameof(displayLabel)); + this.Name = name; + } + + /// + /// Initializes a new instance of the class. + /// + public AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.g.cs new file mode 100644 index 0000000..f953374 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Granularity identifier + /// + public enum AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName + { + /// + /// + /// + Day, + /// + /// + /// + Hour, + /// + /// + /// + Minute, + /// + /// + /// + Month, + /// + /// + /// + Week, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsNameExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName value) + { + return value switch + { + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.Day => "day", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.Hour => "hour", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.Minute => "minute", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.Month => "month", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.Week => "week", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName? ToEnum(string value) + { + return value switch + { + "day" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.Day, + "hour" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.Hour, + "minute" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.Minute, + "month" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.Month, + "week" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName.Week, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems.Json.g.cs new file mode 100644 index 0000000..dcbd226 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems), + jsonSerializerContext) as global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems.g.cs new file mode 100644 index 0000000..ccf59f5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems.g.cs @@ -0,0 +1,84 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems + { + /// + /// How this metric value should be formatted for display (e.g. percent → multiply by 100 and append %, currency → prefix with $) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("display_format")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat DisplayFormat { get; set; } + + /// + /// Human-readable label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("display_label")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DisplayLabel { get; set; } + + /// + /// Whether this metric is a rate/ratio (averaged, not summed) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_rate")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool IsRate { get; set; } + + /// + /// Metric identifier used in query requests + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// How this metric value should be formatted for display (e.g. percent → multiply by 100 and append %, currency → prefix with $) + /// + /// + /// Human-readable label + /// + /// + /// Whether this metric is a rate/ratio (averaged, not summed) + /// + /// + /// Metric identifier used in query requests + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems( + global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat displayFormat, + string displayLabel, + bool isRate, + string name) + { + this.DisplayFormat = displayFormat; + this.DisplayLabel = displayLabel ?? throw new global::System.ArgumentNullException(nameof(displayLabel)); + this.IsRate = isRate; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + } + + /// + /// Initializes a new instance of the class. + /// + public AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.g.cs new file mode 100644 index 0000000..cc688e9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// How this metric value should be formatted for display (e.g. percent → multiply by 100 and append %, currency → prefix with $) + /// + public enum AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat + { + /// + /// + /// + Currency, + /// + /// + /// + Latency, + /// + /// + /// + Number, + /// + /// + /// + Percent, + /// + /// + /// + Throughput, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormatExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat value) + { + return value switch + { + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.Currency => "currency", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.Latency => "latency", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.Number => "number", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.Percent => "percent", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.Throughput => "throughput", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat? ToEnum(string value) + { + return value switch + { + "currency" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.Currency, + "latency" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.Latency, + "number" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.Number, + "percent" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.Percent, + "throughput" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat.Throughput, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems.Json.g.cs new file mode 100644 index 0000000..1106df0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems), + jsonSerializerContext) as global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems.g.cs new file mode 100644 index 0000000..ab3daad --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems + { + /// + /// Operator identifier used in filter definitions + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName Name { get; set; } + + /// + /// Whether the operator expects a single value or an array + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType ValueType { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Operator identifier used in filter definitions + /// + /// + /// Whether the operator expects a single value or an array + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems( + global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName name, + global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType valueType) + { + this.Name = name; + this.ValueType = valueType; + } + + /// + /// Initializes a new instance of the class. + /// + public AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.g.cs new file mode 100644 index 0000000..070b20e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Operator identifier used in filter definitions + /// + public enum AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName + { + /// + /// + /// + Eq, + /// + /// + /// + Gt, + /// + /// + /// + Gte, + /// + /// + /// + In, + /// + /// + /// + Lt, + /// + /// + /// + Lte, + /// + /// + /// + Neq, + /// + /// + /// + NotIn, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsNameExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName value) + { + return value switch + { + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.Eq => "eq", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.Gt => "gt", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.Gte => "gte", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.In => "in", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.Lt => "lt", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.Lte => "lte", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.Neq => "neq", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.NotIn => "not_in", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName? ToEnum(string value) + { + return value switch + { + "eq" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.Eq, + "gt" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.Gt, + "gte" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.Gte, + "in" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.In, + "lt" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.Lt, + "lte" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.Lte, + "neq" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.Neq, + "not_in" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName.NotIn, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType.g.cs new file mode 100644 index 0000000..491d127 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Whether the operator expects a single value or an array + /// + public enum AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType + { + /// + /// + /// + Array, + /// + /// + /// + Scalar, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType value) + { + return value switch + { + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType.Array => "array", + AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType.Scalar => "scalar", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType? ToEnum(string value) + { + return value switch + { + "array" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType.Array, + "scalar" => AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType.Scalar, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems.Json.g.cs new file mode 100644 index 0000000..26f3c80 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems), + jsonSerializerContext) as global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems.g.cs new file mode 100644 index 0000000..3524834 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems.g.cs @@ -0,0 +1,72 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems + { + /// + /// Dimension to filter on + /// + [global::System.Text.Json.Serialization.JsonPropertyName("field")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Field { get; set; } + + /// + /// Filter operator + /// + [global::System.Text.Json.Serialization.JsonPropertyName("operator")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Operator { get; set; } + + /// + /// Filter value (scalar or array depending on operator) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Dimension to filter on + /// + /// + /// Filter operator + /// + /// + /// Filter value (scalar or array depending on operator) + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems( + string field, + string @operator, + global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue value) + { + this.Field = field ?? throw new global::System.ArgumentNullException(nameof(field)); + this.Operator = @operator ?? throw new global::System.ArgumentNullException(nameof(@operator)); + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue.Json.g.cs new file mode 100644 index 0000000..eee0c96 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public readonly partial struct AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue), + jsonSerializerContext) as global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue?; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue?; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue.g.cs new file mode 100644 index 0000000..dbf0320 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue.g.cs @@ -0,0 +1,355 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace OpenRouter +{ + /// + /// Filter value (scalar or array depending on operator) + /// + public readonly partial struct AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public string? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 { get; init; } +#else + public string? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1))] +#endif + public bool IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 => AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 != null; + + /// + /// + /// + public bool TryPickAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out string? value) + { + value = AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1; + return IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1; + } + + /// + /// + /// + public string PickAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1() => IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 + ? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1! + : throw new global::System.InvalidOperationException($"Expected union variant 'AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public double? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 { get; init; } +#else + public double? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2))] +#endif + public bool IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 => AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 != null; + + /// + /// + /// + public bool TryPickAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out double? value) + { + value = AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2; + return IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2; + } + + /// + /// + /// + public double PickAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2() => IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 + ? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2!.Value + : throw new global::System.InvalidOperationException($"Expected union variant 'AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::System.Collections.Generic.IList? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 { get; init; } +#else + public global::System.Collections.Generic.IList? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2))] +#endif + public bool IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 => AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 != null; + + /// + /// + /// + public bool TryPickAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::System.Collections.Generic.IList? value) + { + value = AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2; + return IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2; + } + + /// + /// + /// + public global::System.Collections.Generic.IList PickAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2() => IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 + ? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2! + : throw new global::System.InvalidOperationException($"Expected union variant 'AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue(string value) => new AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue((string?)value); + + /// + /// + /// + public static implicit operator string?(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue @this) => @this.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1; + + /// + /// + /// + public AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue(string? value) + { + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 = value; + } + + /// + /// + /// + public static AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue FromAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1(string? value) => new AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue(value); + + /// + /// + /// + public static implicit operator AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue(double value) => new AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue((double?)value); + + /// + /// + /// + public static implicit operator double?(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue @this) => @this.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2; + + /// + /// + /// + public AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue(double? value) + { + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 = value; + } + + /// + /// + /// + public static AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue FromAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2(double? value) => new AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue(value); + + /// + /// + /// + public AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue( + string? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1, + double? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2, + global::System.Collections.Generic.IList? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 + ) + { + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 = analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1; + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 = analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2; + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 = analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2; + } + + /// + /// + /// + public object? Object => + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 as object ?? + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 as object ?? + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 as object + ; + + /// + /// + /// + public override string? ToString() => + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1?.ToString() ?? + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2?.ToString() ?? + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 && !IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 && !IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 || !IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 && IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 && !IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 || !IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 && !IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 && IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 = null, + global::System.Func? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 = null, + global::System.Func, TResult>? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 && analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 != null) + { + return analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1!); + } + else if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 && analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 != null) + { + return analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2!); + } + else if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 && analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 != null) + { + return analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 = null, + + global::System.Action? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 = null, + + global::System.Action>? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1) + { + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1?.Invoke(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1!); + } + else if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2) + { + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2?.Invoke(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2!); + } + else if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2) + { + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2?.Invoke(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2!); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1 = null, + global::System.Action? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2 = null, + global::System.Action>? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1) + { + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1?.Invoke(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1!); + } + else if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2) + { + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2?.Invoke(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2!); + } + else if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2) + { + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2?.Invoke(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1, + typeof(string), + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2, + typeof(double), + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2, + typeof(global::System.Collections.Generic.IList), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1, other.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2, other.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueVariant2) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2, other.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2) + ; + } + + /// + /// + /// + public static bool operator ==(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue obj1, AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue obj1, AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue o && Equals(o); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items.Json.g.cs new file mode 100644 index 0000000..2495256 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public readonly partial struct AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items), + jsonSerializerContext) as global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items?; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items?; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items.g.cs new file mode 100644 index 0000000..a4b3fd7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public readonly partial struct AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public string? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 { get; init; } +#else + public string? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1))] +#endif + public bool IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 => AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 != null; + + /// + /// + /// + public bool TryPickAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out string? value) + { + value = AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1; + return IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1; + } + + /// + /// + /// + public string PickAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1() => IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 + ? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1! + : throw new global::System.InvalidOperationException($"Expected union variant 'AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public double? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 { get; init; } +#else + public double? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2))] +#endif + public bool IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 => AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 != null; + + /// + /// + /// + public bool TryPickAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out double? value) + { + value = AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2; + return IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2; + } + + /// + /// + /// + public double PickAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2() => IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 + ? AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2!.Value + : throw new global::System.InvalidOperationException($"Expected union variant 'AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items(string value) => new AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items((string?)value); + + /// + /// + /// + public static implicit operator string?(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items @this) => @this.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1; + + /// + /// + /// + public AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items(string? value) + { + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 = value; + } + + /// + /// + /// + public static AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items FromAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1(string? value) => new AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items(value); + + /// + /// + /// + public static implicit operator AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items(double value) => new AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items((double?)value); + + /// + /// + /// + public static implicit operator double?(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items @this) => @this.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2; + + /// + /// + /// + public AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items(double? value) + { + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 = value; + } + + /// + /// + /// + public static AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items FromAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2(double? value) => new AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items(value); + + /// + /// + /// + public AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items( + string? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1, + double? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 + ) + { + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 = analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1; + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 = analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2; + } + + /// + /// + /// + public object? Object => + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 as object ?? + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 as object + ; + + /// + /// + /// + public override string? ToString() => + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1?.ToString() ?? + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 && !IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 || !IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 && IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 = null, + global::System.Func? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 && analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 != null) + { + return analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1!); + } + else if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 && analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 != null) + { + return analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 = null, + + global::System.Action? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1) + { + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1?.Invoke(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1!); + } + else if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2) + { + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2?.Invoke(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2!); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1 = null, + global::System.Action? analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1) + { + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1?.Invoke(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1!); + } + else if (IsAnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2) + { + analyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2?.Invoke(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1, + typeof(string), + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2, + typeof(double), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1, other.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2, other.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2ItemsVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items obj1, AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items obj1, AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items o && Equals(o); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy.Json.g.cs new file mode 100644 index 0000000..8c55438 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy), + jsonSerializerContext) as global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy.g.cs new file mode 100644 index 0000000..cbbbe8d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy.g.cs @@ -0,0 +1,58 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("direction")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection Direction { get; set; } + + /// + /// Field to order by + /// + [global::System.Text.Json.Serialization.JsonPropertyName("field")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Field { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Field to order by + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy( + global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection direction, + string field) + { + this.Direction = direction; + this.Field = field ?? throw new global::System.ArgumentNullException(nameof(field)); + } + + /// + /// Initializes a new instance of the class. + /// + public AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection.g.cs new file mode 100644 index 0000000..57d1c23 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection + { + /// + /// + /// + Asc, + /// + /// + /// + Desc, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirectionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection value) + { + return value switch + { + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection.Asc => "asc", + AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection.Desc => "desc", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection? ToEnum(string value) + { + return value switch + { + "asc" => AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection.Asc, + "desc" => AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection.Desc, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange.Json.g.cs new file mode 100644 index 0000000..ad80554 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange), + jsonSerializerContext) as global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange.g.cs new file mode 100644 index 0000000..a25e729 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("end")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime End { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime Start { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange( + global::System.DateTime end, + global::System.DateTime start) + { + this.End = end; + this.Start = start; + } + + /// + /// Initializes a new instance of the class. + /// + public AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData.Json.g.cs new file mode 100644 index 0000000..454cb34 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class AnalyticsQueryPostResponsesContentApplicationJsonSchemaData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData), + jsonSerializerContext) as global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData.g.cs new file mode 100644 index 0000000..c51b583 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class AnalyticsQueryPostResponsesContentApplicationJsonSchemaData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cachedAt")] + public double? CachedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata Metadata { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AnalyticsQueryPostResponsesContentApplicationJsonSchemaData( + global::System.Collections.Generic.IList data, + global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata metadata, + double? cachedAt) + { + this.CachedAt = cachedAt; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Metadata = metadata ?? throw new global::System.ArgumentNullException(nameof(metadata)); + } + + /// + /// Initializes a new instance of the class. + /// + public AnalyticsQueryPostResponsesContentApplicationJsonSchemaData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems.Json.g.cs new file mode 100644 index 0000000..90d9293 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems), + jsonSerializerContext) as global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems.g.cs new file mode 100644 index 0000000..690158f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// A row of analytics data with metric/dimension values + /// + public sealed partial class AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata.Json.g.cs new file mode 100644 index 0000000..7bf149f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata), + jsonSerializerContext) as global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata.g.cs new file mode 100644 index 0000000..831b761 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("query_time_ms")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double QueryTimeMs { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("row_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int RowCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("truncated")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Truncated { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata( + double queryTimeMs, + int rowCount, + bool truncated) + { + this.QueryTimeMs = queryTimeMs; + this.RowCount = rowCount; + this.Truncated = truncated; + } + + /// + /// Initializes a new instance of the class. + /// + public AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BetaAnalyticsGetAnalyticsMetaResponse200.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BetaAnalyticsGetAnalyticsMetaResponse200.Json.g.cs new file mode 100644 index 0000000..c9041a8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BetaAnalyticsGetAnalyticsMetaResponse200.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class BetaAnalyticsGetAnalyticsMetaResponse200 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.BetaAnalyticsGetAnalyticsMetaResponse200? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.BetaAnalyticsGetAnalyticsMetaResponse200), + jsonSerializerContext) as global::OpenRouter.BetaAnalyticsGetAnalyticsMetaResponse200; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.BetaAnalyticsGetAnalyticsMetaResponse200? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.BetaAnalyticsGetAnalyticsMetaResponse200), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.BetaAnalyticsGetAnalyticsMetaResponse200; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BetaAnalyticsGetAnalyticsMetaResponse200.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BetaAnalyticsGetAnalyticsMetaResponse200.g.cs new file mode 100644 index 0000000..aa663ae --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BetaAnalyticsGetAnalyticsMetaResponse200.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class BetaAnalyticsGetAnalyticsMetaResponse200 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public BetaAnalyticsGetAnalyticsMetaResponse200( + global::OpenRouter.AnalyticsMetaGetResponsesContentApplicationJsonSchemaData data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public BetaAnalyticsGetAnalyticsMetaResponse200() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BetaAnalyticsQueryAnalyticsResponse200.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BetaAnalyticsQueryAnalyticsResponse200.Json.g.cs new file mode 100644 index 0000000..120cd12 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BetaAnalyticsQueryAnalyticsResponse200.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class BetaAnalyticsQueryAnalyticsResponse200 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.BetaAnalyticsQueryAnalyticsResponse200? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.BetaAnalyticsQueryAnalyticsResponse200), + jsonSerializerContext) as global::OpenRouter.BetaAnalyticsQueryAnalyticsResponse200; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.BetaAnalyticsQueryAnalyticsResponse200? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.BetaAnalyticsQueryAnalyticsResponse200), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.BetaAnalyticsQueryAnalyticsResponse200; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BetaAnalyticsQueryAnalyticsResponse200.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BetaAnalyticsQueryAnalyticsResponse200.g.cs new file mode 100644 index 0000000..e81a91a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BetaAnalyticsQueryAnalyticsResponse200.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class BetaAnalyticsQueryAnalyticsResponse200 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public BetaAnalyticsQueryAnalyticsResponse200( + global::OpenRouter.AnalyticsQueryPostResponsesContentApplicationJsonSchemaData data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public BetaAnalyticsQueryAnalyticsResponse200() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatWebSearchShorthand.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatWebSearchShorthand.g.cs index b7acc8c..4333843 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatWebSearchShorthand.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatWebSearchShorthand.g.cs @@ -27,6 +27,12 @@ public sealed partial class ChatWebSearchShorthand [global::System.Text.Json.Serialization.JsonPropertyName("excluded_domains")] public global::System.Collections.Generic.IList? ExcludedDomains { get; set; } + /// + /// Exact maximum number of characters of content per search result. Applies to the Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, caps highlight content per result. For Parallel, caps excerpt content per result (default 1,500 when omitted). When both `max_characters` and `search_context_size` are set, `max_characters` takes precedence for both engines. When omitted, falls back to `search_context_size` mapping (Exa) or engine defaults (Parallel). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_characters")] + public int? MaxCharacters { get; set; } + /// /// Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and Parallel engines; ignored with native provider search. /// @@ -46,7 +52,7 @@ public sealed partial class ChatWebSearchShorthand public global::OpenRouter.WebSearchConfig? Parameters { get; set; } /// - /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. + /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. Overridden by `max_characters` when both are set. /// [global::System.Text.Json.Serialization.JsonPropertyName("search_context_size")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.SearchQualityLevelJsonConverter))] @@ -85,6 +91,9 @@ public sealed partial class ChatWebSearchShorthand /// /// Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Anthropic, and xAI. Not supported with OpenAI (silently ignored) or Perplexity. Cannot be used with allowed_domains. /// + /// + /// Exact maximum number of characters of content per search result. Applies to the Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, caps highlight content per result. For Parallel, caps excerpt content per result (default 1,500 when omitted). When both `max_characters` and `search_context_size` are set, `max_characters` takes precedence for both engines. When omitted, falls back to `search_context_size` mapping (Exa) or engine defaults (Parallel). + /// /// /// Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and Parallel engines; ignored with native provider search. /// @@ -93,7 +102,7 @@ public sealed partial class ChatWebSearchShorthand /// /// /// - /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. + /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. Overridden by `max_characters` when both are set. /// /// /// Approximate user location for location-biased results. @@ -106,6 +115,7 @@ public ChatWebSearchShorthand( global::System.Collections.Generic.IList? allowedDomains, global::OpenRouter.WebSearchEngineEnum? engine, global::System.Collections.Generic.IList? excludedDomains, + int? maxCharacters, int? maxResults, int? maxTotalResults, global::OpenRouter.WebSearchConfig? parameters, @@ -115,6 +125,7 @@ public ChatWebSearchShorthand( this.AllowedDomains = allowedDomains; this.Engine = engine; this.ExcludedDomains = excludedDomains; + this.MaxCharacters = maxCharacters; this.MaxResults = maxResults; this.MaxTotalResults = maxTotalResults; this.Parameters = parameters; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemsVariant28.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemsVariant28.g.cs index 6521aab..0c22834 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemsVariant28.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemsVariant28.g.cs @@ -20,8 +20,7 @@ public sealed partial class OutputItemsVariant28 /// [global::System.Text.Json.Serialization.JsonPropertyName("action")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.OutputWebSearchCallItemActionJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::OpenRouter.OutputWebSearchCallItemAction Action { get; set; } + public global::OpenRouter.OutputWebSearchCallItemAction? Action { get; set; } /// /// @@ -47,18 +46,18 @@ public sealed partial class OutputItemsVariant28 /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OutputItemsVariant28( - global::OpenRouter.OutputWebSearchCallItemAction action, string id, global::OpenRouter.WebSearchStatus status, - global::OpenRouter.OutputWebSearchCallItemType type) + global::OpenRouter.OutputWebSearchCallItemType type, + global::OpenRouter.OutputWebSearchCallItemAction? action) { this.Type = type; this.Action = action; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputWebSearchCallItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputWebSearchCallItem.g.cs index 19d345d..8e51ca8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputWebSearchCallItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputWebSearchCallItem.g.cs @@ -13,8 +13,7 @@ public sealed partial class OutputWebSearchCallItem /// [global::System.Text.Json.Serialization.JsonPropertyName("action")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.OutputWebSearchCallItemActionJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::OpenRouter.OutputWebSearchCallItemAction Action { get; set; } + public global::OpenRouter.OutputWebSearchCallItemAction? Action { get; set; } /// /// @@ -47,17 +46,17 @@ public sealed partial class OutputWebSearchCallItem /// /// Initializes a new instance of the class. /// - /// /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public OutputWebSearchCallItem( - global::OpenRouter.OutputWebSearchCallItemAction action, string id, global::OpenRouter.WebSearchStatus status, + global::OpenRouter.OutputWebSearchCallItemAction? action, global::OpenRouter.OutputWebSearchCallItemType type) { this.Action = action; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.QueryAnalyticsRequest.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.QueryAnalyticsRequest.Json.g.cs new file mode 100644 index 0000000..1f91d82 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.QueryAnalyticsRequest.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class QueryAnalyticsRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.QueryAnalyticsRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.QueryAnalyticsRequest), + jsonSerializerContext) as global::OpenRouter.QueryAnalyticsRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.QueryAnalyticsRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.QueryAnalyticsRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.QueryAnalyticsRequest; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.QueryAnalyticsRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.QueryAnalyticsRequest.g.cs new file mode 100644 index 0000000..ed6a28d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.QueryAnalyticsRequest.g.cs @@ -0,0 +1,114 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class QueryAnalyticsRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dimensions")] + public global::System.Collections.Generic.IList? Dimensions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("filters")] + public global::System.Collections.Generic.IList? Filters { get; set; } + + /// + /// Time granularity + /// + [global::System.Text.Json.Serialization.JsonPropertyName("granularity")] + public string? Granularity { get; set; } + + /// + /// Maximum rows per distinct combination of dimensions (ClickHouse LIMIT n BY). When omitted on time-series queries (granularity + dimensions), auto-computed to avoid truncating time windows. Explicit values override the default and may truncate time buckets if set lower than the number of buckets in the range. Ignored when no dimensions are specified. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("group_limit")] + public int? GroupLimit { get; set; } + + /// + /// Maximum total rows returned. Defaults to 1000. On time-series queries with dimensions and no explicit group_limit, the server may raise this to accommodate the expected number of unique time-bucket/dimension combinations. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("limit")] + public int? Limit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metrics")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Metrics { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("order_by")] + public global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy? OrderBy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("time_range")] + public global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange? TimeRange { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// Time granularity + /// + /// + /// Maximum rows per distinct combination of dimensions (ClickHouse LIMIT n BY). When omitted on time-series queries (granularity + dimensions), auto-computed to avoid truncating time windows. Explicit values override the default and may truncate time buckets if set lower than the number of buckets in the range. Ignored when no dimensions are specified. + /// + /// + /// Maximum total rows returned. Defaults to 1000. On time-series queries with dimensions and no explicit group_limit, the server may raise this to accommodate the expected number of unique time-bucket/dimension combinations. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public QueryAnalyticsRequest( + global::System.Collections.Generic.IList metrics, + global::System.Collections.Generic.IList? dimensions, + global::System.Collections.Generic.IList? filters, + string? granularity, + int? groupLimit, + int? limit, + global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy? orderBy, + global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange? timeRange) + { + this.Dimensions = dimensions; + this.Filters = filters; + this.Granularity = granularity; + this.GroupLimit = groupLimit; + this.Limit = limit; + this.Metrics = metrics ?? throw new global::System.ArgumentNullException(nameof(metrics)); + this.OrderBy = orderBy; + this.TimeRange = timeRange; + } + + /// + /// Initializes a new instance of the class. + /// + public QueryAnalyticsRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SearchQualityLevel.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SearchQualityLevel.g.cs index 4eefce6..059717d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.SearchQualityLevel.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SearchQualityLevel.g.cs @@ -4,7 +4,7 @@ namespace OpenRouter { /// - /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. + /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. Overridden by `max_characters` when both are set. /// public enum SearchQualityLevel { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchConfig.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchConfig.g.cs index 349fc2f..e35f300 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchConfig.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchConfig.g.cs @@ -27,6 +27,12 @@ public sealed partial class WebSearchConfig [global::System.Text.Json.Serialization.JsonPropertyName("excluded_domains")] public global::System.Collections.Generic.IList? ExcludedDomains { get; set; } + /// + /// Exact maximum number of characters of content per search result. Applies to the Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, caps highlight content per result. For Parallel, caps excerpt content per result (default 1,500 when omitted). When both `max_characters` and `search_context_size` are set, `max_characters` takes precedence for both engines. When omitted, falls back to `search_context_size` mapping (Exa) or engine defaults (Parallel). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_characters")] + public int? MaxCharacters { get; set; } + /// /// Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and Parallel engines; ignored with native provider search. /// @@ -40,7 +46,7 @@ public sealed partial class WebSearchConfig public int? MaxTotalResults { get; set; } /// - /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. + /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. Overridden by `max_characters` when both are set. /// [global::System.Text.Json.Serialization.JsonPropertyName("search_context_size")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.SearchQualityLevelJsonConverter))] @@ -70,6 +76,9 @@ public sealed partial class WebSearchConfig /// /// Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Anthropic, and xAI. Not supported with OpenAI (silently ignored) or Perplexity. Cannot be used with allowed_domains. /// + /// + /// Exact maximum number of characters of content per search result. Applies to the Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, caps highlight content per result. For Parallel, caps excerpt content per result (default 1,500 when omitted). When both `max_characters` and `search_context_size` are set, `max_characters` takes precedence for both engines. When omitted, falls back to `search_context_size` mapping (Exa) or engine defaults (Parallel). + /// /// /// Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and Parallel engines; ignored with native provider search. /// @@ -77,7 +86,7 @@ public sealed partial class WebSearchConfig /// Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. Defaults to 50 when not specified. /// /// - /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. + /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. Overridden by `max_characters` when both are set. /// /// /// Approximate user location for location-biased results. @@ -89,6 +98,7 @@ public WebSearchConfig( global::System.Collections.Generic.IList? allowedDomains, global::OpenRouter.WebSearchEngineEnum? engine, global::System.Collections.Generic.IList? excludedDomains, + int? maxCharacters, int? maxResults, int? maxTotalResults, global::OpenRouter.SearchQualityLevel? searchContextSize, @@ -97,6 +107,7 @@ public WebSearchConfig( this.AllowedDomains = allowedDomains; this.Engine = engine; this.ExcludedDomains = excludedDomains; + this.MaxCharacters = maxCharacters; this.MaxResults = maxResults; this.MaxTotalResults = maxTotalResults; this.SearchContextSize = searchContextSize; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchServerToolConfig.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchServerToolConfig.g.cs index 15ae7ec..03ff9ea 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchServerToolConfig.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchServerToolConfig.g.cs @@ -27,6 +27,12 @@ public sealed partial class WebSearchServerToolConfig [global::System.Text.Json.Serialization.JsonPropertyName("excluded_domains")] public global::System.Collections.Generic.IList? ExcludedDomains { get; set; } + /// + /// Exact maximum number of characters of content per search result. Applies to the Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, caps highlight content per result. For Parallel, caps excerpt content per result (default 1,500 when omitted). When both `max_characters` and `search_context_size` are set, `max_characters` takes precedence for both engines. When omitted, falls back to `search_context_size` mapping (Exa) or engine defaults (Parallel). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_characters")] + public int? MaxCharacters { get; set; } + /// /// Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and Parallel engines; ignored with native provider search. /// @@ -40,7 +46,7 @@ public sealed partial class WebSearchServerToolConfig public int? MaxTotalResults { get; set; } /// - /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. + /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. Overridden by `max_characters` when both are set. /// [global::System.Text.Json.Serialization.JsonPropertyName("search_context_size")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.SearchQualityLevelJsonConverter))] @@ -70,6 +76,9 @@ public sealed partial class WebSearchServerToolConfig /// /// Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Anthropic, and xAI. Not supported with OpenAI (silently ignored) or Perplexity. Cannot be used with allowed_domains. /// + /// + /// Exact maximum number of characters of content per search result. Applies to the Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, caps highlight content per result. For Parallel, caps excerpt content per result (default 1,500 when omitted). When both `max_characters` and `search_context_size` are set, `max_characters` takes precedence for both engines. When omitted, falls back to `search_context_size` mapping (Exa) or engine defaults (Parallel). + /// /// /// Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and Parallel engines; ignored with native provider search. /// @@ -77,7 +86,7 @@ public sealed partial class WebSearchServerToolConfig /// Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. Defaults to 50 when not specified. /// /// - /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. + /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. Overridden by `max_characters` when both are set. /// /// /// Approximate user location for location-biased results. @@ -89,6 +98,7 @@ public WebSearchServerToolConfig( global::System.Collections.Generic.IList? allowedDomains, global::OpenRouter.WebSearchEngineEnum? engine, global::System.Collections.Generic.IList? excludedDomains, + int? maxCharacters, int? maxResults, int? maxTotalResults, global::OpenRouter.SearchQualityLevel? searchContextSize, @@ -97,6 +107,7 @@ public WebSearchServerToolConfig( this.AllowedDomains = allowedDomains; this.Engine = engine; this.ExcludedDomains = excludedDomains; + this.MaxCharacters = maxCharacters; this.MaxResults = maxResults; this.MaxTotalResults = maxTotalResults; this.SearchContextSize = searchContextSize; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.OpenRouterClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.OpenRouterClient.g.cs index 3d85fde..0c9bdd4 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.OpenRouterClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.OpenRouterClient.g.cs @@ -66,6 +66,15 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli JsonSerializerContext = JsonSerializerContext, }; + /// + /// + /// + public SubpackageBetaAnalyticsClient SubpackageBetaAnalytics => new SubpackageBetaAnalyticsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContext = JsonSerializerContext, + }; + /// /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.GetAnalyticsMeta.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.GetAnalyticsMeta.g.cs new file mode 100644 index 0000000..76b5289 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.GetAnalyticsMeta.g.cs @@ -0,0 +1,528 @@ + +#nullable enable + +namespace OpenRouter +{ + public partial class SubpackageBetaAnalyticsClient + { + + + private static readonly global::OpenRouter.EndPointSecurityRequirement s_GetAnalyticsMetaSecurityRequirement0 = + new global::OpenRouter.EndPointSecurityRequirement + { + Authorizations = new global::OpenRouter.EndPointAuthorizationRequirement[] + { new global::OpenRouter.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "Bearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::OpenRouter.EndPointSecurityRequirement[] s_GetAnalyticsMetaSecurityRequirements = + new global::OpenRouter.EndPointSecurityRequirement[] + { s_GetAnalyticsMetaSecurityRequirement0, + }; + partial void PrepareGetAnalyticsMetaArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareGetAnalyticsMetaRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessGetAnalyticsMetaResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetAnalyticsMetaResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get available analytics metrics and dimensions
+ /// Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GetAnalyticsMetaAsync( + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await GetAnalyticsMetaAsResponseAsync( + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Get available analytics metrics and dimensions
+ /// Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetAnalyticsMetaAsResponseAsync( + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareGetAnalyticsMetaArguments( + httpClient: HttpClient); + + + var __authorizations = global::OpenRouter.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetAnalyticsMetaSecurityRequirements, + operationName: "GetAnalyticsMetaAsync"); + + using var __timeoutCancellationTokenSource = global::OpenRouter.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::OpenRouter.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::OpenRouter.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::OpenRouter.PathBuilder( + path: "/analytics/meta", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::OpenRouter.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareGetAnalyticsMetaRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetAnalyticsMeta", + methodName: "GetAnalyticsMetaAsync", + pathTemplate: "\"/analytics/meta\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetAnalyticsMeta", + methodName: "GetAnalyticsMetaAsync", + pathTemplate: "\"/analytics/meta\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::OpenRouter.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetAnalyticsMeta", + methodName: "GetAnalyticsMetaAsync", + pathTemplate: "\"/analytics/meta\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessGetAnalyticsMetaResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetAnalyticsMeta", + methodName: "GetAnalyticsMetaAsync", + pathTemplate: "\"/analytics/meta\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetAnalyticsMeta", + methodName: "GetAnalyticsMetaAsync", + pathTemplate: "\"/analytics/meta\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Unauthorized - Authentication required or invalid credentials + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::OpenRouter.UnauthorizedResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden - Authentication successful but insufficient permissions + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::OpenRouter.ForbiddenResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::OpenRouter.ForbiddenResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::OpenRouter.ForbiddenResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error - Unexpected server error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::OpenRouter.InternalServerResponse? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::OpenRouter.InternalServerResponse.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::OpenRouter.InternalServerResponse.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessGetAnalyticsMetaResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::OpenRouter.BetaAnalyticsGetAnalyticsMetaResponse200.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::OpenRouter.BetaAnalyticsGetAnalyticsMetaResponse200.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.QueryAnalytics.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.QueryAnalytics.g.cs new file mode 100644 index 0000000..b8554da --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.QueryAnalytics.g.cs @@ -0,0 +1,672 @@ + +#nullable enable + +namespace OpenRouter +{ + public partial class SubpackageBetaAnalyticsClient + { + + + private static readonly global::OpenRouter.EndPointSecurityRequirement s_QueryAnalyticsSecurityRequirement0 = + new global::OpenRouter.EndPointSecurityRequirement + { + Authorizations = new global::OpenRouter.EndPointAuthorizationRequirement[] + { new global::OpenRouter.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "Bearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::OpenRouter.EndPointSecurityRequirement[] s_QueryAnalyticsSecurityRequirements = + new global::OpenRouter.EndPointSecurityRequirement[] + { s_QueryAnalyticsSecurityRequirement0, + }; + partial void PrepareQueryAnalyticsArguments( + global::System.Net.Http.HttpClient httpClient, + global::OpenRouter.QueryAnalyticsRequest request); + partial void PrepareQueryAnalyticsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::OpenRouter.QueryAnalyticsRequest request); + partial void ProcessQueryAnalyticsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessQueryAnalyticsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Query analytics data
+ /// Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task QueryAnalyticsAsync( + + global::OpenRouter.QueryAnalyticsRequest request, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await QueryAnalyticsAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Query analytics data
+ /// Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> QueryAnalyticsAsResponseAsync( + + global::OpenRouter.QueryAnalyticsRequest request, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareQueryAnalyticsArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::OpenRouter.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_QueryAnalyticsSecurityRequirements, + operationName: "QueryAnalyticsAsync"); + + using var __timeoutCancellationTokenSource = global::OpenRouter.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::OpenRouter.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::OpenRouter.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::OpenRouter.PathBuilder( + path: "/analytics/query", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::OpenRouter.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareQueryAnalyticsRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "QueryAnalytics", + methodName: "QueryAnalyticsAsync", + pathTemplate: "\"/analytics/query\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "QueryAnalytics", + methodName: "QueryAnalyticsAsync", + pathTemplate: "\"/analytics/query\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::OpenRouter.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "QueryAnalytics", + methodName: "QueryAnalyticsAsync", + pathTemplate: "\"/analytics/query\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessQueryAnalyticsResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "QueryAnalytics", + methodName: "QueryAnalyticsAsync", + pathTemplate: "\"/analytics/query\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "QueryAnalytics", + methodName: "QueryAnalyticsAsync", + pathTemplate: "\"/analytics/query\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Bad Request - Invalid request parameters or malformed input + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::OpenRouter.BadRequestResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::OpenRouter.BadRequestResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::OpenRouter.BadRequestResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized - Authentication required or invalid credentials + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::OpenRouter.UnauthorizedResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden - Authentication successful but insufficient permissions + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::OpenRouter.ForbiddenResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::OpenRouter.ForbiddenResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::OpenRouter.ForbiddenResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Request Timeout - Operation exceeded time limit + if ((int)__response.StatusCode == 408) + { + string? __content_408 = null; + global::System.Exception? __exception_408 = null; + global::OpenRouter.RequestTimeoutResponse? __value_408 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_408 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_408 = global::OpenRouter.RequestTimeoutResponse.FromJson(__content_408, JsonSerializerContext); + } + else + { + __content_408 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_408 = global::OpenRouter.RequestTimeoutResponse.FromJson(__content_408, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_408 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_408 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_408, + responseBody: __content_408, + responseObject: __value_408, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error - Unexpected server error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::OpenRouter.InternalServerResponse? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::OpenRouter.InternalServerResponse.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::OpenRouter.InternalServerResponse.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessQueryAnalyticsResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::OpenRouter.BetaAnalyticsQueryAnalyticsResponse200.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::OpenRouter.BetaAnalyticsQueryAnalyticsResponse200.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Query analytics data
+ /// Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// + /// + /// Time granularity + /// + /// + /// Maximum rows per distinct combination of dimensions (ClickHouse LIMIT n BY). When omitted on time-series queries (granularity + dimensions), auto-computed to avoid truncating time windows. Explicit values override the default and may truncate time buckets if set lower than the number of buckets in the range. Ignored when no dimensions are specified. + /// + /// + /// Maximum total rows returned. Defaults to 1000. On time-series queries with dimensions and no explicit group_limit, the server may raise this to accommodate the expected number of unique time-bucket/dimension combinations. + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task QueryAnalyticsAsync( + global::System.Collections.Generic.IList metrics, + global::System.Collections.Generic.IList? dimensions = default, + global::System.Collections.Generic.IList? filters = default, + string? granularity = default, + int? groupLimit = default, + int? limit = default, + global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy? orderBy = default, + global::OpenRouter.AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange? timeRange = default, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::OpenRouter.QueryAnalyticsRequest + { + Dimensions = dimensions, + Filters = filters, + Granularity = granularity, + GroupLimit = groupLimit, + Limit = limit, + Metrics = metrics, + OrderBy = orderBy, + TimeRange = timeRange, + }; + + return await QueryAnalyticsAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.g.cs new file mode 100644 index 0000000..3534759 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class SubpackageBetaAnalyticsClient : global::OpenRouter.ISubpackageBetaAnalyticsClient, global::System.IDisposable + { + /// + /// Production server + /// + public const string DefaultBaseUrl = "https://openrouter.ai/api/v1"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => HttpClient.BaseAddress; + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + + /// + public global::OpenRouter.AutoSDKClientOptions Options { get; } + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the SubpackageBetaAnalyticsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public SubpackageBetaAnalyticsClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this( + httpClient, + baseUri, + authorizations, + options: null, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the SubpackageBetaAnalyticsClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public SubpackageBetaAnalyticsClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::OpenRouter.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the SubpackageBetaAnalyticsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public SubpackageBetaAnalyticsClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::OpenRouter.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index 9c55441..012bdc4 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -690,6 +690,182 @@ } } }, + "/analytics/meta": { + "get": { + "operationId": "get-analytics-meta", + "summary": "Get available analytics metrics and dimensions", + "description": "Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "tags": [ + "subpackage_betaAnalytics" + ], + "parameters": [], + "responses": { + "200": { + "description": "Returns analytics query metadata", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/beta.Analytics_getAnalyticsMeta_Response_200" + } + } + } + }, + "401": { + "description": "Unauthorized - Authentication required or invalid credentials", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnauthorizedResponse" + } + } + } + }, + "403": { + "description": "Forbidden - Authentication successful but insufficient permissions", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ForbiddenResponse" + } + } + } + }, + "500": { + "description": "Internal Server Error - Unexpected server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerResponse" + } + } + } + } + } + } + }, + "/analytics/query": { + "post": { + "operationId": "query-analytics", + "summary": "Query analytics data", + "description": "Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "tags": [ + "subpackage_betaAnalytics" + ], + "parameters": [], + "responses": { + "200": { + "description": "Analytics query results", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/beta.Analytics_queryAnalytics_Response_200" + } + } + } + }, + "400": { + "description": "Bad Request - Invalid request parameters or malformed input", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BadRequestResponse" + } + } + } + }, + "401": { + "description": "Unauthorized - Authentication required or invalid credentials", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnauthorizedResponse" + } + } + } + }, + "403": { + "description": "Forbidden - Authentication successful but insufficient permissions", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ForbiddenResponse" + } + } + } + }, + "408": { + "description": "Request Timeout - Operation exceeded time limit", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RequestTimeoutResponse" + } + } + } + }, + "500": { + "description": "Internal Server Error - Unexpected server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerResponse" + } + } + } + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dimensions": { + "type": "array", + "items": { + "type": "string" + } + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems" + } + }, + "granularity": { + "type": "string", + "description": "Time granularity" + }, + "group_limit": { + "type": "integer", + "description": "Maximum rows per distinct combination of dimensions (ClickHouse LIMIT n BY). When omitted on time-series queries (granularity + dimensions), auto-computed to avoid truncating time windows. Explicit values override the default and may truncate time buckets if set lower than the number of buckets in the range. Ignored when no dimensions are specified." + }, + "limit": { + "type": "integer", + "description": "Maximum total rows returned. Defaults to 1000. On time-series queries with dimensions and no explicit group_limit, the server may raise this to accommodate the expected number of unique time-bucket/dimension combinations." + }, + "metrics": { + "type": "array", + "items": { + "type": "string" + } + }, + "order_by": { + "$ref": "#/components/schemas/AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy" + }, + "time_range": { + "$ref": "#/components/schemas/AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange" + } + }, + "required": [ + "metrics" + ] + } + } + } + } + } + }, "/byok": { "get": { "operationId": "list-byok-keys", @@ -6937,7 +7113,6 @@ } }, "required": [ - "action", "id", "status", "type" @@ -11597,7 +11772,7 @@ "medium", "high" ], - "description": "How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size.", + "description": "How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. Overridden by `max_characters` when both are set.", "title": "SearchQualityLevel" }, "WebSearchUserLocationServerToolType": { @@ -11661,6 +11836,10 @@ }, "description": "Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Anthropic, and xAI. Not supported with OpenAI (silently ignored) or Perplexity. Cannot be used with allowed_domains." }, + "max_characters": { + "type": "integer", + "description": "Exact maximum number of characters of content per search result. Applies to the Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, caps highlight content per result. For Parallel, caps excerpt content per result (default 1,500 when omitted). When both `max_characters` and `search_context_size` are set, `max_characters` takes precedence for both engines. When omitted, falls back to `search_context_size` mapping (Exa) or engine defaults (Parallel)." + }, "max_results": { "type": "integer", "description": "Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and Parallel engines; ignored with native provider search." @@ -14600,7 +14779,6 @@ }, "required": [ "type", - "action", "id", "status" ], @@ -16951,6 +17129,347 @@ ], "title": "ActivityResponse" }, + "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems": { + "type": "object", + "properties": { + "display_label": { + "type": "string", + "description": "Human-readable label" + }, + "name": { + "type": "string", + "description": "Dimension identifier used in query requests" + } + }, + "required": [ + "display_label", + "name" + ], + "title": "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems" + }, + "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName": { + "type": "string", + "enum": [ + "minute", + "hour", + "day", + "week", + "month" + ], + "description": "Granularity identifier", + "title": "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName" + }, + "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems": { + "type": "object", + "properties": { + "display_label": { + "type": "string", + "description": "Human-readable label" + }, + "name": { + "$ref": "#/components/schemas/AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItemsName", + "description": "Granularity identifier" + } + }, + "required": [ + "display_label", + "name" + ], + "title": "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems" + }, + "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat": { + "type": "string", + "enum": [ + "number", + "currency", + "percent", + "latency", + "throughput" + ], + "description": "How this metric value should be formatted for display (e.g. percent → multiply by 100 and append %, currency → prefix with $)", + "title": "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat" + }, + "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems": { + "type": "object", + "properties": { + "display_format": { + "$ref": "#/components/schemas/AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItemsDisplayFormat", + "description": "How this metric value should be formatted for display (e.g. percent → multiply by 100 and append %, currency → prefix with $)" + }, + "display_label": { + "type": "string", + "description": "Human-readable label" + }, + "is_rate": { + "type": "boolean", + "description": "Whether this metric is a rate/ratio (averaged, not summed)" + }, + "name": { + "type": "string", + "description": "Metric identifier used in query requests" + } + }, + "required": [ + "display_format", + "display_label", + "is_rate", + "name" + ], + "title": "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems" + }, + "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName": { + "type": "string", + "enum": [ + "eq", + "neq", + "in", + "not_in", + "gt", + "gte", + "lt", + "lte" + ], + "description": "Operator identifier used in filter definitions", + "title": "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName" + }, + "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType": { + "type": "string", + "enum": [ + "scalar", + "array" + ], + "description": "Whether the operator expects a single value or an array", + "title": "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType" + }, + "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems": { + "type": "object", + "properties": { + "name": { + "$ref": "#/components/schemas/AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsName", + "description": "Operator identifier used in filter definitions" + }, + "value_type": { + "$ref": "#/components/schemas/AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItemsValueType", + "description": "Whether the operator expects a single value or an array" + } + }, + "required": [ + "name", + "value_type" + ], + "title": "AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems" + }, + "AnalyticsMetaGetResponsesContentApplicationJsonSchemaData": { + "type": "object", + "properties": { + "dimensions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataDimensionsItems" + } + }, + "granularities": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataGranularitiesItems" + } + }, + "metrics": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataMetricsItems" + } + }, + "operators": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AnalyticsMetaGetResponsesContentApplicationJsonSchemaDataOperatorsItems" + } + } + }, + "required": [ + "dimensions", + "granularities", + "metrics", + "operators" + ], + "title": "AnalyticsMetaGetResponsesContentApplicationJsonSchemaData" + }, + "beta.Analytics_getAnalyticsMeta_Response_200": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/AnalyticsMetaGetResponsesContentApplicationJsonSchemaData" + } + }, + "required": [ + "data" + ], + "title": "beta.Analytics_getAnalyticsMeta_Response_200" + }, + "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number", + "format": "double" + } + ], + "title": "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items" + }, + "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValueOneOf2Items" + }, + "title": "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2" + }, + "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number", + "format": "double" + }, + { + "$ref": "#/components/schemas/AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue2" + } + ], + "description": "Filter value (scalar or array depending on operator)", + "title": "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue" + }, + "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems": { + "type": "object", + "properties": { + "field": { + "type": "string", + "description": "Dimension to filter on" + }, + "operator": { + "type": "string", + "description": "Filter operator" + }, + "value": { + "$ref": "#/components/schemas/AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItemsValue", + "description": "Filter value (scalar or array depending on operator)" + } + }, + "required": [ + "field", + "operator", + "value" + ], + "title": "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaFiltersItems" + }, + "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "title": "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection" + }, + "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy": { + "type": "object", + "properties": { + "direction": { + "$ref": "#/components/schemas/AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderByDirection" + }, + "field": { + "type": "string", + "description": "Field to order by" + } + }, + "required": [ + "direction", + "field" + ], + "title": "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaOrderBy" + }, + "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange": { + "type": "object", + "properties": { + "end": { + "type": "string", + "format": "date-time" + }, + "start": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "end", + "start" + ], + "title": "AnalyticsQueryPostRequestBodyContentApplicationJsonSchemaTimeRange" + }, + "AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems": { + "type": "object", + "properties": {}, + "description": "A row of analytics data with metric/dimension values", + "title": "AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems" + }, + "AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata": { + "type": "object", + "properties": { + "query_time_ms": { + "type": "number", + "format": "double" + }, + "row_count": { + "type": "integer" + }, + "truncated": { + "type": "boolean" + } + }, + "required": [ + "query_time_ms", + "row_count", + "truncated" + ], + "title": "AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata" + }, + "AnalyticsQueryPostResponsesContentApplicationJsonSchemaData": { + "type": "object", + "properties": { + "cachedAt": { + "type": "number", + "format": "double" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataDataItems" + } + }, + "metadata": { + "$ref": "#/components/schemas/AnalyticsQueryPostResponsesContentApplicationJsonSchemaDataMetadata" + } + }, + "required": [ + "data", + "metadata" + ], + "title": "AnalyticsQueryPostResponsesContentApplicationJsonSchemaData" + }, + "beta.Analytics_queryAnalytics_Response_200": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/AnalyticsQueryPostResponsesContentApplicationJsonSchemaData" + } + }, + "required": [ + "data" + ], + "title": "beta.Analytics_queryAnalytics_Response_200" + }, "ByokGetParametersProvider": { "type": "string", "enum": [ @@ -19104,6 +19623,10 @@ }, "description": "Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Anthropic, and xAI. Not supported with OpenAI (silently ignored) or Perplexity. Cannot be used with allowed_domains." }, + "max_characters": { + "type": "integer", + "description": "Exact maximum number of characters of content per search result. Applies to the Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, caps highlight content per result. For Parallel, caps excerpt content per result (default 1,500 when omitted). When both `max_characters` and `search_context_size` are set, `max_characters` takes precedence for both engines. When omitted, falls back to `search_context_size` mapping (Exa) or engine defaults (Parallel)." + }, "max_results": { "type": "integer", "description": "Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and Parallel engines; ignored with native provider search." @@ -19174,6 +19697,10 @@ }, "description": "Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Anthropic, and xAI. Not supported with OpenAI (silently ignored) or Perplexity. Cannot be used with allowed_domains." }, + "max_characters": { + "type": "integer", + "description": "Exact maximum number of characters of content per search result. Applies to the Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, caps highlight content per result. For Parallel, caps excerpt content per result (default 1,500 when omitted). When both `max_characters` and `search_context_size` are set, `max_characters` takes precedence for both engines. When omitted, falls back to `search_context_size` mapping (Exa) or engine defaults (Parallel)." + }, "max_results": { "type": "integer", "description": "Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and Parallel engines; ignored with native provider search."