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 @@ -116,6 +116,11 @@ public CreateSpeechUnderstandingResponse200(global::AssemblyAI.LLMGatewayTransla
LLMGatewayTranslationResponse = value;
}

/// <summary>
///
/// </summary>
public static CreateSpeechUnderstandingResponse200 FromLLMGatewayTranslationResponse(global::AssemblyAI.LLMGatewayTranslationResponse? value) => new CreateSpeechUnderstandingResponse200(value);

/// <summary>
///
/// </summary>
Expand All @@ -134,6 +139,11 @@ public CreateSpeechUnderstandingResponse200(global::AssemblyAI.LLMGatewaySpeaker
LLMGatewaySpeakerIdentificationResponse = value;
}

/// <summary>
///
/// </summary>
public static CreateSpeechUnderstandingResponse200 FromLLMGatewaySpeakerIdentificationResponse(global::AssemblyAI.LLMGatewaySpeakerIdentificationResponse? value) => new CreateSpeechUnderstandingResponse200(value);

/// <summary>
///
/// </summary>
Expand All @@ -152,6 +162,11 @@ public CreateSpeechUnderstandingResponse200(global::AssemblyAI.LLMGatewayCustomF
LLMGatewayCustomFormattingResponse = value;
}

/// <summary>
///
/// </summary>
public static CreateSpeechUnderstandingResponse200 FromLLMGatewayCustomFormattingResponse(global::AssemblyAI.LLMGatewayCustomFormattingResponse? value) => new CreateSpeechUnderstandingResponse200(value);

/// <summary>
///
/// </summary>
Expand Down
20 changes: 20 additions & 0 deletions src/libs/AssemblyAI/Generated/AssemblyAI.Models.Message.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ public Message(global::AssemblyAI.MessageVariant1? value)
MessageVariant1 = value;
}

/// <summary>
///
/// </summary>
public static Message FromMessageVariant1(global::AssemblyAI.MessageVariant1? value) => new Message(value);

/// <summary>
///
/// </summary>
Expand All @@ -164,6 +169,11 @@ public Message(global::AssemblyAI.MessageVariant2? value)
MessageVariant2 = value;
}

/// <summary>
///
/// </summary>
public static Message FromMessageVariant2(global::AssemblyAI.MessageVariant2? value) => new Message(value);

/// <summary>
///
/// </summary>
Expand All @@ -182,6 +192,11 @@ public Message(global::AssemblyAI.MessageVariant3? value)
MessageVariant3 = value;
}

/// <summary>
///
/// </summary>
public static Message FromMessageVariant3(global::AssemblyAI.MessageVariant3? value) => new Message(value);

/// <summary>
///
/// </summary>
Expand All @@ -200,6 +215,11 @@ public Message(global::AssemblyAI.MessageVariant4? value)
Tool = value;
}

/// <summary>
///
/// </summary>
public static Message FromTool(global::AssemblyAI.MessageVariant4? value) => new Message(value);

/// <summary>
///
/// </summary>
Expand Down
10 changes: 10 additions & 0 deletions src/libs/AssemblyAI/Generated/AssemblyAI.Models.ToolChoice.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ public ToolChoice(global::AssemblyAI.ToolChoice0? value)
ToolChoice0 = value;
}

/// <summary>
///
/// </summary>
public static ToolChoice FromToolChoice0(global::AssemblyAI.ToolChoice0? value) => new ToolChoice(value);

/// <summary>
///
/// </summary>
Expand All @@ -104,6 +109,11 @@ public ToolChoice(global::AssemblyAI.ToolChoice1? value)
ToolChoice1 = value;
}

/// <summary>
///
/// </summary>
public static ToolChoice FromToolChoice1(global::AssemblyAI.ToolChoice1? value) => new ToolChoice(value);

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ public TranscriptOptionalParamsSpeechUnderstandingRequest(global::AssemblyAI.Tra
TranslationRequestBody = value;
}

/// <summary>
///
/// </summary>
public static TranscriptOptionalParamsSpeechUnderstandingRequest FromTranslationRequestBody(global::AssemblyAI.TranslationRequestBody? value) => new TranscriptOptionalParamsSpeechUnderstandingRequest(value);

/// <summary>
///
/// </summary>
Expand All @@ -134,6 +139,11 @@ public TranscriptOptionalParamsSpeechUnderstandingRequest(global::AssemblyAI.Spe
SpeakerIdentificationRequestBody = value;
}

/// <summary>
///
/// </summary>
public static TranscriptOptionalParamsSpeechUnderstandingRequest FromSpeakerIdentificationRequestBody(global::AssemblyAI.SpeakerIdentificationRequestBody? value) => new TranscriptOptionalParamsSpeechUnderstandingRequest(value);

/// <summary>
///
/// </summary>
Expand All @@ -152,6 +162,11 @@ public TranscriptOptionalParamsSpeechUnderstandingRequest(global::AssemblyAI.Cus
CustomFormattingRequestBody = value;
}

/// <summary>
///
/// </summary>
public static TranscriptOptionalParamsSpeechUnderstandingRequest FromCustomFormattingRequestBody(global::AssemblyAI.CustomFormattingRequestBody? value) => new TranscriptOptionalParamsSpeechUnderstandingRequest(value);

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ public TranscriptSpeechUnderstandingRequest(global::AssemblyAI.TranslationReques
TranslationRequestBody = value;
}

