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 @@ -176,26 +176,6 @@ partial void ProcessCloneVoiceResponseContent(
}

var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent();
__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent(voiceName ?? string.Empty),
name: "\"voice_name\"");

if (voiceTags != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent(voiceTags ?? string.Empty),
name: "\"voice_tags\"");

}
if (langCode != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent(langCode ?? string.Empty),
name: "\"lang_code\"");

}
var __contentVoiceFile = new global::System.Net.Http.ByteArrayContent(request.VoiceFile ?? global::System.Array.Empty<byte>());
__contentVoiceFile.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue(
request.VoiceFilename is null
Expand Down Expand Up @@ -709,26 +689,6 @@ request.VoiceFilename is null
}

var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent();
__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent(voiceName ?? string.Empty),
name: "\"voice_name\"");

if (voiceTags != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent(voiceTags ?? string.Empty),
name: "\"voice_tags\"");

}
if (langCode != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent(langCode ?? string.Empty),
name: "\"lang_code\"");

}
var __contentVoiceFile = new global::System.Net.Http.StreamContent(voiceFile);
__contentVoiceFile.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue(
request.VoiceFilename is null
Expand Down Expand Up @@ -1192,26 +1152,6 @@ request.VoiceFilename is null
}

var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent();
__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent(voiceName ?? string.Empty),
name: "\"voice_name\"");

if (voiceTags != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent(voiceTags ?? string.Empty),
name: "\"voice_tags\"");

}
if (langCode != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent(langCode ?? string.Empty),
name: "\"lang_code\"");

}
var __contentVoiceFile = new global::System.Net.Http.StreamContent(voiceFile);
__contentVoiceFile.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue(
request.VoiceFilename is null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,26 +171,6 @@ partial void ProcessUpdateVoiceResponseContent(
}

var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent();
__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent(voiceId ?? string.Empty),
name: "\"voice_id\"");

if (newVoiceName != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent(newVoiceName ?? string.Empty),
name: "\"new_voice_name\"");

}
if (newVoiceTags != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent(newVoiceTags ?? string.Empty),
name: "\"new_voice_tags\"");

}
if (request.NewVoiceFile != default)
{

Expand Down