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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ public sealed partial class BaseInputsOneOf1Items0
/// <summary>
/// Initializes a new instance of the <see cref="BaseInputsOneOf1Items0" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="role"></param>
/// <param name="content"></param>
/// <param name="type"></param>
/// <param name="phase"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
Expand All @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ public sealed partial class BaseInputsOneOf1Items1
/// Initializes a new instance of the <see cref="BaseInputsOneOf1Items1" /> class.
/// </summary>
/// <param name="id"></param>
/// <param name="type"></param>
/// <param name="role"></param>
/// <param name="content"></param>
/// <param name="type"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ public sealed partial class BaseInputsOneOf1Items2
/// <summary>
/// Initializes a new instance of the <see cref="BaseInputsOneOf1Items2" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="id"></param>
/// <param name="callId"></param>
/// <param name="output"></param>
/// <param name="type"></param>
/// <param name="id"></param>
/// <param name="status"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
Expand All @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ public sealed partial class BaseInputsOneOf1Items3
/// <summary>
/// Initializes a new instance of the <see cref="BaseInputsOneOf1Items3" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="callId"></param>
/// <param name="name"></param>
/// <param name="arguments"></param>
/// <param name="type"></param>
/// <param name="id"></param>
/// <param name="status"></param>
#if NET7_0_OR_GREATER
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public sealed partial class BaseMessagesResultContentItems0
/// <summary>
/// Initializes a new instance of the <see cref="BaseMessagesResultContentItems0" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="text"></param>
/// <param name="type"></param>
/// <param name="citations"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
Expand All @@ -48,8 +48,8 @@ public BaseMessagesResultContentItems0(
global::OpenRouter.BaseMessagesResultContentItemsOneOf0Type type,
global::System.Collections.Generic.IList<global::OpenRouter.BaseMessagesResultContentItemsOneOf0CitationsItems>? 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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ public sealed partial class BaseMessagesResultContentItems1
/// <summary>
/// Initializes a new instance of the <see cref="BaseMessagesResultContentItems1" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="id"></param>
/// <param name="caller"></param>
/// <param name="name"></param>
/// <param name="type"></param>
/// <param name="input"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
Expand All @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ public sealed partial class BaseMessagesResultContentItems10
/// <summary>
/// Initializes a new instance of the <see cref="BaseMessagesResultContentItems10" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="content"></param>
/// <param name="toolUseId"></param>
/// <param name="type"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ public sealed partial class BaseMessagesResultContentItems11
/// <summary>
/// Initializes a new instance of the <see cref="BaseMessagesResultContentItems11" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="fileId"></param>
/// <param name="type"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
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));
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public sealed partial class BaseMessagesResultContentItems2
/// <summary>
/// Initializes a new instance of the <see cref="BaseMessagesResultContentItems2" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="thinking"></param>
/// <param name="signature"></param>
/// <param name="type"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ public sealed partial class BaseMessagesResultContentItems3
/// <summary>
/// Initializes a new instance of the <see cref="BaseMessagesResultContentItems3" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="data"></param>
/// <param name="type"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
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));
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ public sealed partial class BaseMessagesResultContentItems4
/// <summary>
/// Initializes a new instance of the <see cref="BaseMessagesResultContentItems4" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="id"></param>
/// <param name="caller"></param>
/// <param name="name"></param>
/// <param name="type"></param>
/// <param name="input"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
Expand All @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public sealed partial class BaseMessagesResultContentItems5
/// <summary>
/// Initializes a new instance of the <see cref="BaseMessagesResultContentItems5" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="caller"></param>
/// <param name="toolUseId"></param>
/// <param name="content"></param>
/// <param name="type"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public sealed partial class BaseMessagesResultContentItems6
/// <summary>
/// Initializes a new instance of the <see cref="BaseMessagesResultContentItems6" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="caller"></param>
/// <param name="content"></param>
/// <param name="toolUseId"></param>
/// <param name="type"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ public sealed partial class BaseMessagesResultContentItems7
/// <summary>
/// Initializes a new instance of the <see cref="BaseMessagesResultContentItems7" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="content"></param>
/// <param name="toolUseId"></param>
/// <param name="type"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ public sealed partial class BaseMessagesResultContentItems8
/// <summary>
/// Initializes a new instance of the <see cref="BaseMessagesResultContentItems8" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="content"></param>
/// <param name="toolUseId"></param>
/// <param name="type"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ public sealed partial class BaseMessagesResultContentItems9
/// <summary>
/// Initializes a new instance of the <see cref="BaseMessagesResultContentItems9" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="content"></param>
/// <param name="toolUseId"></param>
/// <param name="type"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ public sealed partial class BaseMessagesResultContentItemsOneOf0CitationsItems0
/// <summary>
/// Initializes a new instance of the <see cref="BaseMessagesResultContentItemsOneOf0CitationsItems0" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="citedText"></param>
/// <param name="documentIndex"></param>
/// <param name="documentTitle"></param>
/// <param name="startCharIndex"></param>
/// <param name="endCharIndex"></param>
/// <param name="type"></param>
/// <param name="documentTitle"></param>
/// <param name="fileId"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
Expand All @@ -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;
}

Expand Down
Loading