/// <summary>
///
/// </summary>
public static TranscriptSpeechUnderstandingRequest FromTranslationRequestBody(global::AssemblyAI.TranslationRequestBody? value) => new TranscriptSpeechUnderstandingRequest(value);

/// <summary>
///
/// </summary>
Expand All @@ -134,6 +139,11 @@ public TranscriptSpeechUnderstandingRequest(global::AssemblyAI.SpeakerIdentifica
SpeakerIdentificationRequestBody = value;
}

/// <summary>
///
/// </summary>
public static TranscriptSpeechUnderstandingRequest FromSpeakerIdentificationRequestBody(global::AssemblyAI.SpeakerIdentificationRequestBody? value) => new TranscriptSpeechUnderstandingRequest(value);

/// <summary>
///
/// </summary>
Expand All @@ -152,6 +162,11 @@ public TranscriptSpeechUnderstandingRequest(global::AssemblyAI.CustomFormattingR
CustomFormattingRequestBody = value;
}

/// <summary>
///
/// </summary>
public static TranscriptSpeechUnderstandingRequest FromCustomFormattingRequestBody(global::AssemblyAI.CustomFormattingRequestBody? value) => new TranscriptSpeechUnderstandingRequest(value);

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ public TranscriptSpeechUnderstandingResponse(global::AssemblyAI.TranslationRespo
TranslationResponse = value;
}

/// <summary>
///
/// </summary>
public static TranscriptSpeechUnderstandingResponse FromTranslationResponse(global::AssemblyAI.TranslationResponse? value) => new TranscriptSpeechUnderstandingResponse(value);

/// <summary>
///
/// </summary>
Expand All @@ -134,6 +139,11 @@ public TranscriptSpeechUnderstandingResponse(global::AssemblyAI.SpeakerIdentific
SpeakerIdentificationResponse = value;
}

/// <summary>
///
/// </summary>
public static TranscriptSpeechUnderstandingResponse FromSpeakerIdentificationResponse(global::AssemblyAI.SpeakerIdentificationResponse? value) => new TranscriptSpeechUnderstandingResponse(value);

/// <summary>
///
/// </summary>
Expand All @@ -152,6 +162,11 @@ public TranscriptSpeechUnderstandingResponse(global::AssemblyAI.CustomFormatting
CustomFormattingResponse = value;
}

/// <summary>
///
/// </summary>
public static TranscriptSpeechUnderstandingResponse FromCustomFormattingResponse(global::AssemblyAI.CustomFormattingResponse? value) => new TranscriptSpeechUnderstandingResponse(value);

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ public UnderstandingRequestSpeechUnderstandingRequest(global::AssemblyAI.Transla
TranslationRequestBody = value;
}

/// <summary>
///
/// </summary>
public static UnderstandingRequestSpeechUnderstandingRequest FromTranslationRequestBody(global::AssemblyAI.TranslationRequestBody? value) => new UnderstandingRequestSpeechUnderstandingRequest(value);

/// <summary>
///
/// </summary>
Expand All @@ -134,6 +139,11 @@ public UnderstandingRequestSpeechUnderstandingRequest(global::AssemblyAI.Speaker
SpeakerIdentificationRequestBody = value;
}

/// <summary>
///
/// </summary>
public static UnderstandingRequestSpeechUnderstandingRequest FromSpeakerIdentificationRequestBody(global::AssemblyAI.SpeakerIdentificationRequestBody? value) => new UnderstandingRequestSpeechUnderstandingRequest(value);

/// <summary>
///
/// </summary>
Expand All @@ -152,6 +162,11 @@ public UnderstandingRequestSpeechUnderstandingRequest(global::AssemblyAI.CustomF
CustomFormattingRequestBody = value;
}

/// <summary>
///
/// </summary>
public static UnderstandingRequestSpeechUnderstandingRequest FromCustomFormattingRequestBody(global::AssemblyAI.CustomFormattingRequestBody? value) => new UnderstandingRequestSpeechUnderstandingRequest(value);

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ public UserAssistantSystemMessageContent(string? value)
UserAssistantSystemMessageContentVariant1 = value;
}

/// <summary>
///
/// </summary>
public static UserAssistantSystemMessageContent FromUserAssistantSystemMessageContentVariant1(string? value) => new UserAssistantSystemMessageContent(value);

/// <summary>
///
/// </summary>
Expand Down
10 changes: 10 additions & 0 deletions src/libs/AssemblyAI/Generated/AssemblyAI.OneOf.2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ public OneOf(T1? value)
Value1 = value;
}

/// <summary>
///
/// </summary>
public static OneOf<T1, T2> FromValue1(T1? value) => new OneOf<T1, T2>(value);

/// <summary>
///
/// </summary>
Expand All @@ -103,6 +108,11 @@ public OneOf(T2? value)
Value2 = value;
}

/// <summary>
///
/// </summary>
public static OneOf<T1, T2> FromValue2(T2? value) => new OneOf<T1, T2>(value);

/// <summary>
///
/// </summary>
Expand Down
Loading