diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items0.g.cs index a7395a7..5b027d5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items0.g.cs @@ -47,9 +47,9 @@ public sealed partial class BaseInputsOneOf1Items0 /// /// Initializes a new instance of the class. /// - /// /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -60,9 +60,9 @@ public BaseInputsOneOf1Items0( global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Type? type, global::OpenRouter.BaseInputsOneOf1ItemsOneOf0Phase? phase) { + this.Type = type; this.Role = role; this.Content = content; - this.Type = type; this.Phase = phase; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items1.g.cs index 191047f..d3768eb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items1.g.cs @@ -47,9 +47,9 @@ public sealed partial class BaseInputsOneOf1Items1 /// Initializes a new instance of the class. /// /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -60,9 +60,9 @@ public BaseInputsOneOf1Items1( global::OpenRouter.BaseInputsOneOf1ItemsOneOf1Type? type) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Type = type; this.Role = role; this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items2.g.cs index e221f2f..1b698dd 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items2.g.cs @@ -52,10 +52,10 @@ public sealed partial class BaseInputsOneOf1Items2 /// /// Initializes a new instance of the class. /// - /// - /// /// /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -67,10 +67,10 @@ public BaseInputsOneOf1Items2( string? id, global::OpenRouter.ToolCallStatusEnum? status) { - this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Output = output; this.Type = type; this.Id = id; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); + this.Output = output; this.Status = status; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items3.g.cs index 776a991..26c78c3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseInputsOneOf1Items3.g.cs @@ -58,10 +58,10 @@ public sealed partial class BaseInputsOneOf1Items3 /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -75,10 +75,10 @@ public BaseInputsOneOf1Items3( string? id, global::OpenRouter.ToolCallStatusEnum? status) { + this.Type = type; this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); - this.Type = type; this.Id = id; this.Status = status; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems0.g.cs index 4fdc644..dbe4ce7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems0.g.cs @@ -37,8 +37,8 @@ public sealed partial class BaseMessagesResultContentItems0 /// /// Initializes a new instance of the class. /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -48,8 +48,8 @@ public BaseMessagesResultContentItems0( global::OpenRouter.BaseMessagesResultContentItemsOneOf0Type type, global::System.Collections.Generic.IList? citations) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Citations = citations; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems1.g.cs index 1b565f1..705aff5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems1.g.cs @@ -52,10 +52,10 @@ public sealed partial class BaseMessagesResultContentItems1 /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -67,10 +67,10 @@ public BaseMessagesResultContentItems1( global::OpenRouter.BaseMessagesResultContentItemsOneOf1Type type, object? input) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Caller = caller; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.Type = type; this.Input = input; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems10.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems10.g.cs index 3e05a7d..d06c8fd 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems10.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems10.g.cs @@ -39,9 +39,9 @@ public sealed partial class BaseMessagesResultContentItems10 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,9 +50,9 @@ public BaseMessagesResultContentItems10( string toolUseId, global::OpenRouter.BaseMessagesResultContentItemsOneOf10Type type) { + this.Type = type; this.Content = content; this.ToolUseId = toolUseId ?? throw new global::System.ArgumentNullException(nameof(toolUseId)); - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems11.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems11.g.cs index 1ed2e87..edb6e33 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems11.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems11.g.cs @@ -31,8 +31,8 @@ public sealed partial class BaseMessagesResultContentItems11 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public BaseMessagesResultContentItems11( string fileId, global::OpenRouter.BaseMessagesResultContentItemsOneOf11Type type) { - this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); this.Type = type; + this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems2.g.cs index f5d93d2..ff7f9fb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems2.g.cs @@ -38,9 +38,9 @@ public sealed partial class BaseMessagesResultContentItems2 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public BaseMessagesResultContentItems2( string signature, global::OpenRouter.BaseMessagesResultContentItemsOneOf2Type type) { + this.Type = type; this.Thinking = thinking ?? throw new global::System.ArgumentNullException(nameof(thinking)); this.Signature = signature ?? throw new global::System.ArgumentNullException(nameof(signature)); - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems3.g.cs index aeaef12..f8603a5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems3.g.cs @@ -31,8 +31,8 @@ public sealed partial class BaseMessagesResultContentItems3 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public BaseMessagesResultContentItems3( string data, global::OpenRouter.BaseMessagesResultContentItemsOneOf3Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems4.g.cs index b7ed218..aac0886 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems4.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems4.g.cs @@ -53,10 +53,10 @@ public sealed partial class BaseMessagesResultContentItems4 /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -68,10 +68,10 @@ public BaseMessagesResultContentItems4( global::OpenRouter.BaseMessagesResultContentItemsOneOf4Type type, object? input) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Caller = caller; this.Name = name; - this.Type = type; this.Input = input; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems5.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems5.g.cs index 60a48c7..dbda77c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems5.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems5.g.cs @@ -47,10 +47,10 @@ public sealed partial class BaseMessagesResultContentItems5 /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -60,10 +60,10 @@ public BaseMessagesResultContentItems5( global::OpenRouter.BaseMessagesResultContentItemsOneOf5Content content, global::OpenRouter.BaseMessagesResultContentItemsOneOf5Type type) { + this.Type = type; this.Caller = caller; this.ToolUseId = toolUseId ?? throw new global::System.ArgumentNullException(nameof(toolUseId)); this.Content = content; - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems6.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems6.g.cs index bc2a1d4..a4611bd 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems6.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems6.g.cs @@ -47,10 +47,10 @@ public sealed partial class BaseMessagesResultContentItems6 /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -60,10 +60,10 @@ public BaseMessagesResultContentItems6( string toolUseId, global::OpenRouter.BaseMessagesResultContentItemsOneOf6Type type) { + this.Type = type; this.Caller = caller; this.Content = content; this.ToolUseId = toolUseId ?? throw new global::System.ArgumentNullException(nameof(toolUseId)); - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems7.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems7.g.cs index ee21cc4..1792e13 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems7.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems7.g.cs @@ -39,9 +39,9 @@ public sealed partial class BaseMessagesResultContentItems7 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,9 +50,9 @@ public BaseMessagesResultContentItems7( string toolUseId, global::OpenRouter.BaseMessagesResultContentItemsOneOf7Type type) { + this.Type = type; this.Content = content; this.ToolUseId = toolUseId ?? throw new global::System.ArgumentNullException(nameof(toolUseId)); - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems8.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems8.g.cs index ed8e370..ebaf1cf 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems8.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems8.g.cs @@ -39,9 +39,9 @@ public sealed partial class BaseMessagesResultContentItems8 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,9 +50,9 @@ public BaseMessagesResultContentItems8( string toolUseId, global::OpenRouter.BaseMessagesResultContentItemsOneOf8Type type) { + this.Type = type; this.Content = content; this.ToolUseId = toolUseId ?? throw new global::System.ArgumentNullException(nameof(toolUseId)); - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems9.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems9.g.cs index d338397..2e02547 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems9.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItems9.g.cs @@ -39,9 +39,9 @@ public sealed partial class BaseMessagesResultContentItems9 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,9 +50,9 @@ public BaseMessagesResultContentItems9( string toolUseId, global::OpenRouter.BaseMessagesResultContentItemsOneOf9Type type) { + this.Type = type; this.Content = content; this.ToolUseId = toolUseId ?? throw new global::System.ArgumentNullException(nameof(toolUseId)); - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems0.g.cs index 15da069..d2233e9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems0.g.cs @@ -64,12 +64,12 @@ public sealed partial class BaseMessagesResultContentItemsOneOf0CitationsItems0 /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -83,12 +83,12 @@ public BaseMessagesResultContentItemsOneOf0CitationsItems0( string? documentTitle, string? fileId) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartCharIndex = startCharIndex; this.EndCharIndex = endCharIndex; - this.Type = type; - this.DocumentTitle = documentTitle; this.FileId = fileId; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems1.g.cs index ecf3c83..ad634f1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems1.g.cs @@ -64,12 +64,12 @@ public sealed partial class BaseMessagesResultContentItemsOneOf0CitationsItems1 /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -83,12 +83,12 @@ public BaseMessagesResultContentItemsOneOf0CitationsItems1( string? documentTitle, string? fileId) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartPageNumber = startPageNumber; this.EndPageNumber = endPageNumber; - this.Type = type; - this.DocumentTitle = documentTitle; this.FileId = fileId; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems2.g.cs index b2727fb..cd5d97c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems2.g.cs @@ -64,12 +64,12 @@ public sealed partial class BaseMessagesResultContentItemsOneOf0CitationsItems2 /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -83,12 +83,12 @@ public BaseMessagesResultContentItemsOneOf0CitationsItems2( string? documentTitle, string? fileId) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.DocumentTitle = documentTitle; this.FileId = fileId; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems3.g.cs index c8954b3..7e1ebc9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems3.g.cs @@ -51,11 +51,11 @@ public sealed partial class BaseMessagesResultContentItemsOneOf0CitationsItems3 /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,11 +66,11 @@ public BaseMessagesResultContentItemsOneOf0CitationsItems3( global::OpenRouter.BaseMessagesResultContentItemsOneOf0CitationsItemsOneOf3Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.EncryptedIndex = encryptedIndex ?? throw new global::System.ArgumentNullException(nameof(encryptedIndex)); - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); - this.Type = type; this.Title = title; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems4.g.cs index 87a251d..6c75e9c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems4.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf0CitationsItems4.g.cs @@ -65,13 +65,13 @@ public sealed partial class BaseMessagesResultContentItemsOneOf0CitationsItems4 /// /// Initializes a new instance of the class. /// - /// /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -84,13 +84,13 @@ public BaseMessagesResultContentItemsOneOf0CitationsItems4( global::OpenRouter.BaseMessagesResultContentItemsOneOf0CitationsItemsOneOf4Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.SearchResultIndex = searchResultIndex; this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); + this.Title = title; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.Title = title; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf1Caller1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf1Caller1.g.cs index b7ec84d..6a6d3b5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf1Caller1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf1Caller1.g.cs @@ -31,8 +31,8 @@ public sealed partial class BaseMessagesResultContentItemsOneOf1Caller1 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public BaseMessagesResultContentItemsOneOf1Caller1( string toolId, global::OpenRouter.BaseMessagesResultContentItemsOneOf1CallerOneOf1Type type) { - this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); this.Type = type; + this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf1Caller2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf1Caller2.g.cs index 67322ac..bf31a9a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf1Caller2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf1Caller2.g.cs @@ -31,8 +31,8 @@ public sealed partial class BaseMessagesResultContentItemsOneOf1Caller2 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public BaseMessagesResultContentItemsOneOf1Caller2( string toolId, global::OpenRouter.BaseMessagesResultContentItemsOneOf1CallerOneOf2Type type) { - this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); this.Type = type; + this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf4Caller1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf4Caller1.g.cs index 4c35f88..39e44d1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf4Caller1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf4Caller1.g.cs @@ -31,8 +31,8 @@ public sealed partial class BaseMessagesResultContentItemsOneOf4Caller1 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public BaseMessagesResultContentItemsOneOf4Caller1( string toolId, global::OpenRouter.BaseMessagesResultContentItemsOneOf4CallerOneOf1Type type) { - this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); this.Type = type; + this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf4Caller2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf4Caller2.g.cs index d63fb45..8af9954 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf4Caller2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf4Caller2.g.cs @@ -31,8 +31,8 @@ public sealed partial class BaseMessagesResultContentItemsOneOf4Caller2 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public BaseMessagesResultContentItemsOneOf4Caller2( string toolId, global::OpenRouter.BaseMessagesResultContentItemsOneOf4CallerOneOf2Type type) { - this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); this.Type = type; + this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5Caller1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5Caller1.g.cs index a46da5b..8a85b05 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5Caller1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5Caller1.g.cs @@ -31,8 +31,8 @@ public sealed partial class BaseMessagesResultContentItemsOneOf5Caller1 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public BaseMessagesResultContentItemsOneOf5Caller1( string toolId, global::OpenRouter.BaseMessagesResultContentItemsOneOf5CallerOneOf1Type type) { - this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); this.Type = type; + this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5Caller2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5Caller2.g.cs index 6df2c1f..4d8e462 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5Caller2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5Caller2.g.cs @@ -31,8 +31,8 @@ public sealed partial class BaseMessagesResultContentItemsOneOf5Caller2 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public BaseMessagesResultContentItemsOneOf5Caller2( string toolId, global::OpenRouter.BaseMessagesResultContentItemsOneOf5CallerOneOf2Type type) { - this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); this.Type = type; + this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5Content1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5Content1.g.cs index 88fc74a..ff89f59 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5Content1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5Content1.g.cs @@ -32,8 +32,8 @@ public sealed partial class BaseMessagesResultContentItemsOneOf5Content1 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -41,8 +41,8 @@ public BaseMessagesResultContentItemsOneOf5Content1( global::OpenRouter.BaseMessagesResultContentItemsOneOf5ContentOneOf1ErrorCode errorCode, global::OpenRouter.BaseMessagesResultContentItemsOneOf5ContentOneOf1Type type) { - this.ErrorCode = errorCode; this.Type = type; + this.ErrorCode = errorCode; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5ContentOneOf0Items.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5ContentOneOf0Items.g.cs index d3d9274..9240809 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5ContentOneOf0Items.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf5ContentOneOf0Items.g.cs @@ -51,11 +51,11 @@ public sealed partial class BaseMessagesResultContentItemsOneOf5ContentOneOf0Ite /// /// Initializes a new instance of the class. /// - /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,11 +66,11 @@ public BaseMessagesResultContentItemsOneOf5ContentOneOf0Items( global::OpenRouter.BaseMessagesResultContentItemsOneOf5ContentOneOf0ItemsType type, string? pageAge) { + this.Type = type; this.EncryptedContent = encryptedContent ?? throw new global::System.ArgumentNullException(nameof(encryptedContent)); + this.PageAge = pageAge; this.Title = title ?? throw new global::System.ArgumentNullException(nameof(title)); this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); - this.Type = type; - this.PageAge = pageAge; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Caller1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Caller1.g.cs index f78ebf4..bb383e1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Caller1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Caller1.g.cs @@ -31,8 +31,8 @@ public sealed partial class BaseMessagesResultContentItemsOneOf6Caller1 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public BaseMessagesResultContentItemsOneOf6Caller1( string toolId, global::OpenRouter.BaseMessagesResultContentItemsOneOf6CallerOneOf1Type type) { - this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); this.Type = type; + this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Caller2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Caller2.g.cs index 06238f2..be03263 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Caller2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Caller2.g.cs @@ -31,8 +31,8 @@ public sealed partial class BaseMessagesResultContentItemsOneOf6Caller2 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public BaseMessagesResultContentItemsOneOf6Caller2( string toolId, global::OpenRouter.BaseMessagesResultContentItemsOneOf6CallerOneOf2Type type) { - this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); this.Type = type; + this.ToolId = toolId ?? throw new global::System.ArgumentNullException(nameof(toolId)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Content0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Content0.g.cs index 6b22c10..e623141 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Content0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Content0.g.cs @@ -32,8 +32,8 @@ public sealed partial class BaseMessagesResultContentItemsOneOf6Content0 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -41,8 +41,8 @@ public BaseMessagesResultContentItemsOneOf6Content0( global::OpenRouter.BaseMessagesResultContentItemsOneOf6ContentOneOf0ErrorCode errorCode, global::OpenRouter.BaseMessagesResultContentItemsOneOf6ContentOneOf0Type type) { - this.ErrorCode = errorCode; this.Type = type; + this.ErrorCode = errorCode; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Content1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Content1.g.cs index cf57d6b..7dc53b0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Content1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultContentItemsOneOf6Content1.g.cs @@ -45,9 +45,9 @@ public sealed partial class BaseMessagesResultContentItemsOneOf6Content1 /// Initializes a new instance of the class. /// /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,9 +58,9 @@ public BaseMessagesResultContentItemsOneOf6Content1( global::OpenRouter.BaseMessagesResultContentItemsOneOf6ContentOneOf1Type type) { this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.RetrievedAt = retrievedAt; this.Type = type; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultUsage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultUsage.g.cs index 0a05fc2..273ea1d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultUsage.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseMessagesResultUsage.g.cs @@ -82,12 +82,12 @@ public sealed partial class BaseMessagesResultUsage /// /// /// - /// - /// /// - /// /// /// + /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -105,12 +105,12 @@ public BaseMessagesResultUsage( { this.InputTokens = inputTokens; this.OutputTokens = outputTokens; - this.CacheCreation = cacheCreation; - this.ServerToolUse = serverToolUse; - this.ServiceTier = serviceTier; this.CacheCreationInputTokens = cacheCreationInputTokens; this.CacheReadInputTokens = cacheReadInputTokens; + this.CacheCreation = cacheCreation; this.InferenceGeo = inferenceGeo; + this.ServerToolUse = serverToolUse; + this.ServiceTier = serviceTier; this.Speed = speed; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolsItems0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolsItems0.g.cs index 98dfda0..223b822 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolsItems0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BaseResponsesResultToolsItems0.g.cs @@ -49,8 +49,8 @@ public sealed partial class BaseResponsesResultToolsItems0 /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// /// @@ -64,8 +64,8 @@ public BaseResponsesResultToolsItems0( bool? strict, object? parameters) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Type = type; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description; this.Strict = strict; this.Parameters = parameters; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentAudio.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentAudio.g.cs index e955424..0ada947 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentAudio.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentAudio.g.cs @@ -31,8 +31,8 @@ public sealed partial class ChatContentAudio /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ChatContentAudio( global::OpenRouter.ChatContentAudioInputAudio inputAudio, global::OpenRouter.ChatContentAudioType type) { - this.InputAudio = inputAudio ?? throw new global::System.ArgumentNullException(nameof(inputAudio)); this.Type = type; + this.InputAudio = inputAudio ?? throw new global::System.ArgumentNullException(nameof(inputAudio)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentFile.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentFile.g.cs index eafe8f0..26a01c1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentFile.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentFile.g.cs @@ -31,8 +31,8 @@ public sealed partial class ChatContentFile /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ChatContentFile( global::OpenRouter.ChatContentFileFile file, global::OpenRouter.ChatContentFileType type) { - this.File = file ?? throw new global::System.ArgumentNullException(nameof(file)); this.Type = type; + this.File = file ?? throw new global::System.ArgumentNullException(nameof(file)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentImage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentImage.g.cs index 5f362fc..e2216e8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentImage.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentImage.g.cs @@ -31,8 +31,8 @@ public sealed partial class ChatContentImage /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ChatContentImage( global::OpenRouter.ChatContentImageImageUrl imageUrl, global::OpenRouter.ChatContentImageType type) { - this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl)); this.Type = type; + this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentText.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentText.g.cs index 7018835..14a50b8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentText.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentText.g.cs @@ -37,8 +37,8 @@ public sealed partial class ChatContentText /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// Cache control for the content part /// @@ -50,8 +50,8 @@ public ChatContentText( global::OpenRouter.ChatContentTextType type, global::OpenRouter.ChatContentCacheControl? cacheControl) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentVideo.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentVideo.g.cs index e622fa1..596c5bc 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentVideo.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatContentVideo.g.cs @@ -31,10 +31,10 @@ public sealed partial class ChatContentVideo /// /// Initializes a new instance of the class. /// - /// /// /// Video input object /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public ChatContentVideo( global::OpenRouter.ChatContentVideoInput videoUrl, global::OpenRouter.ChatContentVideoType type) { - this.VideoUrl = videoUrl ?? throw new global::System.ArgumentNullException(nameof(videoUrl)); this.Type = type; + this.VideoUrl = videoUrl ?? throw new global::System.ArgumentNullException(nameof(videoUrl)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatDeveloperMessage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatDeveloperMessage.g.cs index 532e2f2..820c3e9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatDeveloperMessage.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatDeveloperMessage.g.cs @@ -38,10 +38,10 @@ public sealed partial class ChatDeveloperMessage /// /// Initializes a new instance of the class. /// - /// /// /// Developer message content /// + /// /// /// Optional name for the developer message /// @@ -53,8 +53,8 @@ public ChatDeveloperMessage( global::OpenRouter.ChatDeveloperMessageRole role, string? name) { - this.Content = content; this.Role = role; + this.Content = content; this.Name = name; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFormatGrammarConfig.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFormatGrammarConfig.g.cs index b7a47a6..6157b7a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFormatGrammarConfig.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFormatGrammarConfig.g.cs @@ -31,10 +31,10 @@ public sealed partial class ChatFormatGrammarConfig /// /// Initializes a new instance of the class. /// - /// /// /// Custom grammar for text generation /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public ChatFormatGrammarConfig( string grammar, global::OpenRouter.ChatFormatGrammarConfigType type) { - this.Grammar = grammar ?? throw new global::System.ArgumentNullException(nameof(grammar)); this.Type = type; + this.Grammar = grammar ?? throw new global::System.ArgumentNullException(nameof(grammar)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFormatJsonSchemaConfig.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFormatJsonSchemaConfig.g.cs index 51f8ea7..050da99 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFormatJsonSchemaConfig.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFormatJsonSchemaConfig.g.cs @@ -31,10 +31,10 @@ public sealed partial class ChatFormatJsonSchemaConfig /// /// Initializes a new instance of the class. /// - /// /// /// JSON Schema configuration object /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public ChatFormatJsonSchemaConfig( global::OpenRouter.ChatJsonSchemaConfig jsonSchema, global::OpenRouter.ChatFormatJsonSchemaConfigType type) { - this.JsonSchema = jsonSchema ?? throw new global::System.ArgumentNullException(nameof(jsonSchema)); this.Type = type; + this.JsonSchema = jsonSchema ?? throw new global::System.ArgumentNullException(nameof(jsonSchema)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionTool0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionTool0.g.cs index c4af926..aa00153 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionTool0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatFunctionTool0.g.cs @@ -37,10 +37,10 @@ public sealed partial class ChatFunctionTool0 /// /// Initializes a new instance of the class. /// - /// /// /// Function definition for tool calling /// + /// /// /// Cache control for the content part /// @@ -52,8 +52,8 @@ public ChatFunctionTool0( global::OpenRouter.ChatFunctionToolOneOf0Type type, global::OpenRouter.ChatContentCacheControl? cacheControl) { - this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.Type = type; + this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatNamedToolChoice.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatNamedToolChoice.g.cs index c140549..5295551 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatNamedToolChoice.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatNamedToolChoice.g.cs @@ -31,8 +31,8 @@ public sealed partial class ChatNamedToolChoice /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ChatNamedToolChoice( global::OpenRouter.ChatNamedToolChoiceFunction function, global::OpenRouter.ChatNamedToolChoiceType type) { - this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.Type = type; + this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequest.g.cs index 3045193..4df1dd5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatRequest.g.cs @@ -218,6 +218,9 @@ public sealed partial class ChatRequest /// /// Initializes a new instance of the class. /// + /// + /// List of messages for the conversation + /// /// /// When multiple model providers are available, optionally indicate your routing preference. /// @@ -233,9 +236,6 @@ public sealed partial class ChatRequest /// /// Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations. /// - /// - /// List of messages for the conversation - /// /// /// Model to use for completion /// @@ -352,12 +352,12 @@ public ChatRequest( global::OpenRouter.ChatRequestCacheControl? cacheControl, global::OpenRouter.OneOf? serviceTier) { - this.Messages = messages ?? throw new global::System.ArgumentNullException(nameof(messages)); this.Provider = provider; this.Plugins = plugins; this.User = user; this.SessionId = sessionId; this.Trace = trace; + this.Messages = messages ?? throw new global::System.ArgumentNullException(nameof(messages)); this.Model = model; this.Models = models; this.FrequencyPenalty = frequencyPenalty; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessage.g.cs index a37923c..7b32580 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessage.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessage.g.cs @@ -38,10 +38,10 @@ public sealed partial class ChatSystemMessage /// /// Initializes a new instance of the class. /// - /// /// /// System message content /// + /// /// /// Optional name for the system message /// @@ -53,8 +53,8 @@ public ChatSystemMessage( global::OpenRouter.ChatSystemMessageRole role, string? name) { - this.Content = content; this.Role = role; + this.Content = content; this.Name = name; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatTokenLogprob.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatTokenLogprob.g.cs index 0280d2c..c980f81 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatTokenLogprob.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatTokenLogprob.g.cs @@ -50,12 +50,12 @@ public sealed partial class ChatTokenLogprob /// /// Log probability of the token /// - /// - /// UTF-8 bytes of the token - /// /// /// Top alternative tokens with probabilities /// + /// + /// UTF-8 bytes of the token + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,8 +67,8 @@ public ChatTokenLogprob( { this.Token = token ?? throw new global::System.ArgumentNullException(nameof(token)); this.Logprob = logprob; - this.TopLogprobs = topLogprobs ?? throw new global::System.ArgumentNullException(nameof(topLogprobs)); this.Bytes = bytes; + this.TopLogprobs = topLogprobs ?? throw new global::System.ArgumentNullException(nameof(topLogprobs)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatToolCall.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatToolCall.g.cs index 640d319..dbcfeb2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatToolCall.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatToolCall.g.cs @@ -41,8 +41,8 @@ public sealed partial class ChatToolCall /// /// Tool call identifier /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -52,8 +52,8 @@ public ChatToolCall( global::OpenRouter.ChatToolCallType type) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.Type = type; + this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatToolMessage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatToolMessage.g.cs index 6d6adc7..2f11f8a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatToolMessage.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatToolMessage.g.cs @@ -39,13 +39,13 @@ public sealed partial class ChatToolMessage /// /// Initializes a new instance of the class. /// - /// /// /// Tool response content /// /// /// ID of the assistant message tool call this message responds to /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -54,9 +54,9 @@ public ChatToolMessage( string toolCallId, global::OpenRouter.ChatToolMessageRole role) { + this.Role = role; this.Content = content; this.ToolCallId = toolCallId ?? throw new global::System.ArgumentNullException(nameof(toolCallId)); - this.Role = role; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatUserMessage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatUserMessage.g.cs index 575b05c..01154f2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatUserMessage.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatUserMessage.g.cs @@ -38,10 +38,10 @@ public sealed partial class ChatUserMessage /// /// Initializes a new instance of the class. /// - /// /// /// User message content /// + /// /// /// Optional name for the user /// @@ -53,8 +53,8 @@ public ChatUserMessage( global::OpenRouter.ChatUserMessageRole role, string? name) { - this.Content = content; this.Role = role; + this.Content = content; this.Name = name; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CodeInterpreterServerTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CodeInterpreterServerTool.g.cs index 14a62f9..021c29f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CodeInterpreterServerTool.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CodeInterpreterServerTool.g.cs @@ -32,8 +32,8 @@ public sealed partial class CodeInterpreterServerTool /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -41,8 +41,8 @@ public CodeInterpreterServerTool( global::OpenRouter.CodeInterpreterServerToolContainer container, global::OpenRouter.CodeInterpreterServerToolType type) { - this.Container = container; this.Type = type; + this.Container = container; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ComputerUseServerTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ComputerUseServerTool.g.cs index 03995e4..84ec4d5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ComputerUseServerTool.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ComputerUseServerTool.g.cs @@ -46,10 +46,10 @@ public sealed partial class ComputerUseServerTool /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,10 +59,10 @@ public ComputerUseServerTool( global::OpenRouter.ComputerUseServerToolEnvironment environment, global::OpenRouter.ComputerUseServerToolType type) { + this.Type = type; this.DisplayHeight = displayHeight; this.DisplayWidth = displayWidth; this.Environment = environment; - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestBadRequestError.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestBadRequestError.g.cs index b0566bc..46b76ae 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestBadRequestError.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestBadRequestError.g.cs @@ -31,8 +31,8 @@ public sealed partial class CreateMessagesRequestBadRequestError /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public CreateMessagesRequestBadRequestError( global::OpenRouter.MessagesPostResponsesContentApplicationJsonSchemaError error, global::OpenRouter.MessagesPostResponsesContentApplicationJsonSchemaType type) { - this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); this.Type = type; + this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestForbiddenError.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestForbiddenError.g.cs index 7e92d6d..c6aee12 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestForbiddenError.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestForbiddenError.g.cs @@ -31,8 +31,8 @@ public sealed partial class CreateMessagesRequestForbiddenError /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public CreateMessagesRequestForbiddenError( global::OpenRouter.MessagesPostResponsesContentApplicationJsonSchemaError error, global::OpenRouter.MessagesPostResponsesContentApplicationJsonSchemaType type) { - this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); this.Type = type; + this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestInternalServerError.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestInternalServerError.g.cs index 10de070..d5938a7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestInternalServerError.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestInternalServerError.g.cs @@ -31,8 +31,8 @@ public sealed partial class CreateMessagesRequestInternalServerError /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public CreateMessagesRequestInternalServerError( global::OpenRouter.MessagesPostResponsesContentApplicationJsonSchemaError error, global::OpenRouter.MessagesPostResponsesContentApplicationJsonSchemaType type) { - this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); this.Type = type; + this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestNotFoundError.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestNotFoundError.g.cs index 0ec8d79..403f2e7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestNotFoundError.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestNotFoundError.g.cs @@ -31,8 +31,8 @@ public sealed partial class CreateMessagesRequestNotFoundError /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public CreateMessagesRequestNotFoundError( global::OpenRouter.MessagesPostResponsesContentApplicationJsonSchemaError error, global::OpenRouter.MessagesPostResponsesContentApplicationJsonSchemaType type) { - this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); this.Type = type; + this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestServiceUnavailableError.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestServiceUnavailableError.g.cs index 9e2cb55..ec3430c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestServiceUnavailableError.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestServiceUnavailableError.g.cs @@ -31,8 +31,8 @@ public sealed partial class CreateMessagesRequestServiceUnavailableError /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public CreateMessagesRequestServiceUnavailableError( global::OpenRouter.MessagesPostResponsesContentApplicationJsonSchemaError error, global::OpenRouter.MessagesPostResponsesContentApplicationJsonSchemaType type) { - this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); this.Type = type; + this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestTooManyRequestsError.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestTooManyRequestsError.g.cs index b44c887..04fcf35 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestTooManyRequestsError.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestTooManyRequestsError.g.cs @@ -31,8 +31,8 @@ public sealed partial class CreateMessagesRequestTooManyRequestsError /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public CreateMessagesRequestTooManyRequestsError( global::OpenRouter.MessagesPostResponsesContentApplicationJsonSchemaError error, global::OpenRouter.MessagesPostResponsesContentApplicationJsonSchemaType type) { - this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); this.Type = type; + this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestUnauthorizedError.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestUnauthorizedError.g.cs index c7ae1d9..0e0ebbf 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestUnauthorizedError.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateMessagesRequestUnauthorizedError.g.cs @@ -31,8 +31,8 @@ public sealed partial class CreateMessagesRequestUnauthorizedError /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public CreateMessagesRequestUnauthorizedError( global::OpenRouter.MessagesPostResponsesContentApplicationJsonSchemaError error, global::OpenRouter.MessagesPostResponsesContentApplicationJsonSchemaType type) { - this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); this.Type = type; + this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CustomTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CustomTool.g.cs index 5d1ae8a..4986a65 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CustomTool.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CustomTool.g.cs @@ -44,8 +44,8 @@ public sealed partial class CustomTool /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -57,8 +57,8 @@ public CustomTool( string? description, global::OpenRouter.CustomToolFormat? format) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Type = type; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description; this.Format = format; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CustomToolFormat1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CustomToolFormat1.g.cs index 0cc7faa..8ec7b69 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CustomToolFormat1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CustomToolFormat1.g.cs @@ -39,9 +39,9 @@ public sealed partial class CustomToolFormat1 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,9 +50,9 @@ public CustomToolFormat1( global::OpenRouter.CustomToolFormatOneOf1Syntax syntax, global::OpenRouter.CustomToolFormatOneOf1Type type) { + this.Type = type; this.Definition = definition ?? throw new global::System.ArgumentNullException(nameof(definition)); this.Syntax = syntax; - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EasyInputMessage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EasyInputMessage.g.cs index b5604bb..746bb89 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.EasyInputMessage.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EasyInputMessage.g.cs @@ -46,8 +46,8 @@ public sealed partial class EasyInputMessage /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// /// The phase of an assistant message. Use `commentary` for an intermediate assistant message and `final_answer` for the final assistant message. For follow-up requests with models like `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages. Omitting it can degrade performance. Not used for user messages. @@ -61,8 +61,8 @@ public EasyInputMessage( global::OpenRouter.EasyInputMessageContent? content, global::OpenRouter.EasyInputMessagePhase? phase) { - this.Role = role; this.Type = type; + this.Role = role; this.Content = content; this.Phase = phase; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EasyInputMessageContentOneOf0Items1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EasyInputMessageContentOneOf0Items1.g.cs index 513ec06..0389fd5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.EasyInputMessageContentOneOf0Items1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EasyInputMessageContentOneOf0Items1.g.cs @@ -38,8 +38,8 @@ public sealed partial class EasyInputMessageContentOneOf0Items1 /// /// Initializes a new instance of the class. /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -49,8 +49,8 @@ public EasyInputMessageContentOneOf0Items1( global::OpenRouter.InputImageType type, string? imageUrl) { - this.Detail = detail; this.Type = type; + this.Detail = detail; this.ImageUrl = imageUrl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsCreateEmbeddingsResponse200.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsCreateEmbeddingsResponse200.g.cs index 847c368..9e4c836 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsCreateEmbeddingsResponse200.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsCreateEmbeddingsResponse200.g.cs @@ -50,10 +50,10 @@ public sealed partial class EmbeddingsCreateEmbeddingsResponse200 /// /// Initializes a new instance of the class. /// - /// - /// /// /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -65,10 +65,10 @@ public EmbeddingsCreateEmbeddingsResponse200( global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaObject @object, global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaUsage? usage) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); this.Id = id; this.Object = @object; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); this.Usage = usage; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems0.g.cs index fda8d26..27b79e2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems0.g.cs @@ -31,8 +31,8 @@ public sealed partial class EmbeddingsPostRequestBodyContentApplicationJsonSchem /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsCont string text, global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf0Type type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems1.g.cs index 866fbd0..d704041 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItems1.g.cs @@ -31,8 +31,8 @@ public sealed partial class EmbeddingsPostRequestBodyContentApplicationJsonSchem /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsCont global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1ImageUrl imageUrl, global::OpenRouter.EmbeddingsPostRequestBodyContentApplicationJsonSchemaInputOneOf4ItemsContentItemsOneOf1Type type) { - this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl)); this.Type = type; + this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems.g.cs index 0981b65..4561f29 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems.g.cs @@ -38,8 +38,8 @@ public sealed partial class EmbeddingsPostResponsesContentApplicationJsonSchemaD /// /// Initializes a new instance of the class. /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -49,8 +49,8 @@ public EmbeddingsPostResponsesContentApplicationJsonSchemaDataItems( global::OpenRouter.EmbeddingsPostResponsesContentApplicationJsonSchemaDataItemsObject @object, double? index) { - this.Embedding = embedding; this.Object = @object; + this.Embedding = embedding; this.Index = index; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.FileCitation.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.FileCitation.g.cs index 5e84737..2b624a2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.FileCitation.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.FileCitation.g.cs @@ -45,10 +45,10 @@ public sealed partial class FileCitation /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,10 +58,10 @@ public FileCitation( double index, global::OpenRouter.FileCitationType type) { + this.Type = type; this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename)); this.Index = index; - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.FilePath.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.FilePath.g.cs index 8e74ea3..aa68b34 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.FilePath.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.FilePath.g.cs @@ -38,9 +38,9 @@ public sealed partial class FilePath /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public FilePath( double index, global::OpenRouter.FilePathType type) { + this.Type = type; this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); this.Index = index; - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.FileSearchServerTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.FileSearchServerTool.g.cs index a4fda54..a98ca3c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.FileSearchServerTool.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.FileSearchServerTool.g.cs @@ -50,8 +50,8 @@ public sealed partial class FileSearchServerTool /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// /// @@ -65,8 +65,8 @@ public FileSearchServerTool( int? maxNumResults, global::OpenRouter.FileSearchServerToolRankingOptions? rankingOptions) { - this.VectorStoreIds = vectorStoreIds ?? throw new global::System.ArgumentNullException(nameof(vectorStoreIds)); this.Type = type; + this.VectorStoreIds = vectorStoreIds ?? throw new global::System.ArgumentNullException(nameof(vectorStoreIds)); this.Filters = filters; this.MaxNumResults = maxNumResults; this.RankingOptions = rankingOptions; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.FormatJsonSchemaConfig.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.FormatJsonSchemaConfig.g.cs index 484873d..3b4e64d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.FormatJsonSchemaConfig.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.FormatJsonSchemaConfig.g.cs @@ -50,11 +50,11 @@ public sealed partial class FormatJsonSchemaConfig /// /// Initializes a new instance of the class. /// - /// /// + /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -65,11 +65,11 @@ public FormatJsonSchemaConfig( string? description, bool? strict) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); this.Type = type; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description; this.Strict = strict; + this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.FunctionCallItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.FunctionCallItem.g.cs index f3bb456..31be699 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.FunctionCallItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.FunctionCallItem.g.cs @@ -59,11 +59,11 @@ public sealed partial class FunctionCallItem /// /// Initializes a new instance of the class. /// - /// /// /// /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -76,11 +76,11 @@ public FunctionCallItem( global::OpenRouter.FunctionCallItemType type, global::OpenRouter.ToolCallStatusEnum? status) { + this.Type = type; this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Type = type; this.Status = status; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.FunctionCallOutputItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.FunctionCallOutputItem.g.cs index 45f813e..17ca9d8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.FunctionCallOutputItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.FunctionCallOutputItem.g.cs @@ -52,10 +52,10 @@ public sealed partial class FunctionCallOutputItem /// /// Initializes a new instance of the class. /// - /// - /// /// /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -67,10 +67,10 @@ public FunctionCallOutputItem( string? id, global::OpenRouter.ToolCallStatusEnum? status) { - this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Output = output; this.Type = type; this.Id = id; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); + this.Output = output; this.Status = status; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.FunctionCallOutputItemOutputOneOf1Items1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.FunctionCallOutputItemOutputOneOf1Items1.g.cs index c1a9edd..f72a036 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.FunctionCallOutputItemOutputOneOf1Items1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.FunctionCallOutputItemOutputOneOf1Items1.g.cs @@ -38,8 +38,8 @@ public sealed partial class FunctionCallOutputItemOutputOneOf1Items1 /// /// Initializes a new instance of the class. /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -49,8 +49,8 @@ public FunctionCallOutputItemOutputOneOf1Items1( global::OpenRouter.InputImageType type, string? imageUrl) { - this.Detail = detail; this.Type = type; + this.Detail = detail; this.ImageUrl = imageUrl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.GenerationGetResponsesContentApplicationJsonSchemaData.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.GenerationGetResponsesContentApplicationJsonSchemaData.g.cs index db1b037..54405d9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.GenerationGetResponsesContentApplicationJsonSchemaData.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.GenerationGetResponsesContentApplicationJsonSchemaData.g.cs @@ -245,24 +245,36 @@ public sealed partial class GenerationGetResponsesContentApplicationJsonSchemaDa /// /// Unique identifier for the generation /// - /// - /// Upstream provider's identifier for this generation - /// /// /// Total cost of the generation in USD /// - /// - /// Discount applied due to caching - /// - /// - /// Cost charged by the upstream provider - /// /// /// ISO 8601 timestamp of when the generation was created /// /// /// Model used for the generation /// + /// + /// Origin URL of the request + /// + /// + /// Usage amount in USD + /// + /// + /// Whether this used bring-your-own-key + /// + /// + /// Type of API used for the generation + /// + /// + /// Upstream provider's identifier for this generation + /// + /// + /// Discount applied due to caching + /// + /// + /// Cost charged by the upstream provider + /// /// /// ID of the app that made the request /// @@ -320,24 +332,12 @@ public sealed partial class GenerationGetResponsesContentApplicationJsonSchemaDa /// /// Number of search results included /// - /// - /// Origin URL of the request - /// - /// - /// Usage amount in USD - /// - /// - /// Whether this used bring-your-own-key - /// /// /// Native finish reason as reported by provider /// /// /// External user identifier /// - /// - /// Type of API used for the generation - /// /// /// Router used for the request (e.g., openrouter/auto) /// @@ -392,16 +392,12 @@ public GenerationGetResponsesContentApplicationJsonSchemaData( string? httpReferer) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.TotalCost = totalCost; - this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); - this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); - this.Origin = origin ?? throw new global::System.ArgumentNullException(nameof(origin)); - this.Usage = usage; - this.IsByok = isByok; - this.ApiType = apiType; this.UpstreamId = upstreamId; + this.TotalCost = totalCost; this.CacheDiscount = cacheDiscount; this.UpstreamInferenceCost = upstreamInferenceCost; + this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); + this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); this.AppId = appId; this.Streamed = streamed; this.Cancelled = cancelled; @@ -421,8 +417,12 @@ public GenerationGetResponsesContentApplicationJsonSchemaData( this.NumInputAudioPrompt = numInputAudioPrompt; this.NumMediaCompletion = numMediaCompletion; this.NumSearchResults = numSearchResults; + this.Origin = origin ?? throw new global::System.ArgumentNullException(nameof(origin)); + this.Usage = usage; + this.IsByok = isByok; this.NativeFinishReason = nativeFinishReason; this.ExternalUser = externalUser; + this.ApiType = apiType; this.Router = router; this.ProviderResponses = providerResponses; this.UserAgent = userAgent; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsAssignmentsKeysGetResponsesContentApplicationJsonSchemaDataItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsAssignmentsKeysGetResponsesContentApplicationJsonSchemaDataItems.g.cs index 6e7613d..14e1e28 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsAssignmentsKeysGetResponsesContentApplicationJsonSchemaDataItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsAssignmentsKeysGetResponsesContentApplicationJsonSchemaDataItems.g.cs @@ -80,12 +80,12 @@ public sealed partial class GuardrailsAssignmentsKeysGetResponsesContentApplicat /// /// Label of the API key /// - /// - /// User ID of who made the assignment - /// /// /// ISO 8601 timestamp of when the assignment was created /// + /// + /// User ID of who made the assignment + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -103,8 +103,8 @@ public GuardrailsAssignmentsKeysGetResponsesContentApplicationJsonSchemaDataItem this.GuardrailId = guardrailId; this.KeyName = keyName ?? throw new global::System.ArgumentNullException(nameof(keyName)); this.KeyLabel = keyLabel ?? throw new global::System.ArgumentNullException(nameof(keyLabel)); - this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.AssignedBy = assignedBy; + this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsAssignmentsMembersGetResponsesContentApplicationJsonSchemaDataItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsAssignmentsMembersGetResponsesContentApplicationJsonSchemaDataItems.g.cs index 7296b86..c945e32 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsAssignmentsMembersGetResponsesContentApplicationJsonSchemaDataItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsAssignmentsMembersGetResponsesContentApplicationJsonSchemaDataItems.g.cs @@ -70,12 +70,12 @@ public sealed partial class GuardrailsAssignmentsMembersGetResponsesContentAppli /// /// ID of the guardrail /// - /// - /// User ID of who made the assignment - /// /// /// ISO 8601 timestamp of when the assignment was created /// + /// + /// User ID of who made the assignment + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -91,8 +91,8 @@ public GuardrailsAssignmentsMembersGetResponsesContentApplicationJsonSchemaDataI this.UserId = userId ?? throw new global::System.ArgumentNullException(nameof(userId)); this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); this.GuardrailId = guardrailId; - this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.AssignedBy = assignedBy; + this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsGetResponsesContentApplicationJsonSchemaDataItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsGetResponsesContentApplicationJsonSchemaDataItems.g.cs index 91f07bc..4c358fb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsGetResponsesContentApplicationJsonSchemaDataItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsGetResponsesContentApplicationJsonSchemaDataItems.g.cs @@ -93,6 +93,9 @@ public sealed partial class GuardrailsGetResponsesContentApplicationJsonSchemaDa /// /// Name of the guardrail /// + /// + /// ISO 8601 timestamp of when the guardrail was created + /// /// /// Description of the guardrail /// @@ -114,9 +117,6 @@ public sealed partial class GuardrailsGetResponsesContentApplicationJsonSchemaDa /// /// Whether to enforce zero data retention /// - /// - /// ISO 8601 timestamp of when the guardrail was created - /// /// /// ISO 8601 timestamp of when the guardrail was last updated /// @@ -138,7 +138,6 @@ public GuardrailsGetResponsesContentApplicationJsonSchemaDataItems( { this.Id = id; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.Description = description; this.LimitUsd = limitUsd; this.ResetInterval = resetInterval; @@ -146,6 +145,7 @@ public GuardrailsGetResponsesContentApplicationJsonSchemaDataItems( this.IgnoredProviders = ignoredProviders; this.AllowedModels = allowedModels; this.EnforceZdr = enforceZdr; + this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.UpdatedAt = updatedAt; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdAssignmentsKeysGetResponsesContentApplicationJsonSchemaDataItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdAssignmentsKeysGetResponsesContentApplicationJsonSchemaDataItems.g.cs index ae98169..2f19ffd 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdAssignmentsKeysGetResponsesContentApplicationJsonSchemaDataItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdAssignmentsKeysGetResponsesContentApplicationJsonSchemaDataItems.g.cs @@ -80,12 +80,12 @@ public sealed partial class GuardrailsIdAssignmentsKeysGetResponsesContentApplic /// /// Label of the API key /// - /// - /// User ID of who made the assignment - /// /// /// ISO 8601 timestamp of when the assignment was created /// + /// + /// User ID of who made the assignment + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -103,8 +103,8 @@ public GuardrailsIdAssignmentsKeysGetResponsesContentApplicationJsonSchemaDataIt this.GuardrailId = guardrailId; this.KeyName = keyName ?? throw new global::System.ArgumentNullException(nameof(keyName)); this.KeyLabel = keyLabel ?? throw new global::System.ArgumentNullException(nameof(keyLabel)); - this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.AssignedBy = assignedBy; + this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdAssignmentsMembersGetResponsesContentApplicationJsonSchemaDataItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdAssignmentsMembersGetResponsesContentApplicationJsonSchemaDataItems.g.cs index 9e753ed..76046cc 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdAssignmentsMembersGetResponsesContentApplicationJsonSchemaDataItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdAssignmentsMembersGetResponsesContentApplicationJsonSchemaDataItems.g.cs @@ -70,12 +70,12 @@ public sealed partial class GuardrailsIdAssignmentsMembersGetResponsesContentApp /// /// ID of the guardrail /// - /// - /// User ID of who made the assignment - /// /// /// ISO 8601 timestamp of when the assignment was created /// + /// + /// User ID of who made the assignment + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -91,8 +91,8 @@ public GuardrailsIdAssignmentsMembersGetResponsesContentApplicationJsonSchemaDat this.UserId = userId ?? throw new global::System.ArgumentNullException(nameof(userId)); this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); this.GuardrailId = guardrailId; - this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.AssignedBy = assignedBy; + this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdGetResponsesContentApplicationJsonSchemaData.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdGetResponsesContentApplicationJsonSchemaData.g.cs index ef62c4c..76c7968 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdGetResponsesContentApplicationJsonSchemaData.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdGetResponsesContentApplicationJsonSchemaData.g.cs @@ -93,6 +93,9 @@ public sealed partial class GuardrailsIdGetResponsesContentApplicationJsonSchema /// /// Name of the guardrail /// + /// + /// ISO 8601 timestamp of when the guardrail was created + /// /// /// Description of the guardrail /// @@ -114,9 +117,6 @@ public sealed partial class GuardrailsIdGetResponsesContentApplicationJsonSchema /// /// Whether to enforce zero data retention /// - /// - /// ISO 8601 timestamp of when the guardrail was created - /// /// /// ISO 8601 timestamp of when the guardrail was last updated /// @@ -138,7 +138,6 @@ public GuardrailsIdGetResponsesContentApplicationJsonSchemaData( { this.Id = id; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.Description = description; this.LimitUsd = limitUsd; this.ResetInterval = resetInterval; @@ -146,6 +145,7 @@ public GuardrailsIdGetResponsesContentApplicationJsonSchemaData( this.IgnoredProviders = ignoredProviders; this.AllowedModels = allowedModels; this.EnforceZdr = enforceZdr; + this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.UpdatedAt = updatedAt; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdPatchResponsesContentApplicationJsonSchemaData.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdPatchResponsesContentApplicationJsonSchemaData.g.cs index dc59d6d..fa465ce 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdPatchResponsesContentApplicationJsonSchemaData.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsIdPatchResponsesContentApplicationJsonSchemaData.g.cs @@ -93,6 +93,9 @@ public sealed partial class GuardrailsIdPatchResponsesContentApplicationJsonSche /// /// Name of the guardrail /// + /// + /// ISO 8601 timestamp of when the guardrail was created + /// /// /// Description of the guardrail /// @@ -114,9 +117,6 @@ public sealed partial class GuardrailsIdPatchResponsesContentApplicationJsonSche /// /// Whether to enforce zero data retention /// - /// - /// ISO 8601 timestamp of when the guardrail was created - /// /// /// ISO 8601 timestamp of when the guardrail was last updated /// @@ -138,7 +138,6 @@ public GuardrailsIdPatchResponsesContentApplicationJsonSchemaData( { this.Id = id; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.Description = description; this.LimitUsd = limitUsd; this.ResetInterval = resetInterval; @@ -146,6 +145,7 @@ public GuardrailsIdPatchResponsesContentApplicationJsonSchemaData( this.IgnoredProviders = ignoredProviders; this.AllowedModels = allowedModels; this.EnforceZdr = enforceZdr; + this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.UpdatedAt = updatedAt; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsPostResponsesContentApplicationJsonSchemaData.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsPostResponsesContentApplicationJsonSchemaData.g.cs index 82fa9c6..d14e5e4 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsPostResponsesContentApplicationJsonSchemaData.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.GuardrailsPostResponsesContentApplicationJsonSchemaData.g.cs @@ -93,6 +93,9 @@ public sealed partial class GuardrailsPostResponsesContentApplicationJsonSchemaD /// /// Name of the guardrail /// + /// + /// ISO 8601 timestamp of when the guardrail was created + /// /// /// Description of the guardrail /// @@ -114,9 +117,6 @@ public sealed partial class GuardrailsPostResponsesContentApplicationJsonSchemaD /// /// Whether to enforce zero data retention /// - /// - /// ISO 8601 timestamp of when the guardrail was created - /// /// /// ISO 8601 timestamp of when the guardrail was last updated /// @@ -138,7 +138,6 @@ public GuardrailsPostResponsesContentApplicationJsonSchemaData( { this.Id = id; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.Description = description; this.LimitUsd = limitUsd; this.ResetInterval = resetInterval; @@ -146,6 +145,7 @@ public GuardrailsPostResponsesContentApplicationJsonSchemaData( this.IgnoredProviders = ignoredProviders; this.AllowedModels = allowedModels; this.EnforceZdr = enforceZdr; + this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); this.UpdatedAt = updatedAt; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputAudio.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputAudio.g.cs index 26f0d64..38eaaf2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputAudio.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputAudio.g.cs @@ -31,8 +31,8 @@ public sealed partial class InputAudio /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public InputAudio( global::OpenRouter.InputAudioInputAudio inputAudio1, global::OpenRouter.InputAudioType type) { - this.InputAudio1 = inputAudio1 ?? throw new global::System.ArgumentNullException(nameof(inputAudio1)); this.Type = type; + this.InputAudio1 = inputAudio1 ?? throw new global::System.ArgumentNullException(nameof(inputAudio1)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputImage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputImage.g.cs index 1d33975..4dab109 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputImage.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputImage.g.cs @@ -38,8 +38,8 @@ public sealed partial class InputImage /// /// Initializes a new instance of the class. /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -49,8 +49,8 @@ public InputImage( global::OpenRouter.InputImageType type, string? imageUrl) { - this.Detail = detail; this.Type = type; + this.Detail = detail; this.ImageUrl = imageUrl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputMessageItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputMessageItem.g.cs index befda6c..e462169 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputMessageItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputMessageItem.g.cs @@ -44,9 +44,9 @@ public sealed partial class InputMessageItem /// /// Initializes a new instance of the class. /// + /// /// /// - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -57,9 +57,9 @@ public InputMessageItem( global::OpenRouter.InputMessageItemType? type, global::System.Collections.Generic.IList? content) { - this.Role = role; this.Id = id; this.Type = type; + this.Role = role; this.Content = content; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputMessageItemContentItems1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputMessageItemContentItems1.g.cs index e4f5f75..b722e84 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputMessageItemContentItems1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputMessageItemContentItems1.g.cs @@ -38,8 +38,8 @@ public sealed partial class InputMessageItemContentItems1 /// /// Initializes a new instance of the class. /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -49,8 +49,8 @@ public InputMessageItemContentItems1( global::OpenRouter.InputImageType type, string? imageUrl) { - this.Detail = detail; this.Type = type; + this.Detail = detail; this.ImageUrl = imageUrl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputText.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputText.g.cs index 0469e26..d7ae6c2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputText.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputText.g.cs @@ -31,8 +31,8 @@ public sealed partial class InputText /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public InputText( string text, global::OpenRouter.InputTextType type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputVideo.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputVideo.g.cs index 3d6618d..574e4b3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputVideo.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputVideo.g.cs @@ -31,10 +31,10 @@ public sealed partial class InputVideo /// /// Initializes a new instance of the class. /// - /// /// /// A base64 data URL or remote URL that resolves to a video file /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public InputVideo( string videoUrl, global::OpenRouter.InputVideoType type) { - this.VideoUrl = videoUrl ?? throw new global::System.ArgumentNullException(nameof(videoUrl)); this.Type = type; + this.VideoUrl = videoUrl ?? throw new global::System.ArgumentNullException(nameof(videoUrl)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputsOneOf1Items5.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputsOneOf1Items5.g.cs index e1afe3f..2c5f395 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputsOneOf1Items5.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputsOneOf1Items5.g.cs @@ -61,10 +61,10 @@ public sealed partial class InputsOneOf1Items5 /// Initializes a new instance of the class. /// /// + /// /// /// /// - /// /// /// The phase of an assistant message. Use `commentary` for an intermediate assistant message and `final_answer` for the final assistant message. For follow-up requests with models like `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages. Omitting it can degrade performance. Not used for user messages. /// @@ -80,10 +80,10 @@ public InputsOneOf1Items5( global::OpenRouter.OutputMessagePhase? phase) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Content = content; this.Role = role; this.Type = type; this.Status = status; + this.Content = content; this.Phase = phase; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputsOneOf1Items6.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputsOneOf1Items6.g.cs index ad5a76c..a0940c5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputsOneOf1Items6.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputsOneOf1Items6.g.cs @@ -69,8 +69,8 @@ public sealed partial class InputsOneOf1Items6 /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// /// @@ -94,8 +94,8 @@ public InputsOneOf1Items6( string? signature, global::OpenRouter.OneOf? format) { - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Content = content; this.Summary = summary; this.EncryptedContent = encryptedContent; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.KeyGetResponsesContentApplicationJsonSchemaData.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.KeyGetResponsesContentApplicationJsonSchemaData.g.cs index 3a44ac6..daa94eb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.KeyGetResponsesContentApplicationJsonSchemaData.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.KeyGetResponsesContentApplicationJsonSchemaData.g.cs @@ -148,9 +148,6 @@ public sealed partial class KeyGetResponsesContentApplicationJsonSchemaData /// /// Human-readable label for the API key /// - /// - /// Spending limit for the API key in USD - /// /// /// Total OpenRouter credit usage (in USD) for the API key /// @@ -184,24 +181,27 @@ public sealed partial class KeyGetResponsesContentApplicationJsonSchemaData /// /// Whether this is a management key /// + /// + /// Whether to include external BYOK usage in the credit limit + /// + /// + /// Legacy rate limit information about a key. Will always return -1. + /// + /// + /// Spending limit for the API key in USD + /// /// /// Remaining spending limit in USD /// /// /// Type of limit reset for the API key /// - /// - /// Whether to include external BYOK usage in the credit limit - /// /// /// ISO 8601 UTC timestamp when the API key expires, or null if no expiration /// /// /// The user ID of the key creator. For organization-owned keys, this is the member who created the key. For individual users, this is the user's own ID. /// - /// - /// Legacy rate limit information about a key. Will always return -1. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -227,6 +227,7 @@ public KeyGetResponsesContentApplicationJsonSchemaData( string? creatorUserId) { this.Label = label ?? throw new global::System.ArgumentNullException(nameof(label)); + this.Limit = limit; this.Usage = usage; this.UsageDaily = usageDaily; this.UsageWeekly = usageWeekly; @@ -238,13 +239,12 @@ public KeyGetResponsesContentApplicationJsonSchemaData( this.IsFreeTier = isFreeTier; this.IsManagementKey = isManagementKey; this.IsProvisioningKey = isProvisioningKey; - this.IncludeByokInLimit = includeByokInLimit; - this.RateLimit = rateLimit ?? throw new global::System.ArgumentNullException(nameof(rateLimit)); - this.Limit = limit; this.LimitRemaining = limitRemaining; this.LimitReset = limitReset; + this.IncludeByokInLimit = includeByokInLimit; this.ExpiresAt = expiresAt; this.CreatorUserId = creatorUserId; + this.RateLimit = rateLimit ?? throw new global::System.ArgumentNullException(nameof(rateLimit)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysGetResponsesContentApplicationJsonSchemaDataItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysGetResponsesContentApplicationJsonSchemaDataItems.g.cs index c43c469..37a423d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysGetResponsesContentApplicationJsonSchemaDataItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysGetResponsesContentApplicationJsonSchemaDataItems.g.cs @@ -163,15 +163,6 @@ public sealed partial class KeysGetResponsesContentApplicationJsonSchemaDataItem /// /// Whether the API key is disabled /// - /// - /// Spending limit for the API key in USD - /// - /// - /// Remaining spending limit in USD - /// - /// - /// Type of limit reset for the API key - /// /// /// Whether to include external BYOK usage in the credit limit /// @@ -202,6 +193,15 @@ public sealed partial class KeysGetResponsesContentApplicationJsonSchemaDataItem /// /// ISO 8601 timestamp of when the API key was created /// + /// + /// Spending limit for the API key in USD + /// + /// + /// Remaining spending limit in USD + /// + /// + /// Type of limit reset for the API key + /// /// /// ISO 8601 timestamp of when the API key was last updated /// @@ -240,6 +240,9 @@ public KeysGetResponsesContentApplicationJsonSchemaDataItems( this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Label = label ?? throw new global::System.ArgumentNullException(nameof(label)); this.Disabled = disabled; + this.Limit = limit; + this.LimitRemaining = limitRemaining; + this.LimitReset = limitReset; this.IncludeByokInLimit = includeByokInLimit; this.Usage = usage; this.UsageDaily = usageDaily; @@ -250,9 +253,6 @@ public KeysGetResponsesContentApplicationJsonSchemaDataItems( this.ByokUsageWeekly = byokUsageWeekly; this.ByokUsageMonthly = byokUsageMonthly; this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); - this.Limit = limit; - this.LimitRemaining = limitRemaining; - this.LimitReset = limitReset; this.UpdatedAt = updatedAt; this.ExpiresAt = expiresAt; this.CreatorUserId = creatorUserId; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysHashGetResponsesContentApplicationJsonSchemaData.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysHashGetResponsesContentApplicationJsonSchemaData.g.cs index 7aa08eb..557fbc8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysHashGetResponsesContentApplicationJsonSchemaData.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysHashGetResponsesContentApplicationJsonSchemaData.g.cs @@ -163,15 +163,6 @@ public sealed partial class KeysHashGetResponsesContentApplicationJsonSchemaData /// /// Whether the API key is disabled /// - /// - /// Spending limit for the API key in USD - /// - /// - /// Remaining spending limit in USD - /// - /// - /// Type of limit reset for the API key - /// /// /// Whether to include external BYOK usage in the credit limit /// @@ -202,6 +193,15 @@ public sealed partial class KeysHashGetResponsesContentApplicationJsonSchemaData /// /// ISO 8601 timestamp of when the API key was created /// + /// + /// Spending limit for the API key in USD + /// + /// + /// Remaining spending limit in USD + /// + /// + /// Type of limit reset for the API key + /// /// /// ISO 8601 timestamp of when the API key was last updated /// @@ -240,6 +240,9 @@ public KeysHashGetResponsesContentApplicationJsonSchemaData( this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Label = label ?? throw new global::System.ArgumentNullException(nameof(label)); this.Disabled = disabled; + this.Limit = limit; + this.LimitRemaining = limitRemaining; + this.LimitReset = limitReset; this.IncludeByokInLimit = includeByokInLimit; this.Usage = usage; this.UsageDaily = usageDaily; @@ -250,9 +253,6 @@ public KeysHashGetResponsesContentApplicationJsonSchemaData( this.ByokUsageWeekly = byokUsageWeekly; this.ByokUsageMonthly = byokUsageMonthly; this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); - this.Limit = limit; - this.LimitRemaining = limitRemaining; - this.LimitReset = limitReset; this.UpdatedAt = updatedAt; this.ExpiresAt = expiresAt; this.CreatorUserId = creatorUserId; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysHashPatchResponsesContentApplicationJsonSchemaData.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysHashPatchResponsesContentApplicationJsonSchemaData.g.cs index 84e12ef..65bdb99 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysHashPatchResponsesContentApplicationJsonSchemaData.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysHashPatchResponsesContentApplicationJsonSchemaData.g.cs @@ -163,15 +163,6 @@ public sealed partial class KeysHashPatchResponsesContentApplicationJsonSchemaDa /// /// Whether the API key is disabled /// - /// - /// Spending limit for the API key in USD - /// - /// - /// Remaining spending limit in USD - /// - /// - /// Type of limit reset for the API key - /// /// /// Whether to include external BYOK usage in the credit limit /// @@ -202,6 +193,15 @@ public sealed partial class KeysHashPatchResponsesContentApplicationJsonSchemaDa /// /// ISO 8601 timestamp of when the API key was created /// + /// + /// Spending limit for the API key in USD + /// + /// + /// Remaining spending limit in USD + /// + /// + /// Type of limit reset for the API key + /// /// /// ISO 8601 timestamp of when the API key was last updated /// @@ -240,6 +240,9 @@ public KeysHashPatchResponsesContentApplicationJsonSchemaData( this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Label = label ?? throw new global::System.ArgumentNullException(nameof(label)); this.Disabled = disabled; + this.Limit = limit; + this.LimitRemaining = limitRemaining; + this.LimitReset = limitReset; this.IncludeByokInLimit = includeByokInLimit; this.Usage = usage; this.UsageDaily = usageDaily; @@ -250,9 +253,6 @@ public KeysHashPatchResponsesContentApplicationJsonSchemaData( this.ByokUsageWeekly = byokUsageWeekly; this.ByokUsageMonthly = byokUsageMonthly; this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); - this.Limit = limit; - this.LimitRemaining = limitRemaining; - this.LimitReset = limitReset; this.UpdatedAt = updatedAt; this.ExpiresAt = expiresAt; this.CreatorUserId = creatorUserId; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysPostResponsesContentApplicationJsonSchemaData.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysPostResponsesContentApplicationJsonSchemaData.g.cs index 303bda9..009758b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysPostResponsesContentApplicationJsonSchemaData.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.KeysPostResponsesContentApplicationJsonSchemaData.g.cs @@ -163,15 +163,6 @@ public sealed partial class KeysPostResponsesContentApplicationJsonSchemaData /// /// Whether the API key is disabled /// - /// - /// Spending limit for the API key in USD - /// - /// - /// Remaining spending limit in USD - /// - /// - /// Type of limit reset for the API key - /// /// /// Whether to include external BYOK usage in the credit limit /// @@ -202,6 +193,15 @@ public sealed partial class KeysPostResponsesContentApplicationJsonSchemaData /// /// ISO 8601 timestamp of when the API key was created /// + /// + /// Spending limit for the API key in USD + /// + /// + /// Remaining spending limit in USD + /// + /// + /// Type of limit reset for the API key + /// /// /// ISO 8601 timestamp of when the API key was last updated /// @@ -240,6 +240,9 @@ public KeysPostResponsesContentApplicationJsonSchemaData( this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Label = label ?? throw new global::System.ArgumentNullException(nameof(label)); this.Disabled = disabled; + this.Limit = limit; + this.LimitRemaining = limitRemaining; + this.LimitReset = limitReset; this.IncludeByokInLimit = includeByokInLimit; this.Usage = usage; this.UsageDaily = usageDaily; @@ -250,9 +253,6 @@ public KeysPostResponsesContentApplicationJsonSchemaData( this.ByokUsageWeekly = byokUsageWeekly; this.ByokUsageMonthly = byokUsageMonthly; this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); - this.Limit = limit; - this.LimitRemaining = limitRemaining; - this.LimitReset = limitReset; this.UpdatedAt = updatedAt; this.ExpiresAt = expiresAt; this.CreatorUserId = creatorUserId; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.LegacyChatContentVideo.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.LegacyChatContentVideo.g.cs index a84872f..24339b8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.LegacyChatContentVideo.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.LegacyChatContentVideo.g.cs @@ -31,10 +31,10 @@ public sealed partial class LegacyChatContentVideo /// /// Initializes a new instance of the class. /// - /// /// /// Video input object /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public LegacyChatContentVideo( global::OpenRouter.ChatContentVideoInput videoUrl, global::OpenRouter.LegacyChatContentVideoType type) { - this.VideoUrl = videoUrl ?? throw new global::System.ArgumentNullException(nameof(videoUrl)); this.Type = type; + this.VideoUrl = videoUrl ?? throw new global::System.ArgumentNullException(nameof(videoUrl)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ListEndpointsResponseArchitecture.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ListEndpointsResponseArchitecture.g.cs index 8372294..85760da 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ListEndpointsResponseArchitecture.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ListEndpointsResponseArchitecture.g.cs @@ -56,15 +56,15 @@ public sealed partial class ListEndpointsResponseArchitecture /// /// Instruction format type /// - /// - /// Primary modality of the model - /// /// /// Supported input modalities /// /// /// Supported output modalities /// + /// + /// Primary modality of the model + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,9 +77,9 @@ public ListEndpointsResponseArchitecture( { this.Tokenizer = tokenizer ?? throw new global::System.ArgumentNullException(nameof(tokenizer)); this.InstructType = instructType; + this.Modality = modality; this.InputModalities = inputModalities ?? throw new global::System.ArgumentNullException(nameof(inputModalities)); this.OutputModalities = outputModalities ?? throw new global::System.ArgumentNullException(nameof(outputModalities)); - this.Modality = modality; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.McpServerTool.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.McpServerTool.g.cs index dfe62b2..5b98cad 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.McpServerTool.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.McpServerTool.g.cs @@ -76,8 +76,8 @@ public sealed partial class McpServerTool /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// /// @@ -99,8 +99,8 @@ public McpServerTool( string? serverDescription, string? serverUrl) { - this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); this.Type = type; + this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); this.AllowedTools = allowedTools; this.Authorization = authorization; this.ConnectorId = connectorId; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items0.g.cs index ee9338e..d615f0b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items0.g.cs @@ -43,8 +43,8 @@ public sealed partial class MessagesMessageParamContentOneOf1Items0 /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -56,8 +56,8 @@ public MessagesMessageParamContentOneOf1Items0( global::System.Collections.Generic.IList? citations, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf0CacheControl? cacheControl) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Citations = citations; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items1.g.cs index 942b901..b4bcea1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items1.g.cs @@ -38,8 +38,8 @@ public sealed partial class MessagesMessageParamContentOneOf1Items1 /// /// Initializes a new instance of the class. /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -49,8 +49,8 @@ public MessagesMessageParamContentOneOf1Items1( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf1Type type, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf1CacheControl? cacheControl) { - this.Source = source; this.Type = type; + this.Source = source; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items2.g.cs index 77feb6c..9db03a6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items2.g.cs @@ -57,8 +57,8 @@ public sealed partial class MessagesMessageParamContentOneOf1Items2 /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// /// @@ -74,8 +74,8 @@ public MessagesMessageParamContentOneOf1Items2( string? title, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2CacheControl? cacheControl) { - this.Source = source; this.Type = type; + this.Source = source; this.Citations = citations; this.Context = context; this.Title = title; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items3.g.cs index cebb08d..54bdd3d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items3.g.cs @@ -50,9 +50,9 @@ public sealed partial class MessagesMessageParamContentOneOf1Items3 /// /// Initializes a new instance of the class. /// - /// /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -65,9 +65,9 @@ public MessagesMessageParamContentOneOf1Items3( object? input, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf3CacheControl? cacheControl) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.Type = type; this.Input = input; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items4.g.cs index 8fdf6d2..5342c8e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items4.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items4.g.cs @@ -50,8 +50,8 @@ public sealed partial class MessagesMessageParamContentOneOf1Items4 /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// /// @@ -65,8 +65,8 @@ public MessagesMessageParamContentOneOf1Items4( bool? isError, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4CacheControl? cacheControl) { - this.ToolUseId = toolUseId ?? throw new global::System.ArgumentNullException(nameof(toolUseId)); this.Type = type; + this.ToolUseId = toolUseId ?? throw new global::System.ArgumentNullException(nameof(toolUseId)); this.Content = content; this.IsError = isError; this.CacheControl = cacheControl; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items5.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items5.g.cs index 38bd75e..258e7e5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items5.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items5.g.cs @@ -38,9 +38,9 @@ public sealed partial class MessagesMessageParamContentOneOf1Items5 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public MessagesMessageParamContentOneOf1Items5( string signature, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf5Type type) { + this.Type = type; this.Thinking = thinking ?? throw new global::System.ArgumentNullException(nameof(thinking)); this.Signature = signature ?? throw new global::System.ArgumentNullException(nameof(signature)); - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items6.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items6.g.cs index 553b6a0..7011bfd 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items6.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items6.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesMessageParamContentOneOf1Items6 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesMessageParamContentOneOf1Items6( string data, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf6Type type) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items7.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items7.g.cs index 502a337..84a28b6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items7.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items7.g.cs @@ -51,9 +51,9 @@ public sealed partial class MessagesMessageParamContentOneOf1Items7 /// /// Initializes a new instance of the class. /// - /// /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -66,9 +66,9 @@ public MessagesMessageParamContentOneOf1Items7( object? input, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf7CacheControl? cacheControl) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name; - this.Type = type; this.Input = input; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items8.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items8.g.cs index 5ba979f..d7b76df 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items8.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items8.g.cs @@ -45,9 +45,9 @@ public sealed partial class MessagesMessageParamContentOneOf1Items8 /// /// Initializes a new instance of the class. /// - /// /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -58,9 +58,9 @@ public MessagesMessageParamContentOneOf1Items8( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8Type type, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8CacheControl? cacheControl) { + this.Type = type; this.ToolUseId = toolUseId ?? throw new global::System.ArgumentNullException(nameof(toolUseId)); this.Content = content; - this.Type = type; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items9.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items9.g.cs index 26d893e..ea66557 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items9.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1Items9.g.cs @@ -57,10 +57,10 @@ public sealed partial class MessagesMessageParamContentOneOf1Items9 /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -74,10 +74,10 @@ public MessagesMessageParamContentOneOf1Items9( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf9Citations? citations, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf9CacheControl? cacheControl) { + this.Type = type; this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); this.Title = title ?? throw new global::System.ArgumentNullException(nameof(title)); this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); - this.Type = type; this.Citations = citations; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems0.g.cs index 83689b1..8060c7a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems0.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf0Citation /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems0( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItemsOneOf0Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartCharIndex = startCharIndex; this.EndCharIndex = endCharIndex; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems1.g.cs index 454ca79..50db5a8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems1.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf0Citation /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems1( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItemsOneOf1Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartPageNumber = startPageNumber; this.EndPageNumber = endPageNumber; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems2.g.cs index 9b91eb3..62e74fd 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems2.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf0Citation /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems2( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItemsOneOf2Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems3.g.cs index 289dc78..cf7f91b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems3.g.cs @@ -51,11 +51,11 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf0Citation /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,11 +66,11 @@ public MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems3( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItemsOneOf3Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.EncryptedIndex = encryptedIndex ?? throw new global::System.ArgumentNullException(nameof(encryptedIndex)); - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); - this.Type = type; this.Title = title; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems4.g.cs index cb6259d..5b625c9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems4.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems4.g.cs @@ -65,13 +65,13 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf0Citation /// /// Initializes a new instance of the class. /// - /// /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -84,13 +84,13 @@ public MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItems4( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf0CitationsItemsOneOf4Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.SearchResultIndex = searchResultIndex; this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); + this.Title = title; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.Title = title; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf1Source0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf1Source0.g.cs index 68997aa..4bbf008 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf1Source0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf1Source0.g.cs @@ -39,9 +39,9 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf1Source0 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,9 +50,9 @@ public MessagesMessageParamContentOneOf1ItemsOneOf1Source0( string data, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf1SourceOneOf0Type type) { + this.Type = type; this.MediaType = mediaType; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf1Source1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf1Source1.g.cs index 760bbd2..7ded3f5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf1Source1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf1Source1.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf1Source1 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf1Source1( string url, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf1SourceOneOf1Type type) { - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.Type = type; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source0.g.cs index 8157d48..f0f2cbd 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source0.g.cs @@ -38,9 +38,9 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf2Source0 /// /// Initializes a new instance of the class. /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public MessagesMessageParamContentOneOf1ItemsOneOf2Source0( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf0Type type, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf0MediaType mediaType) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; this.MediaType = mediaType; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source1.g.cs index f10af57..1074902 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source1.g.cs @@ -38,9 +38,9 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf2Source1 /// /// Initializes a new instance of the class. /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public MessagesMessageParamContentOneOf1ItemsOneOf2Source1( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf1Type type, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf1MediaType mediaType) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; this.MediaType = mediaType; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source2.g.cs index 25fb363..3043126 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source2.g.cs @@ -32,8 +32,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf2Source2 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -41,8 +41,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf2Source2( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2Content content, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2Type type) { - this.Content = content; this.Type = type; + this.Content = content; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source3.g.cs index b9e5d16..9c86bc5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2Source3.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf2Source3 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf2Source3( string url, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf3Type type) { - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.Type = type; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Items0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Items0.g.cs index 7bf1968..2ec6a70 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Items0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Items0.g.cs @@ -43,8 +43,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf2SourceOn /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -56,8 +56,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Item global::System.Collections.Generic.IList? citations, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CacheControl? cacheControl) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Citations = citations; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Items1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Items1.g.cs index 6671005..88467a6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Items1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Items1.g.cs @@ -38,8 +38,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf2SourceOn /// /// Initializes a new instance of the class. /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -49,8 +49,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Item global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf1Type type, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf1CacheControl? cacheControl) { - this.Source = source; this.Type = type; + this.Source = source; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems0.g.cs index 809b7f5..6d8c008 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems0.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf2SourceOn /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Item global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItemsOneOf0Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartCharIndex = startCharIndex; this.EndCharIndex = endCharIndex; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems1.g.cs index cd6a8f1..0d28af0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems1.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf2SourceOn /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Item global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItemsOneOf1Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartPageNumber = startPageNumber; this.EndPageNumber = endPageNumber; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems2.g.cs index f5938a2..0b2a737 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems2.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf2SourceOn /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Item global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItemsOneOf2Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems3.g.cs index f16082a..0841616 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems3.g.cs @@ -51,11 +51,11 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf2SourceOn /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,11 +66,11 @@ public MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Item global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItemsOneOf3Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.EncryptedIndex = encryptedIndex ?? throw new global::System.ArgumentNullException(nameof(encryptedIndex)); - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); - this.Type = type; this.Title = title; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems4.g.cs index 8d52531..5fea666 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems4.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems4.g.cs @@ -65,13 +65,13 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf2SourceOn /// /// Initializes a new instance of the class. /// - /// /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -84,13 +84,13 @@ public MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Item global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItemsOneOf4Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.SearchResultIndex = searchResultIndex; this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); + this.Title = title; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.Title = title; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf1Source0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf1Source0.g.cs index f8e72a5..fa385e9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf1Source0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf1Source0.g.cs @@ -39,9 +39,9 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf2SourceOn /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,9 +50,9 @@ public MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Item string data, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf1SourceOneOf0Type type) { + this.Type = type; this.MediaType = mediaType; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf1Source1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf1Source1.g.cs index 2ab3b27..b06c81e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf1Source1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf1Source1.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf2SourceOn /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1Item string url, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf2SourceOneOf2ContentOneOf1ItemsOneOf1SourceOneOf1Type type) { - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.Type = type; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items0.g.cs index 410066f..0c4bd27 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items0.g.cs @@ -43,8 +43,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -56,8 +56,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items0( global::System.Collections.Generic.IList? citations, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CacheControl? cacheControl) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Citations = citations; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items1.g.cs index dfd1f97..269ac47 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items1.g.cs @@ -38,8 +38,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -49,8 +49,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items1( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf1Type type, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf1CacheControl? cacheControl) { - this.Source = source; this.Type = type; + this.Source = source; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2.g.cs index 82ced9d..64d3657 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items2( string toolName, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf2Type type) { - this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); this.Type = type; + this.ToolName = toolName ?? throw new global::System.ArgumentNullException(nameof(toolName)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items3.g.cs index 4daf906..5c38a5d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items3.g.cs @@ -57,10 +57,10 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -74,10 +74,10 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items3( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3Citations? citations, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3CacheControl? cacheControl) { + this.Type = type; this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); this.Title = title ?? throw new global::System.ArgumentNullException(nameof(title)); this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); - this.Type = type; this.Citations = citations; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items4.g.cs index a185687..be74346 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items4.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items4.g.cs @@ -57,8 +57,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// /// @@ -74,8 +74,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1Items4( string? title, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4CacheControl? cacheControl) { - this.Source = source; this.Type = type; + this.Source = source; this.Citations = citations; this.Context = context; this.Title = title; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems0.g.cs index 9c16b86..017c0bb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems0.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0Citat global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItemsOneOf0Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartCharIndex = startCharIndex; this.EndCharIndex = endCharIndex; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems1.g.cs index 759b14e..7972f5d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems1.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0Citat global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItemsOneOf1Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartPageNumber = startPageNumber; this.EndPageNumber = endPageNumber; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems2.g.cs index 2016deb..2d82c7c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems2.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0Citat global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItemsOneOf2Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems3.g.cs index bd162df..8330112 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems3.g.cs @@ -51,11 +51,11 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,11 +66,11 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0Citat global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItemsOneOf3Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.EncryptedIndex = encryptedIndex ?? throw new global::System.ArgumentNullException(nameof(encryptedIndex)); - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); - this.Type = type; this.Title = title; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems4.g.cs index 7b89bd1..daa8330 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems4.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItems4.g.cs @@ -65,13 +65,13 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -84,13 +84,13 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0Citat global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf0CitationsItemsOneOf4Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.SearchResultIndex = searchResultIndex; this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); + this.Title = title; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.Title = title; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf1Source0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf1Source0.g.cs index 9543034..4c48b80 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf1Source0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf1Source0.g.cs @@ -39,9 +39,9 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,9 +50,9 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf1Sourc string data, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf1SourceOneOf0Type type) { + this.Type = type; this.MediaType = mediaType; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf1Source1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf1Source1.g.cs index 95497d4..ac3306e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf1Source1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf1Source1.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf1Sourc string url, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf1SourceOneOf1Type type) { - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.Type = type; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItems.g.cs index 61cde25..ae5ebb2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItems.g.cs @@ -43,8 +43,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -56,8 +56,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3Conte global::System.Collections.Generic.IList? citations, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCacheControl? cacheControl) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Citations = citations; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems0.g.cs index bd73850..fcc9a23 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems0.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3Conte global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItemsOneOf0Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartCharIndex = startCharIndex; this.EndCharIndex = endCharIndex; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems1.g.cs index b336b96..df5bd3c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems1.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3Conte global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItemsOneOf1Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartPageNumber = startPageNumber; this.EndPageNumber = endPageNumber; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems2.g.cs index 50950f9..42ad508 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems2.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3Conte global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItemsOneOf2Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems3.g.cs index 8410974..9f6f913 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems3.g.cs @@ -51,11 +51,11 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,11 +66,11 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3Conte global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItemsOneOf3Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.EncryptedIndex = encryptedIndex ?? throw new global::System.ArgumentNullException(nameof(encryptedIndex)); - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); - this.Type = type; this.Title = title; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems4.g.cs index 121ecae..0927088 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems4.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItems4.g.cs @@ -65,13 +65,13 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -84,13 +84,13 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3Conte global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf3ContentItemsCitationsItemsOneOf4Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.SearchResultIndex = searchResultIndex; this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); + this.Title = title; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.Title = title; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source0.g.cs index 145d737..e6cb442 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source0.g.cs @@ -38,9 +38,9 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Sourc global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf0Type type, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf0MediaType mediaType) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; this.MediaType = mediaType; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source1.g.cs index 6a2d811..37b3e8d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source1.g.cs @@ -38,9 +38,9 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Sourc global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf1Type type, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf1MediaType mediaType) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; this.MediaType = mediaType; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source2.g.cs index 3ef4261..ccc67a6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source2.g.cs @@ -32,8 +32,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -41,8 +41,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Sourc global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2Content content, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2Type type) { - this.Content = content; this.Type = type; + this.Content = content; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source3.g.cs index 72ebb86..f510ab2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Source3.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Sourc string url, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf3Type type) { - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.Type = type; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1Items0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1Items0.g.cs index 0a8390a..8a70808 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1Items0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1Items0.g.cs @@ -43,8 +43,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -56,8 +56,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Sourc global::System.Collections.Generic.IList? citations, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CacheControl? cacheControl) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Citations = citations; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1Items1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1Items1.g.cs index fa3cc19..90f569d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1Items1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1Items1.g.cs @@ -38,8 +38,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -49,8 +49,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Sourc global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf1Type type, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf1CacheControl? cacheControl) { - this.Source = source; this.Type = type; + this.Source = source; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems0.g.cs index 810c9a4..588545f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems0.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Sourc global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItemsOneOf0Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartCharIndex = startCharIndex; this.EndCharIndex = endCharIndex; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems1.g.cs index c61c54b..12adc1b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems1.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Sourc global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItemsOneOf1Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartPageNumber = startPageNumber; this.EndPageNumber = endPageNumber; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems2.g.cs index c0c9f75..2f52849 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems2.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Sourc global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItemsOneOf2Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems3.g.cs index d6668d8..1173238 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems3.g.cs @@ -51,11 +51,11 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,11 +66,11 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Sourc global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItemsOneOf3Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.EncryptedIndex = encryptedIndex ?? throw new global::System.ArgumentNullException(nameof(encryptedIndex)); - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); - this.Type = type; this.Title = title; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems4.g.cs index 83eb99a..e87dae0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems4.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItems4.g.cs @@ -65,13 +65,13 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -84,13 +84,13 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Sourc global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf0CitationsItemsOneOf4Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.SearchResultIndex = searchResultIndex; this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); + this.Title = title; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.Title = title; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf1Source0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf1Source0.g.cs index ac772c1..35ea951 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf1Source0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf1Source0.g.cs @@ -39,9 +39,9 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,9 +50,9 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Sourc string data, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf1SourceOneOf0Type type) { + this.Type = type; this.MediaType = mediaType; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf1Source1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf1Source1.g.cs index 1754ae2..3cf9f14 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf1Source1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf1Source1.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf4ContentO /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4Sourc string url, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf4ContentOneOf1ItemsOneOf4SourceOneOf2ContentOneOf1ItemsOneOf1SourceOneOf1Type type) { - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.Type = type; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf8Content1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf8Content1.g.cs index 670805d..e886519 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf8Content1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf8Content1.g.cs @@ -32,8 +32,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf8Content1 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -41,8 +41,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf8Content1( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1ErrorCode errorCode, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf1Type type) { - this.ErrorCode = errorCode; this.Type = type; + this.ErrorCode = errorCode; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf0Items.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf0Items.g.cs index 46db847..541b381 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf0Items.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf0Items.g.cs @@ -51,10 +51,10 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf8ContentO /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -66,10 +66,10 @@ public MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf0Items( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf8ContentOneOf0ItemsType type, string? pageAge) { + this.Type = type; this.EncryptedContent = encryptedContent ?? throw new global::System.ArgumentNullException(nameof(encryptedContent)); this.Title = title ?? throw new global::System.ArgumentNullException(nameof(title)); this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); - this.Type = type; this.PageAge = pageAge; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItems.g.cs index d3fcf3e..d399dcc 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItems.g.cs @@ -43,8 +43,8 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf9ContentI /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -56,8 +56,8 @@ public MessagesMessageParamContentOneOf1ItemsOneOf9ContentItems( global::System.Collections.Generic.IList? citations, global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCacheControl? cacheControl) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Citations = citations; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems0.g.cs index 48e375b..8f8958b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems0.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf9ContentI /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems0( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItemsOneOf0Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartCharIndex = startCharIndex; this.EndCharIndex = endCharIndex; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems1.g.cs index a5f009a..fe3aea5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems1.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf9ContentI /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems1( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItemsOneOf1Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartPageNumber = startPageNumber; this.EndPageNumber = endPageNumber; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems2.g.cs index 1b87a56..8a5a838 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems2.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf9ContentI /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems2( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItemsOneOf2Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems3.g.cs index 9750862..3488131 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems3.g.cs @@ -51,11 +51,11 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf9ContentI /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,11 +66,11 @@ public MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems3( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItemsOneOf3Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.EncryptedIndex = encryptedIndex ?? throw new global::System.ArgumentNullException(nameof(encryptedIndex)); - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); - this.Type = type; this.Title = title; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems4.g.cs index fb65f85..452eab6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems4.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems4.g.cs @@ -65,13 +65,13 @@ public sealed partial class MessagesMessageParamContentOneOf1ItemsOneOf9ContentI /// /// Initializes a new instance of the class. /// - /// /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -84,13 +84,13 @@ public MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItems4( global::OpenRouter.MessagesMessageParamContentOneOf1ItemsOneOf9ContentItemsCitationsItemsOneOf4Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.SearchResultIndex = searchResultIndex; this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); + this.Title = title; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.Title = title; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfigFormat.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfigFormat.g.cs index 1862d19..3db10e6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfigFormat.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesOutputConfigFormat.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesOutputConfigFormat /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesOutputConfigFormat( object schema, global::OpenRouter.MessagesOutputConfigFormatType type) { - this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); this.Type = type; + this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0ClearAtLeast.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0ClearAtLeast.g.cs index 691aa9d..fed2372 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0ClearAtLeast.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0ClearAtLeast.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesRequestContextManagementEditsItemsOneOf0Clea /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesRequestContextManagementEditsItemsOneOf0ClearAtLeast( double value, global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0ClearAtLeastType type) { - this.Value = value; this.Type = type; + this.Value = value; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0Keep.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0Keep.g.cs index 65a7e4a..1ab6b19 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0Keep.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0Keep.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesRequestContextManagementEditsItemsOneOf0Keep /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesRequestContextManagementEditsItemsOneOf0Keep( double value, global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0KeepType type) { - this.Value = value; this.Type = type; + this.Value = value; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0Trigger0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0Trigger0.g.cs index 7df6ba7..a155e18 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0Trigger0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0Trigger0.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesRequestContextManagementEditsItemsOneOf0Trig /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesRequestContextManagementEditsItemsOneOf0Trigger0( double value, global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerOneOf0Type type) { - this.Value = value; this.Type = type; + this.Value = value; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0Trigger1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0Trigger1.g.cs index 9e23c29..1ecb415 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0Trigger1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf0Trigger1.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesRequestContextManagementEditsItemsOneOf0Trig /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesRequestContextManagementEditsItemsOneOf0Trigger1( double value, global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf0TriggerOneOf1Type type) { - this.Value = value; this.Type = type; + this.Value = value; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf1Keep0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf1Keep0.g.cs index e9fa9ca..6bf7f4c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf1Keep0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf1Keep0.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesRequestContextManagementEditsItemsOneOf1Keep /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesRequestContextManagementEditsItemsOneOf1Keep0( double value, global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf1KeepOneOf0Type type) { - this.Value = value; this.Type = type; + this.Value = value; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf2Trigger.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf2Trigger.g.cs index 1d7d6d0..2e01eef 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf2Trigger.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestContextManagementEditsItemsOneOf2Trigger.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesRequestContextManagementEditsItemsOneOf2Trig /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesRequestContextManagementEditsItemsOneOf2Trigger( double value, global::OpenRouter.MessagesRequestContextManagementEditsItemsOneOf2TriggerType type) { - this.Value = value; this.Type = type; + this.Value = value; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1Items.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1Items.g.cs index 2fefeb4..01ef148 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1Items.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1Items.g.cs @@ -43,8 +43,8 @@ public sealed partial class MessagesRequestSystemOneOf1Items /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -56,8 +56,8 @@ public MessagesRequestSystemOneOf1Items( global::System.Collections.Generic.IList? citations, global::OpenRouter.MessagesRequestSystemOneOf1ItemsCacheControl? cacheControl) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Citations = citations; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems0.g.cs index 3be6a4b..5ae5bd1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems0.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesRequestSystemOneOf1ItemsCitationsItems0 /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesRequestSystemOneOf1ItemsCitationsItems0( global::OpenRouter.MessagesRequestSystemOneOf1ItemsCitationsItemsOneOf0Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartCharIndex = startCharIndex; this.EndCharIndex = endCharIndex; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems1.g.cs index b4c1676..c15c6fb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems1.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems1.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesRequestSystemOneOf1ItemsCitationsItems1 /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesRequestSystemOneOf1ItemsCitationsItems1( global::OpenRouter.MessagesRequestSystemOneOf1ItemsCitationsItemsOneOf1Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartPageNumber = startPageNumber; this.EndPageNumber = endPageNumber; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems2.g.cs index 9dc1747..1cb094e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems2.g.cs @@ -58,12 +58,12 @@ public sealed partial class MessagesRequestSystemOneOf1ItemsCitationsItems2 /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,12 +75,12 @@ public MessagesRequestSystemOneOf1ItemsCitationsItems2( global::OpenRouter.MessagesRequestSystemOneOf1ItemsCitationsItemsOneOf2Type type, string? documentTitle) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.DocumentIndex = documentIndex; + this.DocumentTitle = documentTitle; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.DocumentTitle = documentTitle; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems3.g.cs index 3853275..c57db82 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems3.g.cs @@ -51,11 +51,11 @@ public sealed partial class MessagesRequestSystemOneOf1ItemsCitationsItems3 /// /// Initializes a new instance of the class. /// - /// /// /// - /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,11 +66,11 @@ public MessagesRequestSystemOneOf1ItemsCitationsItems3( global::OpenRouter.MessagesRequestSystemOneOf1ItemsCitationsItemsOneOf3Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.EncryptedIndex = encryptedIndex ?? throw new global::System.ArgumentNullException(nameof(encryptedIndex)); - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); - this.Type = type; this.Title = title; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems4.g.cs index 386a142..74b54a6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems4.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestSystemOneOf1ItemsCitationsItems4.g.cs @@ -65,13 +65,13 @@ public sealed partial class MessagesRequestSystemOneOf1ItemsCitationsItems4 /// /// Initializes a new instance of the class. /// - /// /// /// /// - /// /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -84,13 +84,13 @@ public MessagesRequestSystemOneOf1ItemsCitationsItems4( global::OpenRouter.MessagesRequestSystemOneOf1ItemsCitationsItemsOneOf4Type type, string? title) { + this.Type = type; this.CitedText = citedText ?? throw new global::System.ArgumentNullException(nameof(citedText)); this.SearchResultIndex = searchResultIndex; this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); + this.Title = title; this.StartBlockIndex = startBlockIndex; this.EndBlockIndex = endBlockIndex; - this.Type = type; - this.Title = title; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestThinking0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestThinking0.g.cs index 2456a7f..7a81524 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestThinking0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestThinking0.g.cs @@ -31,8 +31,8 @@ public sealed partial class MessagesRequestThinking0 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public MessagesRequestThinking0( double budgetTokens, global::OpenRouter.MessagesRequestThinkingOneOf0Type type) { - this.BudgetTokens = budgetTokens; this.Type = type; + this.BudgetTokens = budgetTokens; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolChoice3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolChoice3.g.cs index 90e32e1..403d78e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolChoice3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolChoice3.g.cs @@ -37,8 +37,8 @@ public sealed partial class MessagesRequestToolChoice3 /// /// Initializes a new instance of the class. /// - /// /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -48,8 +48,8 @@ public MessagesRequestToolChoice3( global::OpenRouter.MessagesRequestToolChoiceOneOf3Type type, bool? disableParallelToolUse) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Type = type; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.DisableParallelToolUse = disableParallelToolUse; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolsItems0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolsItems0.g.cs index de675ae..4418ef6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolsItems0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesRequestToolsItems0.g.cs @@ -51,8 +51,8 @@ public sealed partial class MessagesRequestToolsItems0 /// Initializes a new instance of the class. /// /// - /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -66,8 +66,8 @@ public MessagesRequestToolsItems0( global::OpenRouter.MessagesRequestToolsItemsOneOf0CacheControl? cacheControl) { this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.InputSchema = inputSchema ?? throw new global::System.ArgumentNullException(nameof(inputSchema)); this.Description = description; + this.InputSchema = inputSchema ?? throw new global::System.ArgumentNullException(nameof(inputSchema)); this.Type = type; this.CacheControl = cacheControl; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResult.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResult.g.cs index 3c45a39..478af3a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResult.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResult.g.cs @@ -89,14 +89,14 @@ public sealed partial class MessagesResult /// Initializes a new instance of the class. /// /// - /// - /// /// /// /// /// - /// /// + /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -114,14 +114,14 @@ public MessagesResult( global::OpenRouter.MessagesResultProvider? provider) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Type = type; + this.Role = role; this.Container = container; this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); this.StopReason = stopReason; - this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage)); - this.Type = type; - this.Role = role; this.StopSequence = stopSequence; + this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage)); this.Provider = provider; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResultUsage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResultUsage.g.cs index 88da080..ad9bf23 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResultUsage.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResultUsage.g.cs @@ -99,11 +99,11 @@ public sealed partial class MessagesResultUsage /// /// /// + /// + /// /// /// - /// /// - /// /// /// /// @@ -128,11 +128,11 @@ public MessagesResultUsage( { this.InputTokens = inputTokens; this.OutputTokens = outputTokens; - this.CacheCreation = cacheCreation; - this.ServerToolUse = serverToolUse; this.CacheCreationInputTokens = cacheCreationInputTokens; this.CacheReadInputTokens = cacheReadInputTokens; + this.CacheCreation = cacheCreation; this.InferenceGeo = inferenceGeo; + this.ServerToolUse = serverToolUse; this.ServiceTier = serviceTier; this.Speed = speed; this.Cost = cost; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResultUsageCostDetails.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResultUsageCostDetails.g.cs index f7846d6..6b4ba4c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResultUsageCostDetails.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.MessagesResultUsageCostDetails.g.cs @@ -37,9 +37,9 @@ public sealed partial class MessagesResultUsageCostDetails /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -48,9 +48,9 @@ public MessagesResultUsageCostDetails( double upstreamInferenceCompletionsCost, double? upstreamInferenceCost) { + this.UpstreamInferenceCost = upstreamInferenceCost; this.UpstreamInferencePromptCost = upstreamInferencePromptCost; this.UpstreamInferenceCompletionsCost = upstreamInferenceCompletionsCost; - this.UpstreamInferenceCost = upstreamInferenceCost; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.Model.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.Model.g.cs index 9d0083f..ef062f6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.Model.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.Model.g.cs @@ -123,24 +123,15 @@ public sealed partial class Model /// /// Canonical slug for the model /// - /// - /// Hugging Face model identifier, if applicable - /// /// /// Display name of the model /// /// /// Unix timestamp of when the model was created /// - /// - /// Description of the model - /// /// /// Pricing information for the model /// - /// - /// Maximum context length in tokens - /// /// /// Model architecture information /// @@ -156,6 +147,15 @@ public sealed partial class Model /// /// Default parameters for this model /// + /// + /// Hugging Face model identifier, if applicable + /// + /// + /// Description of the model + /// + /// + /// Maximum context length in tokens + /// /// /// The date up to which the model was trained on data. ISO 8601 date string (YYYY-MM-DD) or null if unknown. /// @@ -184,17 +184,17 @@ public Model( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.CanonicalSlug = canonicalSlug ?? throw new global::System.ArgumentNullException(nameof(canonicalSlug)); + this.HuggingFaceId = huggingFaceId; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Created = created; + this.Description = description; this.Pricing = pricing ?? throw new global::System.ArgumentNullException(nameof(pricing)); + this.ContextLength = contextLength; this.Architecture = architecture ?? throw new global::System.ArgumentNullException(nameof(architecture)); this.TopProvider = topProvider ?? throw new global::System.ArgumentNullException(nameof(topProvider)); this.PerRequestLimits = perRequestLimits ?? throw new global::System.ArgumentNullException(nameof(perRequestLimits)); this.SupportedParameters = supportedParameters ?? throw new global::System.ArgumentNullException(nameof(supportedParameters)); this.DefaultParameters = defaultParameters ?? throw new global::System.ArgumentNullException(nameof(defaultParameters)); - this.HuggingFaceId = huggingFaceId; - this.Description = description; - this.ContextLength = contextLength; this.KnowledgeCutoff = knowledgeCutoff; this.ExpirationDate = expirationDate; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelArchitecture.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelArchitecture.g.cs index f13e5ff..d4bba7f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelArchitecture.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelArchitecture.g.cs @@ -51,6 +51,12 @@ public sealed partial class ModelArchitecture /// /// Initializes a new instance of the class. /// + /// + /// Supported input modalities + /// + /// + /// Supported output modalities + /// /// /// Tokenizer type used by the model /// @@ -60,12 +66,6 @@ public sealed partial class ModelArchitecture /// /// Primary modality of the model /// - /// - /// Supported input modalities - /// - /// - /// Supported output modalities - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -76,11 +76,11 @@ public ModelArchitecture( global::OpenRouter.OneOf? instructType, string? modality) { - this.InputModalities = inputModalities ?? throw new global::System.ArgumentNullException(nameof(inputModalities)); - this.OutputModalities = outputModalities ?? throw new global::System.ArgumentNullException(nameof(outputModalities)); this.Tokenizer = tokenizer; this.InstructType = instructType; this.Modality = modality; + this.InputModalities = inputModalities ?? throw new global::System.ArgumentNullException(nameof(inputModalities)); + this.OutputModalities = outputModalities ?? throw new global::System.ArgumentNullException(nameof(outputModalities)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OpenAIResponsesRefusalContent.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OpenAIResponsesRefusalContent.g.cs index a01dd17..4aeb65d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OpenAIResponsesRefusalContent.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OpenAIResponsesRefusalContent.g.cs @@ -31,8 +31,8 @@ public sealed partial class OpenAIResponsesRefusalContent /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public OpenAIResponsesRefusalContent( string refusal, global::OpenRouter.OpenAiResponsesRefusalContentType type) { - this.Refusal = refusal ?? throw new global::System.ArgumentNullException(nameof(refusal)); this.Type = type; + this.Refusal = refusal ?? throw new global::System.ArgumentNullException(nameof(refusal)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OpenAiResponsesToolChoice3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OpenAiResponsesToolChoice3.g.cs index 766d886..257af90 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OpenAiResponsesToolChoice3.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OpenAiResponsesToolChoice3.g.cs @@ -31,8 +31,8 @@ public sealed partial class OpenAiResponsesToolChoice3 /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public OpenAiResponsesToolChoice3( string name, global::OpenRouter.OpenAiResponsesToolChoiceOneOf3Type type) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Type = type; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OpenResponsesResult.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OpenResponsesResult.g.cs index be8cef8..52c90e7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OpenResponsesResult.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OpenResponsesResult.g.cs @@ -239,20 +239,27 @@ public sealed partial class OpenResponsesResult /// Initializes a new instance of the class. /// /// - /// /// /// /// - /// /// - /// - /// - /// - /// /// /// Error information returned from the API /// /// + /// + /// + /// Metadata key-value pairs for the request. Keys must be ≤64 characters and cannot contain brackets. Values must be ≤512 characters. Maximum 16 pairs allowed. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// /// /// Token usage information for the response /// @@ -263,13 +270,6 @@ public sealed partial class OpenResponsesResult /// /// /// - /// - /// - /// Metadata key-value pairs for the request. Keys must be ≤64 characters and cannot contain brackets. Values must be ≤512 characters. Maximum 16 pairs allowed. - /// - /// - /// - /// /// /// /// @@ -320,23 +320,18 @@ public OpenResponsesResult( global::OpenRouter.TextConfig? text) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.CreatedAt = createdAt; this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); this.Status = status; - this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); - this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); - this.IncompleteDetails = incompleteDetails ?? throw new global::System.ArgumentNullException(nameof(incompleteDetails)); - this.Instructions = instructions; - this.Metadata = metadata ?? throw new global::System.ArgumentNullException(nameof(metadata)); - this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); - this.ToolChoice = toolChoice; - this.ParallelToolCalls = parallelToolCalls; - this.Object = @object; this.CompletedAt = completedAt; + this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); this.User = user; this.OutputText = outputText; this.PromptCacheKey = promptCacheKey; this.SafetyIdentifier = safetyIdentifier; + this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); + this.IncompleteDetails = incompleteDetails ?? throw new global::System.ArgumentNullException(nameof(incompleteDetails)); this.Usage = usage; this.MaxToolCalls = maxToolCalls; this.TopLogprobs = topLogprobs; @@ -345,6 +340,11 @@ public OpenResponsesResult( this.TopP = topP; this.PresencePenalty = presencePenalty; this.FrequencyPenalty = frequencyPenalty; + this.Instructions = instructions; + this.Metadata = metadata ?? throw new global::System.ArgumentNullException(nameof(metadata)); + this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); + this.ToolChoice = toolChoice; + this.ParallelToolCalls = parallelToolCalls; this.Prompt = prompt; this.Background = background; this.PreviousResponseId = previousResponseId; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputDatetimeItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputDatetimeItem.g.cs index 10ebc0e..065c964 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputDatetimeItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputDatetimeItem.g.cs @@ -52,8 +52,6 @@ public sealed partial class OutputDatetimeItem /// /// Initializes a new instance of the class. /// - /// - /// /// /// /// ISO 8601 datetime string @@ -61,6 +59,8 @@ public sealed partial class OutputDatetimeItem /// /// IANA timezone name /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -71,11 +71,11 @@ public OutputDatetimeItem( global::OpenRouter.OutputDatetimeItemType type, string? id) { + this.Type = type; + this.Id = id; this.Status = status; this.Datetime = datetime ?? throw new global::System.ArgumentNullException(nameof(datetime)); this.Timezone = timezone ?? throw new global::System.ArgumentNullException(nameof(timezone)); - this.Type = type; - this.Id = id; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputFileSearchCallItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputFileSearchCallItem.g.cs index 8906fe9..b93c402 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputFileSearchCallItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputFileSearchCallItem.g.cs @@ -46,10 +46,10 @@ public sealed partial class OutputFileSearchCallItem /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,10 +59,10 @@ public OutputFileSearchCallItem( global::OpenRouter.WebSearchStatus status, global::OpenRouter.OutputItemFileSearchCallType type) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Queries = queries ?? throw new global::System.ArgumentNullException(nameof(queries)); this.Status = status; - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputFunctionCallItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputFunctionCallItem.g.cs index a330fad..f0fb199 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputFunctionCallItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputFunctionCallItem.g.cs @@ -58,11 +58,11 @@ public sealed partial class OutputFunctionCallItem /// /// Initializes a new instance of the class. /// - /// - /// /// /// /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -75,11 +75,11 @@ public OutputFunctionCallItem( string? id, global::OpenRouter.OutputItemFunctionCallStatus? status) { + this.Type = type; + this.Id = id; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Type = type; - this.Id = id; this.Status = status; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputImageGenerationCallItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputImageGenerationCallItem.g.cs index 660092e..7a802d4 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputImageGenerationCallItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputImageGenerationCallItem.g.cs @@ -45,10 +45,10 @@ public sealed partial class OutputImageGenerationCallItem /// /// Initializes a new instance of the class. /// - /// /// - /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,10 +58,10 @@ public OutputImageGenerationCallItem( global::OpenRouter.OutputItemImageGenerationCallType type, string? result) { - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Status = status; this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Result = result; + this.Status = status; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemFileSearchCall.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemFileSearchCall.g.cs index 04de7ca..d1fbd5c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemFileSearchCall.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemFileSearchCall.g.cs @@ -46,10 +46,10 @@ public sealed partial class OutputItemFileSearchCall /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,10 +59,10 @@ public OutputItemFileSearchCall( global::OpenRouter.WebSearchStatus status, global::OpenRouter.OutputItemFileSearchCallType type) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Queries = queries ?? throw new global::System.ArgumentNullException(nameof(queries)); this.Status = status; - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemFunctionCall.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemFunctionCall.g.cs index 967acd7..16e86d2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemFunctionCall.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemFunctionCall.g.cs @@ -58,11 +58,11 @@ public sealed partial class OutputItemFunctionCall /// /// Initializes a new instance of the class. /// - /// - /// /// /// /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -75,11 +75,11 @@ public OutputItemFunctionCall( string? id, global::OpenRouter.OutputItemFunctionCallStatus? status) { + this.Type = type; + this.Id = id; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Type = type; - this.Id = id; this.Status = status; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemImageGenerationCall.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemImageGenerationCall.g.cs index a2521d6..a84aa48 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemImageGenerationCall.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemImageGenerationCall.g.cs @@ -45,10 +45,10 @@ public sealed partial class OutputItemImageGenerationCall /// /// Initializes a new instance of the class. /// - /// /// - /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,10 +58,10 @@ public OutputItemImageGenerationCall( global::OpenRouter.OutputItemImageGenerationCallType type, string? result) { - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Status = status; this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Result = result; + this.Status = status; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemReasoning.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemReasoning.g.cs index 5ef6be4..b1b2749 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemReasoning.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemReasoning.g.cs @@ -57,10 +57,10 @@ public sealed partial class OutputItemReasoning /// /// Initializes a new instance of the class. /// - /// /// - /// /// + /// + /// /// /// #if NET7_0_OR_GREATER @@ -74,10 +74,10 @@ public OutputItemReasoning( string? encryptedContent, global::OpenRouter.OutputItemReasoningStatus? status) { - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary)); this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Content = content; + this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary)); this.EncryptedContent = encryptedContent; this.Status = status; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCall.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCall.g.cs index a448de2..cc1d910 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCall.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCall.g.cs @@ -47,10 +47,10 @@ public sealed partial class OutputItemWebSearchCall /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -60,10 +60,10 @@ public OutputItemWebSearchCall( global::OpenRouter.WebSearchStatus status, global::OpenRouter.OutputItemWebSearchCallType type) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Action = action; this.Status = status; - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCallAction0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCallAction0.g.cs index e3415f2..ae311af 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCallAction0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCallAction0.g.cs @@ -43,8 +43,8 @@ public sealed partial class OutputItemWebSearchCallAction0 /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -56,8 +56,8 @@ public OutputItemWebSearchCallAction0( global::System.Collections.Generic.IList? queries, global::System.Collections.Generic.IList? sources) { - this.Query = query ?? throw new global::System.ArgumentNullException(nameof(query)); this.Type = type; + this.Query = query ?? throw new global::System.ArgumentNullException(nameof(query)); this.Queries = queries; this.Sources = sources; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCallAction2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCallAction2.g.cs index c97016e..6db01ce 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCallAction2.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCallAction2.g.cs @@ -38,9 +38,9 @@ public sealed partial class OutputItemWebSearchCallAction2 /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public OutputItemWebSearchCallAction2( string url, global::OpenRouter.OutputItemWebSearchCallActionOneOf2Type type) { + this.Type = type; this.Pattern = pattern ?? throw new global::System.ArgumentNullException(nameof(pattern)); this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCallActionOneOf0SourcesItems.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCallActionOneOf0SourcesItems.g.cs index 3d15ca6..579a0c9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCallActionOneOf0SourcesItems.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputItemWebSearchCallActionOneOf0SourcesItems.g.cs @@ -31,8 +31,8 @@ public sealed partial class OutputItemWebSearchCallActionOneOf0SourcesItems /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public OutputItemWebSearchCallActionOneOf0SourcesItems( string url, global::OpenRouter.OutputItemWebSearchCallActionOneOf0SourcesItemsType type) { - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.Type = type; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputMessage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputMessage.g.cs index f34fe1a..c5827da 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputMessage.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputMessage.g.cs @@ -60,10 +60,10 @@ public sealed partial class OutputMessage /// Initializes a new instance of the class. /// /// + /// /// /// /// - /// /// /// The phase of an assistant message. Use `commentary` for an intermediate assistant message and `final_answer` for the final assistant message. For follow-up requests with models like `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages. Omitting it can degrade performance. Not used for user messages. /// @@ -79,10 +79,10 @@ public OutputMessage( global::OpenRouter.OutputMessagePhase? phase) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Role = role; this.Type = type; this.Status = status; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Phase = phase; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputMessageItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputMessageItem.g.cs index 07a9181..3229458 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputMessageItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputMessageItem.g.cs @@ -60,10 +60,10 @@ public sealed partial class OutputMessageItem /// Initializes a new instance of the class. /// /// + /// /// /// /// - /// /// /// The phase of an assistant message. Use `commentary` for an intermediate assistant message and `final_answer` for the final assistant message. For follow-up requests with models like `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages. Omitting it can degrade performance. Not used for user messages. /// @@ -79,10 +79,10 @@ public OutputMessageItem( global::OpenRouter.OutputMessagePhase? phase) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Role = role; this.Type = type; this.Status = status; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Phase = phase; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputReasoningItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputReasoningItem.g.cs index bc2bf3e..13ebbae 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputReasoningItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputReasoningItem.g.cs @@ -70,10 +70,10 @@ public sealed partial class OutputReasoningItem /// /// Initializes a new instance of the class. /// - /// /// - /// /// + /// + /// /// /// /// @@ -95,10 +95,10 @@ public OutputReasoningItem( string? signature, global::OpenRouter.OneOf? format) { - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary)); this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Content = content; + this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary)); this.EncryptedContent = encryptedContent; this.Status = status; this.Signature = signature; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputServerToolItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputServerToolItem.g.cs index f00d138..6bd77bc 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputServerToolItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputServerToolItem.g.cs @@ -41,8 +41,8 @@ public sealed partial class OutputServerToolItem /// /// Server tool type (e.g. openrouter:datetime, openrouter:web_search) /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -52,8 +52,8 @@ public OutputServerToolItem( string? id) { this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); - this.Status = status; this.Id = id; + this.Status = status; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputWebSearchCallItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputWebSearchCallItem.g.cs index 7a2d44a..55eb423 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputWebSearchCallItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputWebSearchCallItem.g.cs @@ -47,10 +47,10 @@ public sealed partial class OutputWebSearchCallItem /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -60,10 +60,10 @@ public OutputWebSearchCallItem( global::OpenRouter.WebSearchStatus status, global::OpenRouter.OutputItemWebSearchCallType type) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Action = action; this.Status = status; - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PublicEndpoint.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PublicEndpoint.g.cs index 1b7c713..c4f2036 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.PublicEndpoint.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PublicEndpoint.g.cs @@ -137,16 +137,16 @@ public sealed partial class PublicEndpoint /// /// /// - /// - /// /// - /// - /// /// /// /// Latency percentiles in milliseconds over the last 30 minutes. Latency measures time to first token. Only visible when authenticated with an API key or cookie; returns null for unauthenticated requests. /// /// + /// + /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -176,14 +176,14 @@ public PublicEndpoint( this.ProviderName = providerName; this.Tag = tag ?? throw new global::System.ArgumentNullException(nameof(tag)); this.Quantization = quantization ?? throw new global::System.ArgumentNullException(nameof(quantization)); - this.SupportedParameters = supportedParameters ?? throw new global::System.ArgumentNullException(nameof(supportedParameters)); - this.SupportsImplicitCaching = supportsImplicitCaching; - this.LatencyLast30m = latencyLast30m ?? throw new global::System.ArgumentNullException(nameof(latencyLast30m)); - this.ThroughputLast30m = throughputLast30m ?? throw new global::System.ArgumentNullException(nameof(throughputLast30m)); this.MaxCompletionTokens = maxCompletionTokens; this.MaxPromptTokens = maxPromptTokens; + this.SupportedParameters = supportedParameters ?? throw new global::System.ArgumentNullException(nameof(supportedParameters)); this.Status = status; this.UptimeLast30m = uptimeLast30m; + this.SupportsImplicitCaching = supportsImplicitCaching; + this.LatencyLast30m = latencyLast30m ?? throw new global::System.ArgumentNullException(nameof(latencyLast30m)); + this.ThroughputLast30m = throughputLast30m ?? throw new global::System.ArgumentNullException(nameof(throughputLast30m)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningDetailEncrypted.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningDetailEncrypted.g.cs index f0f4888..43ecdac 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningDetailEncrypted.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningDetailEncrypted.g.cs @@ -50,8 +50,8 @@ public sealed partial class ReasoningDetailEncrypted /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// /// @@ -65,8 +65,8 @@ public ReasoningDetailEncrypted( global::OpenRouter.OneOf? format, double? index) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Id = id; this.Format = format; this.Index = index; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningDetailSummary.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningDetailSummary.g.cs index 5b4be8b..51a5724 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningDetailSummary.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningDetailSummary.g.cs @@ -50,8 +50,8 @@ public sealed partial class ReasoningDetailSummary /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// /// @@ -65,8 +65,8 @@ public ReasoningDetailSummary( global::OpenRouter.OneOf? format, double? index) { - this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary)); this.Type = type; + this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary)); this.Id = id; this.Format = format; this.Index = index; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningItem.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningItem.g.cs index 987ef0c..e3d6c17 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningItem.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningItem.g.cs @@ -70,10 +70,10 @@ public sealed partial class ReasoningItem /// /// Initializes a new instance of the class. /// - /// /// - /// /// + /// + /// /// /// /// @@ -91,10 +91,10 @@ public ReasoningItem( string? signature, global::OpenRouter.OneOf? format) { - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary)); this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Content = content; + this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary)); this.EncryptedContent = encryptedContent; this.Status = status; this.Signature = signature; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningSummaryText.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningSummaryText.g.cs index 7131729..684384c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningSummaryText.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningSummaryText.g.cs @@ -31,8 +31,8 @@ public sealed partial class ReasoningSummaryText /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ReasoningSummaryText( string text, global::OpenRouter.ReasoningSummaryTextType type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningTextContent.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningTextContent.g.cs index b4fde0e..983aa94 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningTextContent.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ReasoningTextContent.g.cs @@ -31,8 +31,8 @@ public sealed partial class ReasoningTextContent /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ReasoningTextContent( string text, global::OpenRouter.ReasoningTextContentType type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponseOutputText.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponseOutputText.g.cs index 613c1ad..36d7be6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponseOutputText.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponseOutputText.g.cs @@ -43,8 +43,8 @@ public sealed partial class ResponseOutputText /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// #if NET7_0_OR_GREATER @@ -56,8 +56,8 @@ public ResponseOutputText( global::System.Collections.Generic.IList? annotations, global::System.Collections.Generic.IList? logprobs) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Annotations = annotations; this.Logprobs = logprobs; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolsItems0.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolsItems0.g.cs index d410053..63b7f4e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolsItems0.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ResponsesRequestToolsItems0.g.cs @@ -49,8 +49,8 @@ public sealed partial class ResponsesRequestToolsItems0 /// /// Initializes a new instance of the class. /// - /// /// + /// /// /// /// @@ -64,8 +64,8 @@ public ResponsesRequestToolsItems0( bool? strict, object? parameters) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Type = type; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description; this.Strict = strict; this.Parameters = parameters; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.TopProviderInfo.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.TopProviderInfo.g.cs index 6151ca4..7fe4c27 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.TopProviderInfo.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.TopProviderInfo.g.cs @@ -36,15 +36,15 @@ public sealed partial class TopProviderInfo /// /// Initializes a new instance of the class. /// + /// + /// Whether the top provider moderates content + /// /// /// Context length from the top provider /// /// /// Maximum completion tokens from the top provider /// - /// - /// Whether the top provider moderates content - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -53,9 +53,9 @@ public TopProviderInfo( double? contextLength, double? maxCompletionTokens) { - this.IsModerated = isModerated; this.ContextLength = contextLength; this.MaxCompletionTokens = maxCompletionTokens; + this.IsModerated = isModerated; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.URLCitation.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.URLCitation.g.cs index fffc65a..0fc1811 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.URLCitation.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.URLCitation.g.cs @@ -52,11 +52,11 @@ public sealed partial class URLCitation /// /// Initializes a new instance of the class. /// - /// /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,11 +67,11 @@ public URLCitation( double endIndex, global::OpenRouter.UrlCitationType type) { + this.Type = type; this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.Title = title ?? throw new global::System.ArgumentNullException(nameof(title)); this.StartIndex = startIndex; this.EndIndex = endIndex; - this.Type = type; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UsageCostDetails.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UsageCostDetails.g.cs index 0699db0..8d5f360 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.UsageCostDetails.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UsageCostDetails.g.cs @@ -37,9 +37,9 @@ public sealed partial class UsageCostDetails /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -48,9 +48,9 @@ public UsageCostDetails( double upstreamInferenceOutputCost, double? upstreamInferenceCost) { + this.UpstreamInferenceCost = upstreamInferenceCost; this.UpstreamInferenceInputCost = upstreamInferenceInputCost; this.UpstreamInferenceOutputCost = upstreamInferenceOutputCost; - this.UpstreamInferenceCost = upstreamInferenceCost; } ///