From f07b16a300747271d383ba785715fae8c5cf39af Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 8 Aug 2026 01:03:19 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...rCreateGenerateAudioCommandApiCommand.g.cs | 45 +- ...rCreateGenerateImageCommandApiCommand.g.cs | 45 +- ...rCreateGenerateVideoCommandApiCommand.g.cs | 45 +- ...ModelRouterClient.CreateGenerateAudio.g.cs | 4 - ...ModelRouterClient.CreateGenerateImage.g.cs | 4 - ...ModelRouterClient.CreateGenerateVideo.g.cs | 4 - ...onverters.CreateGenerateAudioResponse.g.cs | 72 - ...RunRoutingResolvedSettingsOptimizeFor.g.cs | 53 - ...ngResolvedSettingsOptimizeForNullable.g.cs | 60 - ...ioTaskCreatedRoutingResolvedInputType.g.cs | 53 - ...eatedRoutingResolvedInputTypeNullable.g.cs | 60 - ...oTaskCreatedRoutingResolvedInputVoice.g.cs | 53 - ...atedRoutingResolvedInputVoiceNullable.g.cs | 60 - ...tedRoutingResolvedSettingsOptimizeFor.g.cs | 53 - ...ngResolvedSettingsOptimizeForNullable.g.cs | 60 - ...udioResponseRoutingResolvedInputType.g.cs} | 14 +- ...onseRoutingResolvedInputTypeNullable.g.cs} | 14 +- ...dioResponseRoutingResolvedInputVoice.g.cs} | 14 +- ...nseRoutingResolvedInputVoiceNullable.g.cs} | 14 +- ...seRoutingResolvedSettingsOptimizeFor.g.cs} | 14 +- ...gResolvedSettingsOptimizeForNullable.g.cs} | 14 +- ...onverters.CreateGenerateImageResponse.g.cs | 72 - ...RunRoutingResolvedSettingsOptimizeFor.g.cs | 53 - ...ngResolvedSettingsOptimizeForNullable.g.cs | 60 - ...tedRoutingResolvedSettingsOptimizeFor.g.cs | 53 - ...ngResolvedSettingsOptimizeForNullable.g.cs | 60 - ...seRoutingResolvedSettingsOptimizeFor.g.cs} | 14 +- ...gResolvedSettingsOptimizeForNullable.g.cs} | 14 +- ...onverters.CreateGenerateVideoResponse.g.cs | 72 - ...RunRoutingResolvedSettingsOptimizeFor.g.cs | 53 - ...ngResolvedSettingsOptimizeForNullable.g.cs | 60 - ...tedRoutingResolvedSettingsOptimizeFor.g.cs | 53 - ...ngResolvedSettingsOptimizeForNullable.g.cs | 60 - ...seRoutingResolvedSettingsOptimizeFor.g.cs} | 14 +- ...gResolvedSettingsOptimizeForNullable.g.cs} | 14 +- ...SeedAudioVoiceSeedPresetVoicePresetId.g.cs | 53 - ...oVoiceSeedPresetVoicePresetIdNullable.g.cs | 60 - .../Runway.JsonConverters.Voice10.g.cs | 28 +- .../Runway.JsonConverters.Voice11.g.cs | 28 +- .../Runway.JsonConverters.Voice12.g.cs | 28 +- .../Runway.JsonConverters.Voice13.g.cs | 28 +- .../Runway.JsonConverters.Voice14.g.cs | 28 +- .../Runway.JsonConverters.Voice15.g.cs | 28 +- .../Runway.JsonConverters.Voice16.g.cs | 28 +- .../Runway.JsonConverters.Voice17.g.cs | 72 - .../Runway.JsonConverters.Voice4.g.cs | 36 +- .../Runway.JsonConverters.Voice5.g.cs | 44 +- .../Runway.JsonConverters.Voice6.g.cs | 28 +- .../Runway.JsonConverters.Voice7.g.cs | 28 +- .../Runway.JsonConverters.Voice8.g.cs | 28 +- .../Runway.JsonConverters.Voice9.g.cs | 28 +- .../Runway.JsonSerializerContext.g.cs | 1707 ++--------------- .../Runway.JsonSerializerContextTypes.g.cs | 1442 +++++++------- ...ModelRouterClient.CreateGenerateAudio.g.cs | 5 - ...ModelRouterClient.CreateGenerateImage.g.cs | 5 - ...ModelRouterClient.CreateGenerateVideo.g.cs | 5 - ...els.CreateAvatarsResponseAvatarFailed.g.cs | 6 +- ...CreateAvatarsResponseAvatarProcessing.g.cs | 6 +- ...dels.CreateAvatarsResponseAvatarReady.g.cs | 6 +- ...way.Models.CreateGenerateAudioRequest.g.cs | 13 +- ...odels.CreateGenerateAudioRequestInput.g.cs | 6 +- ...dels.CreateGenerateAudioResponse.Json.g.cs | 6 +- ...ay.Models.CreateGenerateAudioResponse.g.cs | 300 +-- ...ateGenerateAudioResponseDiscriminator.g.cs | 45 - ...erateAudioResponseDiscriminatorDryRun.g.cs | 51 - ...enerateAudioResponseRoutedAudioDryRun.g.cs | 69 - ...dioDryRunRoutingCapacityFallback.Json.g.cs | 141 -- ...dAudioDryRunRoutingEstimatedCost.Json.g.cs | 141 -- ...dAudioDryRunRoutingResolvedInput.Json.g.cs | 141 -- ...dioDryRunRoutingResolvedSettings.Json.g.cs | 141 -- ...RunRoutingResolvedSettingsOptimizeFor.g.cs | 57 - ...tingResolvedSettingsPriceCeiling.Json.g.cs | 141 -- ...teAudioResponseRoutedAudioTaskCreated.g.cs | 69 - ...nseRoutedAudioTaskCreatedRouting.Json.g.cs | 141 -- ...ResponseRoutedAudioTaskCreatedRouting.g.cs | 118 -- ...skCreatedRoutingCapacityFallback.Json.g.cs | 141 -- ...dioTaskCreatedRoutingCapacityFallback.g.cs | 59 - ...oTaskCreatedRoutingEstimatedCost.Json.g.cs | 141 -- ...dAudioTaskCreatedRoutingEstimatedCost.g.cs | 47 - ...oTaskCreatedRoutingResolvedInput.Json.g.cs | 141 -- ...dAudioTaskCreatedRoutingResolvedInput.g.cs | 61 - ...ioTaskCreatedRoutingResolvedInputType.g.cs | 51 - ...oTaskCreatedRoutingResolvedInputVoice.g.cs | 63 - ...skCreatedRoutingResolvedSettings.Json.g.cs | 141 -- ...dioTaskCreatedRoutingResolvedSettings.g.cs | 59 - ...tedRoutingResolvedSettingsOptimizeFor.g.cs | 57 - ...tingResolvedSettingsPriceCeiling.Json.g.cs | 141 -- ...edRoutingResolvedSettingsPriceCeiling.g.cs | 19 - ...ateGenerateAudioResponseRouting.Json.g.cs} | 26 +- ...s.CreateGenerateAudioResponseRouting.g.cs} | 26 +- ...ResponseRoutingCapacityFallback.Json.g.cs} | 26 +- ...AudioResponseRoutingCapacityFallback.g.cs} | 10 +- ...dioResponseRoutingEstimatedCost.Json.g.cs} | 26 +- ...ateAudioResponseRoutingEstimatedCost.g.cs} | 10 +- ...dioResponseRoutingResolvedInput.Json.g.cs} | 26 +- ...ateAudioResponseRoutingResolvedInput.g.cs} | 22 +- ...udioResponseRoutingResolvedInputType.g.cs} | 16 +- ...dioResponseRoutingResolvedInputVoice.g.cs} | 24 +- ...oResponseRoutingResolvedSettings.Json.g.cs | 141 ++ ...AudioResponseRoutingResolvedSettings.g.cs} | 16 +- ...nseRoutingResolvedSettingsOptimizeFor.g.cs | 57 + ...tingResolvedSettingsPriceCeiling.Json.g.cs | 141 ++ ...eRoutingResolvedSettingsPriceCeiling.g.cs} | 2 +- ...s.CreateGenerateAudioResponseVariant1.g.cs | 2 +- ...way.Models.CreateGenerateImageRequest.g.cs | 13 +- ...dels.CreateGenerateImageResponse.Json.g.cs | 6 +- ...ay.Models.CreateGenerateImageResponse.g.cs | 300 +-- ...ateGenerateImageResponseDiscriminator.g.cs | 45 - ...erateImageResponseDiscriminatorDryRun.g.cs | 51 - ...enerateImageResponseRoutedImageDryRun.g.cs | 69 - ...ageDryRunRoutingCapacityFallback.Json.g.cs | 141 -- ...dImageDryRunRoutingEstimatedCost.Json.g.cs | 141 -- ...dImageDryRunRoutingResolvedInput.Json.g.cs | 141 -- ...ageDryRunRoutingResolvedSettings.Json.g.cs | 141 -- ...RunRoutingResolvedSettingsOptimizeFor.g.cs | 57 - ...tingResolvedSettingsPriceCeiling.Json.g.cs | 141 -- ...teImageResponseRoutedImageTaskCreated.g.cs | 69 - ...nseRoutedImageTaskCreatedRouting.Json.g.cs | 141 -- ...ResponseRoutedImageTaskCreatedRouting.g.cs | 118 -- ...skCreatedRoutingCapacityFallback.Json.g.cs | 141 -- ...ageTaskCreatedRoutingCapacityFallback.g.cs | 59 - ...eTaskCreatedRoutingEstimatedCost.Json.g.cs | 141 -- ...dImageTaskCreatedRoutingEstimatedCost.g.cs | 47 - ...eTaskCreatedRoutingResolvedInput.Json.g.cs | 141 -- ...dImageTaskCreatedRoutingResolvedInput.g.cs | 71 - ...skCreatedRoutingResolvedSettings.Json.g.cs | 141 -- ...ageTaskCreatedRoutingResolvedSettings.g.cs | 59 - ...tedRoutingResolvedSettingsOptimizeFor.g.cs | 57 - ...tingResolvedSettingsPriceCeiling.Json.g.cs | 141 -- ...edRoutingResolvedSettingsPriceCeiling.g.cs | 19 - ...ateGenerateImageResponseRouting.Json.g.cs} | 26 +- ...s.CreateGenerateImageResponseRouting.g.cs} | 26 +- ...ResponseRoutingCapacityFallback.Json.g.cs} | 26 +- ...ImageResponseRoutingCapacityFallback.g.cs} | 10 +- ...ageResponseRoutingEstimatedCost.Json.g.cs} | 26 +- ...ateImageResponseRoutingEstimatedCost.g.cs} | 10 +- ...ageResponseRoutingResolvedInput.Json.g.cs} | 26 +- ...ateImageResponseRoutingResolvedInput.g.cs} | 10 +- ...eResponseRoutingResolvedSettings.Json.g.cs | 141 ++ ...ImageResponseRoutingResolvedSettings.g.cs} | 16 +- ...nseRoutingResolvedSettingsOptimizeFor.g.cs | 57 + ...tingResolvedSettingsPriceCeiling.Json.g.cs | 141 ++ ...eRoutingResolvedSettingsPriceCeiling.g.cs} | 2 +- ...s.CreateGenerateImageResponseVariant1.g.cs | 2 +- ...way.Models.CreateGenerateVideoRequest.g.cs | 13 +- ...dels.CreateGenerateVideoResponse.Json.g.cs | 6 +- ...ay.Models.CreateGenerateVideoResponse.g.cs | 300 +-- ...ateGenerateVideoResponseDiscriminator.g.cs | 45 - ...erateVideoResponseDiscriminatorDryRun.g.cs | 51 - ...enerateVideoResponseRoutedVideoDryRun.g.cs | 69 - ...deoDryRunRoutingCapacityFallback.Json.g.cs | 141 -- ...dVideoDryRunRoutingEstimatedCost.Json.g.cs | 141 -- ...dVideoDryRunRoutingResolvedInput.Json.g.cs | 141 -- ...deoDryRunRoutingResolvedSettings.Json.g.cs | 141 -- ...RunRoutingResolvedSettingsOptimizeFor.g.cs | 57 - ...tingResolvedSettingsPriceCeiling.Json.g.cs | 141 -- ...teVideoResponseRoutedVideoTaskCreated.g.cs | 69 - ...nseRoutedVideoTaskCreatedRouting.Json.g.cs | 141 -- ...ResponseRoutedVideoTaskCreatedRouting.g.cs | 118 -- ...skCreatedRoutingCapacityFallback.Json.g.cs | 141 -- ...deoTaskCreatedRoutingCapacityFallback.g.cs | 59 - ...oTaskCreatedRoutingEstimatedCost.Json.g.cs | 141 -- ...dVideoTaskCreatedRoutingEstimatedCost.g.cs | 47 - ...oTaskCreatedRoutingResolvedInput.Json.g.cs | 141 -- ...dVideoTaskCreatedRoutingResolvedInput.g.cs | 71 - ...skCreatedRoutingResolvedSettings.Json.g.cs | 141 -- ...deoTaskCreatedRoutingResolvedSettings.g.cs | 59 - ...tedRoutingResolvedSettingsOptimizeFor.g.cs | 57 - ...tingResolvedSettingsPriceCeiling.Json.g.cs | 141 -- ...edRoutingResolvedSettingsPriceCeiling.g.cs | 19 - ...ateGenerateVideoResponseRouting.Json.g.cs} | 26 +- ...s.CreateGenerateVideoResponseRouting.g.cs} | 26 +- ...ResponseRoutingCapacityFallback.Json.g.cs} | 26 +- ...VideoResponseRoutingCapacityFallback.g.cs} | 10 +- ...deoResponseRoutingEstimatedCost.Json.g.cs} | 26 +- ...ateVideoResponseRoutingEstimatedCost.g.cs} | 10 +- ...deoResponseRoutingResolvedInput.Json.g.cs} | 26 +- ...ateVideoResponseRoutingResolvedInput.g.cs} | 10 +- ...oResponseRoutingResolvedSettings.Json.g.cs | 141 ++ ...VideoResponseRoutingResolvedSettings.g.cs} | 16 +- ...nseRoutingResolvedSettingsOptimizeFor.g.cs | 57 + ...tingResolvedSettingsPriceCeiling.Json.g.cs | 141 ++ ...eRoutingResolvedSettingsPriceCeiling.g.cs} | 2 +- ...s.CreateGenerateVideoResponseVariant1.g.cs | 2 +- ...ls.CreateTextToSpeechRequestSeedAudio.g.cs | 5 +- ...equestSeedAudioVoiceDiscriminatorType.g.cs | 6 - ...estSeedAudioVoiceSeedPresetVoice.Json.g.cs | 141 -- ...hRequestSeedAudioVoiceSeedPresetVoice.g.cs | 70 - ...SeedAudioVoiceSeedPresetVoicePresetId.g.cs | 159 -- ...Models.GetAvatarsResponseAvatarFailed.g.cs | 6 +- ...ls.GetAvatarsResponseAvatarProcessing.g.cs | 6 +- ....Models.GetAvatarsResponseAvatarReady.g.cs | 6 +- ...etAvatarsResponseDataItemAvatarFailed.g.cs | 6 +- ...atarsResponseDataItemAvatarProcessing.g.cs | 6 +- ...GetAvatarsResponseDataItemAvatarReady.g.cs | 6 +- ...dels.PatchAvatarsResponseAvatarFailed.g.cs | 6 +- ....PatchAvatarsResponseAvatarProcessing.g.cs | 6 +- ...odels.PatchAvatarsResponseAvatarReady.g.cs | 6 +- .../Generated/Runway.Models.Voice10.g.cs | 60 +- .../Generated/Runway.Models.Voice11.g.cs | 60 +- .../Generated/Runway.Models.Voice12.g.cs | 60 +- .../Generated/Runway.Models.Voice13.g.cs | 60 +- .../Generated/Runway.Models.Voice14.g.cs | 60 +- .../Generated/Runway.Models.Voice15.g.cs | 60 +- .../Generated/Runway.Models.Voice16.g.cs | 60 +- .../Generated/Runway.Models.Voice17.Json.g.cs | 141 -- .../Generated/Runway.Models.Voice17.g.cs | 303 --- .../Generated/Runway.Models.Voice4.g.cs | 104 +- .../Generated/Runway.Models.Voice5.g.cs | 140 +- .../Generated/Runway.Models.Voice6.g.cs | 60 +- .../Generated/Runway.Models.Voice7.g.cs | 60 +- .../Generated/Runway.Models.Voice8.g.cs | 60 +- .../Generated/Runway.Models.Voice9.g.cs | 60 +- src/libs/Runway/openapi.json | 926 +++------ 214 files changed, 3252 insertions(+), 14111 deletions(-) delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponse.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForNullable.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeNullable.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceNullable.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForNullable.g.cs rename src/libs/Runway/Generated/{Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRun.g.cs => Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputType.g.cs} (75%) rename src/libs/Runway/Generated/{Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunNullable.g.cs => Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputTypeNullable.g.cs} (76%) rename src/libs/Runway/Generated/{Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType.g.cs => Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoice.g.cs} (71%) rename src/libs/Runway/Generated/{Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeNullable.g.cs => Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoiceNullable.g.cs} (72%) rename src/libs/Runway/Generated/{Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.g.cs => Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor.g.cs} (70%) rename src/libs/Runway/Generated/{Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceNullable.g.cs => Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForNullable.g.cs} (72%) delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponse.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForNullable.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForNullable.g.cs rename src/libs/Runway/Generated/{Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRun.g.cs => Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor.g.cs} (72%) rename src/libs/Runway/Generated/{Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunNullable.g.cs => Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForNullable.g.cs} (74%) delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponse.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForNullable.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForNullable.g.cs rename src/libs/Runway/Generated/{Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRun.g.cs => Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor.g.cs} (72%) rename src/libs/Runway/Generated/{Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunNullable.g.cs => Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForNullable.g.cs} (74%) delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdNullable.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.Voice17.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseDiscriminator.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseDiscriminatorDryRun.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRun.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreated.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling.g.cs rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateAudioResponseDiscriminator.Json.g.cs => Runway.Models.CreateGenerateAudioResponseRouting.Json.g.cs} (91%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRouting.g.cs => Runway.Models.CreateGenerateAudioResponseRouting.g.cs} (81%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRouting.Json.g.cs => Runway.Models.CreateGenerateAudioResponseRoutingCapacityFallback.Json.g.cs} (89%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback.g.cs => Runway.Models.CreateGenerateAudioResponseRoutingCapacityFallback.g.cs} (85%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRun.Json.g.cs => Runway.Models.CreateGenerateAudioResponseRoutingEstimatedCost.Json.g.cs} (89%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost.g.cs => Runway.Models.CreateGenerateAudioResponseRoutingEstimatedCost.g.cs} (77%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreated.Json.g.cs => Runway.Models.CreateGenerateAudioResponseRoutingResolvedInput.Json.g.cs} (89%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput.g.cs => Runway.Models.CreateGenerateAudioResponseRoutingResolvedInput.g.cs} (73%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType.g.cs => Runway.Models.CreateGenerateAudioResponseRoutingResolvedInputType.g.cs} (54%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.g.cs => Runway.Models.CreateGenerateAudioResponseRoutingResolvedInputVoice.g.cs} (59%) create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettings.Json.g.cs rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings.g.cs => Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettings.g.cs} (76%) create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling.Json.g.cs rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling.g.cs => Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling.g.cs} (83%) delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseDiscriminator.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseDiscriminatorDryRun.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRun.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreated.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRouting.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRouting.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling.g.cs rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateImageResponseDiscriminator.Json.g.cs => Runway.Models.CreateGenerateImageResponseRouting.Json.g.cs} (91%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRouting.g.cs => Runway.Models.CreateGenerateImageResponseRouting.g.cs} (81%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRouting.Json.g.cs => Runway.Models.CreateGenerateImageResponseRoutingCapacityFallback.Json.g.cs} (89%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback.g.cs => Runway.Models.CreateGenerateImageResponseRoutingCapacityFallback.g.cs} (85%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateImageResponseRoutedImageDryRun.Json.g.cs => Runway.Models.CreateGenerateImageResponseRoutingEstimatedCost.Json.g.cs} (89%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost.g.cs => Runway.Models.CreateGenerateImageResponseRoutingEstimatedCost.g.cs} (77%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreated.Json.g.cs => Runway.Models.CreateGenerateImageResponseRoutingResolvedInput.Json.g.cs} (89%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput.g.cs => Runway.Models.CreateGenerateImageResponseRoutingResolvedInput.g.cs} (86%) create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettings.Json.g.cs rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings.g.cs => Runway.Models.CreateGenerateImageResponseRoutingResolvedSettings.g.cs} (76%) create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling.Json.g.cs rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling.g.cs => Runway.Models.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling.g.cs} (83%) delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseDiscriminator.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseDiscriminatorDryRun.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRun.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreated.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling.g.cs rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateVideoResponseDiscriminator.Json.g.cs => Runway.Models.CreateGenerateVideoResponseRouting.Json.g.cs} (91%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRouting.g.cs => Runway.Models.CreateGenerateVideoResponseRouting.g.cs} (81%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRouting.Json.g.cs => Runway.Models.CreateGenerateVideoResponseRoutingCapacityFallback.Json.g.cs} (89%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback.g.cs => Runway.Models.CreateGenerateVideoResponseRoutingCapacityFallback.g.cs} (85%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRun.Json.g.cs => Runway.Models.CreateGenerateVideoResponseRoutingEstimatedCost.Json.g.cs} (89%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost.g.cs => Runway.Models.CreateGenerateVideoResponseRoutingEstimatedCost.g.cs} (77%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreated.Json.g.cs => Runway.Models.CreateGenerateVideoResponseRoutingResolvedInput.Json.g.cs} (89%) rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput.g.cs => Runway.Models.CreateGenerateVideoResponseRoutingResolvedInput.g.cs} (87%) create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettings.Json.g.cs rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings.g.cs => Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettings.g.cs} (76%) create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling.Json.g.cs rename src/libs/Runway/Generated/{Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling.g.cs => Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling.g.cs} (83%) delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.Voice17.Json.g.cs delete mode 100644 src/libs/Runway/Generated/Runway.Models.Voice17.g.cs diff --git a/src/cli/Runway.Cli/GeneratedApi/Commands/ModelRouterCreateGenerateAudioCommandApiCommand.g.cs b/src/cli/Runway.Cli/GeneratedApi/Commands/ModelRouterCreateGenerateAudioCommandApiCommand.g.cs index c61880fa..2d66b8fd 100644 --- a/src/cli/Runway.Cli/GeneratedApi/Commands/ModelRouterCreateGenerateAudioCommandApiCommand.g.cs +++ b/src/cli/Runway.Cli/GeneratedApi/Commands/ModelRouterCreateGenerateAudioCommandApiCommand.g.cs @@ -21,32 +21,12 @@ internal static partial class ModelRouterCreateGenerateAudioCommandApiCommand Required = true, }; - private static Option DryRun { get; } = CliRuntime.CreateNullableBoolOption( - name: @"--dry-run", - description: @"When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced."); - private static Option InputOption { get; } = new( name: @"--input") { Description = @"Model-agnostic audio generation input. The router selects a model and maps these options to it.", Required = true, }; - private static Option RequestInput { get; } = new(@"--request-input") - { - Description = "Load request JSON from a file path, '-' for stdin, or an inline JSON object/array string.", - }; - - private static Option RequestJson { get; } = new(@"--request-json") - { - Description = "Request body as JSON.", - Hidden = true, - }; - - private static Option RequestFile { get; } = new(@"--request-file") - { - Description = "Path to a JSON request file, or '-' for stdin.", - Hidden = true, - }; private static string FormatResponse(ParseResult parseResult, global::Runway.CreateGenerateAudioResponse value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) { @@ -74,36 +54,14 @@ public static Command Create() Start an audio generation task using a saved Model Router config instead of naming a model. Set input.type to speech to speak promptText verbatim, or audio to generate audio described by promptText."); command.Options.Add(XRunwayVersion); command.Options.Add(ConfigId); - command.Options.Add(DryRun); command.Options.Add(InputOption); - command.Options.Add(RequestInput); - command.Options.Add(RequestJson); - command.Options.Add(RequestFile); - command.Validators.Add(result => - { - var hasInput = result.GetResult(RequestInput) is not null; - var hasRequestJson = result.GetResult(RequestJson) is not null; - var hasRequestFile = result.GetResult(RequestFile) is not null; - var specifiedCount = (hasInput ? 1 : 0) + (hasRequestJson ? 1 : 0) + (hasRequestFile ? 1 : 0); - if (specifiedCount > 1) - { - result.AddError(@"Specify at most one of --request-input, --request-json, or --request-file."); - } - }); + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => await CliRuntime.RunAsync(async () => { - var __requestBase = await CliRuntime.ReadRequestOrDefaultAsync( - parseResult, - RequestInput, - RequestJson, - RequestFile, - global::Runway.SourceGenerationContext.Default, - cancellationToken).ConfigureAwait(false); var xRunwayVersion = parseResult.GetRequiredValue(XRunwayVersion); var configId = parseResult.GetRequiredValue(ConfigId); - var dryRun = CliRuntime.WasSpecified(parseResult, DryRun) ? parseResult.GetValue(DryRun) : (__requestBase is { } __DryRunBaseValue ? __DryRunBaseValue.DryRun : default); var input = parseResult.GetRequiredValue(InputOption); using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); @@ -111,7 +69,6 @@ await CliRuntime.RunAsync(async () => var response = await client.ModelRouter.CreateGenerateAudioAsync( xRunwayVersion: xRunwayVersion, configId: configId, - dryRun: dryRun, input: input, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/Runway.Cli/GeneratedApi/Commands/ModelRouterCreateGenerateImageCommandApiCommand.g.cs b/src/cli/Runway.Cli/GeneratedApi/Commands/ModelRouterCreateGenerateImageCommandApiCommand.g.cs index 38b6812a..5b7928d2 100644 --- a/src/cli/Runway.Cli/GeneratedApi/Commands/ModelRouterCreateGenerateImageCommandApiCommand.g.cs +++ b/src/cli/Runway.Cli/GeneratedApi/Commands/ModelRouterCreateGenerateImageCommandApiCommand.g.cs @@ -21,32 +21,12 @@ internal static partial class ModelRouterCreateGenerateImageCommandApiCommand Required = true, }; - private static Option DryRun { get; } = CliRuntime.CreateNullableBoolOption( - name: @"--dry-run", - description: @"When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced."); - private static Option InputOption { get; } = new( name: @"--input") { Description = @"Model-agnostic image generation input. The router selects a model and maps these options to it.", Required = true, }; - private static Option RequestInput { get; } = new(@"--request-input") - { - Description = "Load request JSON from a file path, '-' for stdin, or an inline JSON object/array string.", - }; - - private static Option RequestJson { get; } = new(@"--request-json") - { - Description = "Request body as JSON.", - Hidden = true, - }; - - private static Option RequestFile { get; } = new(@"--request-file") - { - Description = "Path to a JSON request file, or '-' for stdin.", - Hidden = true, - }; private static string FormatResponse(ParseResult parseResult, global::Runway.CreateGenerateImageResponse value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) { @@ -74,36 +54,14 @@ public static Command Create() Start an image generation task using a saved Model Router config instead of naming a model."); command.Options.Add(XRunwayVersion); command.Options.Add(ConfigId); - command.Options.Add(DryRun); command.Options.Add(InputOption); - command.Options.Add(RequestInput); - command.Options.Add(RequestJson); - command.Options.Add(RequestFile); - command.Validators.Add(result => - { - var hasInput = result.GetResult(RequestInput) is not null; - var hasRequestJson = result.GetResult(RequestJson) is not null; - var hasRequestFile = result.GetResult(RequestFile) is not null; - var specifiedCount = (hasInput ? 1 : 0) + (hasRequestJson ? 1 : 0) + (hasRequestFile ? 1 : 0); - if (specifiedCount > 1) - { - result.AddError(@"Specify at most one of --request-input, --request-json, or --request-file."); - } - }); + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => await CliRuntime.RunAsync(async () => { - var __requestBase = await CliRuntime.ReadRequestOrDefaultAsync( - parseResult, - RequestInput, - RequestJson, - RequestFile, - global::Runway.SourceGenerationContext.Default, - cancellationToken).ConfigureAwait(false); var xRunwayVersion = parseResult.GetRequiredValue(XRunwayVersion); var configId = parseResult.GetRequiredValue(ConfigId); - var dryRun = CliRuntime.WasSpecified(parseResult, DryRun) ? parseResult.GetValue(DryRun) : (__requestBase is { } __DryRunBaseValue ? __DryRunBaseValue.DryRun : default); var input = parseResult.GetRequiredValue(InputOption); using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); @@ -111,7 +69,6 @@ await CliRuntime.RunAsync(async () => var response = await client.ModelRouter.CreateGenerateImageAsync( xRunwayVersion: xRunwayVersion, configId: configId, - dryRun: dryRun, input: input, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/Runway.Cli/GeneratedApi/Commands/ModelRouterCreateGenerateVideoCommandApiCommand.g.cs b/src/cli/Runway.Cli/GeneratedApi/Commands/ModelRouterCreateGenerateVideoCommandApiCommand.g.cs index b4717599..e94945c7 100644 --- a/src/cli/Runway.Cli/GeneratedApi/Commands/ModelRouterCreateGenerateVideoCommandApiCommand.g.cs +++ b/src/cli/Runway.Cli/GeneratedApi/Commands/ModelRouterCreateGenerateVideoCommandApiCommand.g.cs @@ -21,32 +21,12 @@ internal static partial class ModelRouterCreateGenerateVideoCommandApiCommand Required = true, }; - private static Option DryRun { get; } = CliRuntime.CreateNullableBoolOption( - name: @"--dry-run", - description: @"When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced."); - private static Option InputOption { get; } = new( name: @"--input") { Description = @"Model-agnostic video generation input. Fields are optional; the router selects a model and maps these options to it.", Required = true, }; - private static Option RequestInput { get; } = new(@"--request-input") - { - Description = "Load request JSON from a file path, '-' for stdin, or an inline JSON object/array string.", - }; - - private static Option RequestJson { get; } = new(@"--request-json") - { - Description = "Request body as JSON.", - Hidden = true, - }; - - private static Option RequestFile { get; } = new(@"--request-file") - { - Description = "Path to a JSON request file, or '-' for stdin.", - Hidden = true, - }; private static string FormatResponse(ParseResult parseResult, global::Runway.CreateGenerateVideoResponse value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) { @@ -74,36 +54,14 @@ public static Command Create() Start a video generation task using a saved Model Router config instead of naming a model."); command.Options.Add(XRunwayVersion); command.Options.Add(ConfigId); - command.Options.Add(DryRun); command.Options.Add(InputOption); - command.Options.Add(RequestInput); - command.Options.Add(RequestJson); - command.Options.Add(RequestFile); - command.Validators.Add(result => - { - var hasInput = result.GetResult(RequestInput) is not null; - var hasRequestJson = result.GetResult(RequestJson) is not null; - var hasRequestFile = result.GetResult(RequestFile) is not null; - var specifiedCount = (hasInput ? 1 : 0) + (hasRequestJson ? 1 : 0) + (hasRequestFile ? 1 : 0); - if (specifiedCount > 1) - { - result.AddError(@"Specify at most one of --request-input, --request-json, or --request-file."); - } - }); + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => await CliRuntime.RunAsync(async () => { - var __requestBase = await CliRuntime.ReadRequestOrDefaultAsync( - parseResult, - RequestInput, - RequestJson, - RequestFile, - global::Runway.SourceGenerationContext.Default, - cancellationToken).ConfigureAwait(false); var xRunwayVersion = parseResult.GetRequiredValue(XRunwayVersion); var configId = parseResult.GetRequiredValue(ConfigId); - var dryRun = CliRuntime.WasSpecified(parseResult, DryRun) ? parseResult.GetValue(DryRun) : (__requestBase is { } __DryRunBaseValue ? __DryRunBaseValue.DryRun : default); var input = parseResult.GetRequiredValue(InputOption); using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); @@ -111,7 +69,6 @@ await CliRuntime.RunAsync(async () => var response = await client.ModelRouter.CreateGenerateVideoAsync( xRunwayVersion: xRunwayVersion, configId: configId, - dryRun: dryRun, input: input, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Runway/Generated/Runway.IModelRouterClient.CreateGenerateAudio.g.cs b/src/libs/Runway/Generated/Runway.IModelRouterClient.CreateGenerateAudio.g.cs index 8119c183..7b9e3307 100644 --- a/src/libs/Runway/Generated/Runway.IModelRouterClient.CreateGenerateAudio.g.cs +++ b/src/libs/Runway/Generated/Runway.IModelRouterClient.CreateGenerateAudio.g.cs @@ -48,9 +48,6 @@ public partial interface IModelRouterClient /// /// The slug of a saved Model Router config to route this request with. /// - /// - /// When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced. - /// /// /// Model-agnostic audio generation input. The router selects a model and maps these options to it. /// @@ -61,7 +58,6 @@ public partial interface IModelRouterClient string configId, global::Runway.CreateGenerateAudioRequestInput input, string xRunwayVersion = "2024-11-06", - bool? dryRun = default, global::Runway.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Runway/Generated/Runway.IModelRouterClient.CreateGenerateImage.g.cs b/src/libs/Runway/Generated/Runway.IModelRouterClient.CreateGenerateImage.g.cs index 31012b09..842dd58b 100644 --- a/src/libs/Runway/Generated/Runway.IModelRouterClient.CreateGenerateImage.g.cs +++ b/src/libs/Runway/Generated/Runway.IModelRouterClient.CreateGenerateImage.g.cs @@ -48,9 +48,6 @@ public partial interface IModelRouterClient /// /// The slug of a saved Model Router config to route this request with. /// - /// - /// When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced. - /// /// /// Model-agnostic image generation input. The router selects a model and maps these options to it. /// @@ -61,7 +58,6 @@ public partial interface IModelRouterClient string configId, global::Runway.CreateGenerateImageRequestInput input, string xRunwayVersion = "2024-11-06", - bool? dryRun = default, global::Runway.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Runway/Generated/Runway.IModelRouterClient.CreateGenerateVideo.g.cs b/src/libs/Runway/Generated/Runway.IModelRouterClient.CreateGenerateVideo.g.cs index 4304b042..3ec36998 100644 --- a/src/libs/Runway/Generated/Runway.IModelRouterClient.CreateGenerateVideo.g.cs +++ b/src/libs/Runway/Generated/Runway.IModelRouterClient.CreateGenerateVideo.g.cs @@ -48,9 +48,6 @@ public partial interface IModelRouterClient /// /// The slug of a saved Model Router config to route this request with. /// - /// - /// When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced. - /// /// /// Model-agnostic video generation input. Fields are optional; the router selects a model and maps these options to it. /// @@ -61,7 +58,6 @@ public partial interface IModelRouterClient string configId, global::Runway.CreateGenerateVideoRequestInput input, string xRunwayVersion = "2024-11-06", - bool? dryRun = default, global::Runway.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponse.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponse.g.cs deleted file mode 100644 index e9f86c24..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponse.g.cs +++ /dev/null @@ -1,72 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 // Type or member is obsolete - -namespace Runway.JsonConverters -{ - /// - public class CreateGenerateAudioResponseJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateAudioResponse Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - - var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioResponseDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateAudioResponseDiscriminator)}"); - var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated? @false = default; - if (discriminator?.DryRun == global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun.False) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated)}"); - @false = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun? @true = default; - if (discriminator?.DryRun == global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun.True) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun)}"); - @true = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - var __value = new global::Runway.CreateGenerateAudioResponse( - discriminator?.DryRun, - @false, - - @true - ); - - return __value; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponse value, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - if (value.IsFalse) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.False!, typeInfo); - } - else if (value.IsTrue) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.True!, typeInfo); - } - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor.g.cs deleted file mode 100644 index 9405af00..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForNullable.g.cs deleted file mode 100644 index c4e82fc3..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType.g.cs deleted file mode 100644 index b5f8b8e4..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeNullable.g.cs deleted file mode 100644 index 5c75186e..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.g.cs deleted file mode 100644 index 072391de..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceNullable.g.cs deleted file mode 100644 index bf0eda3d..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs deleted file mode 100644 index 245db063..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForNullable.g.cs deleted file mode 100644 index 90c6f387..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRun.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputType.g.cs similarity index 75% rename from src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRun.g.cs rename to src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputType.g.cs index 56ffcf65..551ef62c 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRun.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputType.g.cs @@ -3,10 +3,10 @@ namespace Runway.JsonConverters { /// - public sealed class CreateGenerateAudioResponseDiscriminatorDryRunJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CreateGenerateAudioResponseRoutingResolvedInputTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun Read( + public override global::Runway.CreateGenerateAudioResponseRoutingResolvedInputType Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class CreateGenerateAudioResponseDiscriminatorDryRunJsonConverter var stringValue = reader.GetString(); if (stringValue != null) { - return global::Runway.CreateGenerateAudioResponseDiscriminatorDryRunExtensions.ToEnum(stringValue) ?? default; + return global::Runway.CreateGenerateAudioResponseRoutingResolvedInputTypeExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class CreateGenerateAudioResponseDiscriminatorDryRunJsonConverter case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun)numValue; + return (global::Runway.CreateGenerateAudioResponseRoutingResolvedInputType)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun); + return default(global::Runway.CreateGenerateAudioResponseRoutingResolvedInputType); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class CreateGenerateAudioResponseDiscriminatorDryRunJsonConverter /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun value, + global::Runway.CreateGenerateAudioResponseRoutingResolvedInputType value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseDiscriminatorDryRunExtensions.ToValueString(value)); + writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutingResolvedInputTypeExtensions.ToValueString(value)); } } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputTypeNullable.g.cs similarity index 76% rename from src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunNullable.g.cs rename to src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputTypeNullable.g.cs index 9f9ca9ca..167d2b33 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunNullable.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputTypeNullable.g.cs @@ -3,10 +3,10 @@ namespace Runway.JsonConverters { /// - public sealed class CreateGenerateAudioResponseDiscriminatorDryRunNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CreateGenerateAudioResponseRoutingResolvedInputTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun? Read( + public override global::Runway.CreateGenerateAudioResponseRoutingResolvedInputType? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class CreateGenerateAudioResponseDiscriminatorDryRunNullableJsonCo var stringValue = reader.GetString(); if (stringValue != null) { - return global::Runway.CreateGenerateAudioResponseDiscriminatorDryRunExtensions.ToEnum(stringValue); + return global::Runway.CreateGenerateAudioResponseRoutingResolvedInputTypeExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class CreateGenerateAudioResponseDiscriminatorDryRunNullableJsonCo case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun)numValue; + return (global::Runway.CreateGenerateAudioResponseRoutingResolvedInputType)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun?); + return default(global::Runway.CreateGenerateAudioResponseRoutingResolvedInputType?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class CreateGenerateAudioResponseDiscriminatorDryRunNullableJsonCo /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun? value, + global::Runway.CreateGenerateAudioResponseRoutingResolvedInputType? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseDiscriminatorDryRunExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutingResolvedInputTypeExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoice.g.cs similarity index 71% rename from src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType.g.cs rename to src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoice.g.cs index 12d1bf33..ee15e3e9 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoice.g.cs @@ -3,10 +3,10 @@ namespace Runway.JsonConverters { /// - public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CreateGenerateAudioResponseRoutingResolvedInputVoiceJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType Read( + public override global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoice Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedI var stringValue = reader.GetString(); if (stringValue != null) { - return global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeExtensions.ToEnum(stringValue) ?? default; + return global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoiceExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedI case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType)numValue; + return (global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoice)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType); + return default(global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoice); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedI /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType value, + global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoice value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeExtensions.ToValueString(value)); + writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoiceExtensions.ToValueString(value)); } } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoiceNullable.g.cs similarity index 72% rename from src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeNullable.g.cs rename to src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoiceNullable.g.cs index 84e51e15..43b531be 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeNullable.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoiceNullable.g.cs @@ -3,10 +3,10 @@ namespace Runway.JsonConverters { /// - public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CreateGenerateAudioResponseRoutingResolvedInputVoiceNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType? Read( + public override global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoice? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedI var stringValue = reader.GetString(); if (stringValue != null) { - return global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeExtensions.ToEnum(stringValue); + return global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoiceExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedI case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType)numValue; + return (global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoice)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType?); + return default(global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoice?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedI /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType? value, + global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoice? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoiceExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor.g.cs similarity index 70% rename from src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.g.cs rename to src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor.g.cs index cb8199f7..2b19a7ae 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor.g.cs @@ -3,10 +3,10 @@ namespace Runway.JsonConverters { /// - public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice Read( + public override global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedI var stringValue = reader.GetString(); if (stringValue != null) { - return global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceExtensions.ToEnum(stringValue) ?? default; + return global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedI case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice)numValue; + return (global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice); + return default(global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedI /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice value, + global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceExtensions.ToValueString(value)); + writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value)); } } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForNullable.g.cs similarity index 72% rename from src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceNullable.g.cs rename to src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForNullable.g.cs index 68c7e87d..0ff17ee1 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceNullable.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForNullable.g.cs @@ -3,10 +3,10 @@ namespace Runway.JsonConverters { /// - public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice? Read( + public override global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedI var stringValue = reader.GetString(); if (stringValue != null) { - return global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceExtensions.ToEnum(stringValue); + return global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedI case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice)numValue; + return (global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice?); + return default(global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedI /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice? value, + global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponse.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponse.g.cs deleted file mode 100644 index 9d441a04..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponse.g.cs +++ /dev/null @@ -1,72 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 // Type or member is obsolete - -namespace Runway.JsonConverters -{ - /// - public class CreateGenerateImageResponseJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateImageResponse Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - - var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateImageResponseDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateImageResponseDiscriminator)}"); - var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - - global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated? @false = default; - if (discriminator?.DryRun == global::Runway.CreateGenerateImageResponseDiscriminatorDryRun.False) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated)}"); - @false = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::Runway.CreateGenerateImageResponseRoutedImageDryRun? @true = default; - if (discriminator?.DryRun == global::Runway.CreateGenerateImageResponseDiscriminatorDryRun.True) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRun), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateImageResponseRoutedImageDryRun)}"); - @true = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - var __value = new global::Runway.CreateGenerateImageResponse( - discriminator?.DryRun, - @false, - - @true - ); - - return __value; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateImageResponse value, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - if (value.IsFalse) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.False!, typeInfo); - } - else if (value.IsTrue) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRun), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRun).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.True!, typeInfo); - } - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor.g.cs deleted file mode 100644 index cd58566f..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForNullable.g.cs deleted file mode 100644 index abdc385d..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs deleted file mode 100644 index 61bdbf06..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForNullable.g.cs deleted file mode 100644 index 44dac1c4..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRun.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor.g.cs similarity index 72% rename from src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRun.g.cs rename to src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor.g.cs index 255b2f23..50475e60 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRun.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor.g.cs @@ -3,10 +3,10 @@ namespace Runway.JsonConverters { /// - public sealed class CreateGenerateImageResponseDiscriminatorDryRunJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Runway.CreateGenerateImageResponseDiscriminatorDryRun Read( + public override global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class CreateGenerateImageResponseDiscriminatorDryRunJsonConverter var stringValue = reader.GetString(); if (stringValue != null) { - return global::Runway.CreateGenerateImageResponseDiscriminatorDryRunExtensions.ToEnum(stringValue) ?? default; + return global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class CreateGenerateImageResponseDiscriminatorDryRunJsonConverter case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateImageResponseDiscriminatorDryRun)numValue; + return (global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Runway.CreateGenerateImageResponseDiscriminatorDryRun); + return default(global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class CreateGenerateImageResponseDiscriminatorDryRunJsonConverter /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateImageResponseDiscriminatorDryRun value, + global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Runway.CreateGenerateImageResponseDiscriminatorDryRunExtensions.ToValueString(value)); + writer.WriteStringValue(global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value)); } } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForNullable.g.cs similarity index 74% rename from src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunNullable.g.cs rename to src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForNullable.g.cs index 759313f6..319dffca 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunNullable.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForNullable.g.cs @@ -3,10 +3,10 @@ namespace Runway.JsonConverters { /// - public sealed class CreateGenerateImageResponseDiscriminatorDryRunNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Runway.CreateGenerateImageResponseDiscriminatorDryRun? Read( + public override global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class CreateGenerateImageResponseDiscriminatorDryRunNullableJsonCo var stringValue = reader.GetString(); if (stringValue != null) { - return global::Runway.CreateGenerateImageResponseDiscriminatorDryRunExtensions.ToEnum(stringValue); + return global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class CreateGenerateImageResponseDiscriminatorDryRunNullableJsonCo case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateImageResponseDiscriminatorDryRun)numValue; + return (global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Runway.CreateGenerateImageResponseDiscriminatorDryRun?); + return default(global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class CreateGenerateImageResponseDiscriminatorDryRunNullableJsonCo /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateImageResponseDiscriminatorDryRun? value, + global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::Runway.CreateGenerateImageResponseDiscriminatorDryRunExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponse.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponse.g.cs deleted file mode 100644 index d0e9f74b..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponse.g.cs +++ /dev/null @@ -1,72 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 // Type or member is obsolete - -namespace Runway.JsonConverters -{ - /// - public class CreateGenerateVideoResponseJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateVideoResponse Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - - var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateVideoResponseDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateVideoResponseDiscriminator)}"); - var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - - global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated? @false = default; - if (discriminator?.DryRun == global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun.False) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated)}"); - @false = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun? @true = default; - if (discriminator?.DryRun == global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun.True) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun)}"); - @true = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - var __value = new global::Runway.CreateGenerateVideoResponse( - discriminator?.DryRun, - @false, - - @true - ); - - return __value; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateVideoResponse value, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - if (value.IsFalse) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.False!, typeInfo); - } - else if (value.IsTrue) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.True!, typeInfo); - } - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor.g.cs deleted file mode 100644 index 975d2c0f..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForNullable.g.cs deleted file mode 100644 index d35495af..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs deleted file mode 100644 index 3e853576..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForNullable.g.cs deleted file mode 100644 index 692c9e26..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRun.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor.g.cs similarity index 72% rename from src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRun.g.cs rename to src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor.g.cs index c55fbd37..c5795e50 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRun.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor.g.cs @@ -3,10 +3,10 @@ namespace Runway.JsonConverters { /// - public sealed class CreateGenerateVideoResponseDiscriminatorDryRunJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun Read( + public override global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class CreateGenerateVideoResponseDiscriminatorDryRunJsonConverter var stringValue = reader.GetString(); if (stringValue != null) { - return global::Runway.CreateGenerateVideoResponseDiscriminatorDryRunExtensions.ToEnum(stringValue) ?? default; + return global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class CreateGenerateVideoResponseDiscriminatorDryRunJsonConverter case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun)numValue; + return (global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun); + return default(global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class CreateGenerateVideoResponseDiscriminatorDryRunJsonConverter /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun value, + global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Runway.CreateGenerateVideoResponseDiscriminatorDryRunExtensions.ToValueString(value)); + writer.WriteStringValue(global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value)); } } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForNullable.g.cs similarity index 74% rename from src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunNullable.g.cs rename to src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForNullable.g.cs index 743a07de..04dc3609 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunNullable.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForNullable.g.cs @@ -3,10 +3,10 @@ namespace Runway.JsonConverters { /// - public sealed class CreateGenerateVideoResponseDiscriminatorDryRunNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun? Read( + public override global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class CreateGenerateVideoResponseDiscriminatorDryRunNullableJsonCo var stringValue = reader.GetString(); if (stringValue != null) { - return global::Runway.CreateGenerateVideoResponseDiscriminatorDryRunExtensions.ToEnum(stringValue); + return global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class CreateGenerateVideoResponseDiscriminatorDryRunNullableJsonCo case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun)numValue; + return (global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun?); + return default(global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class CreateGenerateVideoResponseDiscriminatorDryRunNullableJsonCo /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun? value, + global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::Runway.CreateGenerateVideoResponseDiscriminatorDryRunExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.g.cs deleted file mode 100644 index cae732f3..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdNullable.g.cs deleted file mode 100644 index a1043286..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace Runway.JsonConverters -{ - /// - public sealed class CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Voice10.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Voice10.g.cs index 14b6c481..74fc3c3a 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.Voice10.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.Voice10.g.cs @@ -17,22 +17,22 @@ public class Voice10JsonConverter : global::System.Text.Json.Serialization.JsonC var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; - if (discriminator?.Type == global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType.RunwayLivePreset) + global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; + if (discriminator?.Type == global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType.RunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse)}"); runwayLivePreset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? custom = default; - if (discriminator?.Type == global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType.Custom) + global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? custom = default; + if (discriminator?.Type == global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType.Custom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse)}"); custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -57,14 +57,14 @@ public override void Write( if (value.IsRunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunwayLivePreset!, typeInfo); } else if (value.IsCustom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo); } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Voice11.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Voice11.g.cs index 8f955777..2b451427 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.Voice11.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.Voice11.g.cs @@ -17,22 +17,22 @@ public class Voice11JsonConverter : global::System.Text.Json.Serialization.JsonC var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; - if (discriminator?.Type == global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType.RunwayLivePreset) + global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; + if (discriminator?.Type == global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType.RunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse)}"); runwayLivePreset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? custom = default; - if (discriminator?.Type == global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType.Custom) + global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? custom = default; + if (discriminator?.Type == global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType.Custom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse)}"); custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -57,14 +57,14 @@ public override void Write( if (value.IsRunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunwayLivePreset!, typeInfo); } else if (value.IsCustom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo); } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Voice12.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Voice12.g.cs index 5499ae08..1727c0ff 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.Voice12.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.Voice12.g.cs @@ -17,22 +17,22 @@ public class Voice12JsonConverter : global::System.Text.Json.Serialization.JsonC var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; - if (discriminator?.Type == global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType.RunwayLivePreset) + global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; + if (discriminator?.Type == global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType.RunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse)}"); runwayLivePreset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? custom = default; - if (discriminator?.Type == global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType.Custom) + global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? custom = default; + if (discriminator?.Type == global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType.Custom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse)}"); custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -57,14 +57,14 @@ public override void Write( if (value.IsRunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunwayLivePreset!, typeInfo); } else if (value.IsCustom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo); } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Voice13.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Voice13.g.cs index d13bb3cd..1475b2e3 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.Voice13.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.Voice13.g.cs @@ -17,22 +17,22 @@ public class Voice13JsonConverter : global::System.Text.Json.Serialization.JsonC var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; - if (discriminator?.Type == global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType.RunwayLivePreset) + global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; + if (discriminator?.Type == global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType.RunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse)}"); runwayLivePreset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? custom = default; - if (discriminator?.Type == global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType.Custom) + global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? custom = default; + if (discriminator?.Type == global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType.Custom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse)}"); custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -57,14 +57,14 @@ public override void Write( if (value.IsRunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunwayLivePreset!, typeInfo); } else if (value.IsCustom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo); } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Voice14.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Voice14.g.cs index dbac64dc..2f783dcd 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.Voice14.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.Voice14.g.cs @@ -17,22 +17,22 @@ public class Voice14JsonConverter : global::System.Text.Json.Serialization.JsonC var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; - if (discriminator?.Type == global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType.RunwayLivePreset) + global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; + if (discriminator?.Type == global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType.RunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse)}"); runwayLivePreset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? custom = default; - if (discriminator?.Type == global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType.Custom) + global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? custom = default; + if (discriminator?.Type == global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType.Custom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse)}"); custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -57,14 +57,14 @@ public override void Write( if (value.IsRunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunwayLivePreset!, typeInfo); } else if (value.IsCustom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo); } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Voice15.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Voice15.g.cs index bd7635fd..9438015f 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.Voice15.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.Voice15.g.cs @@ -17,22 +17,22 @@ public class Voice15JsonConverter : global::System.Text.Json.Serialization.JsonC var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; - if (discriminator?.Type == global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType.RunwayLivePreset) + global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; + if (discriminator?.Type == global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType.RunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse)}"); runwayLivePreset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? custom = default; - if (discriminator?.Type == global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType.Custom) + global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? custom = default; + if (discriminator?.Type == global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType.Custom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse)}"); custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -57,14 +57,14 @@ public override void Write( if (value.IsRunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunwayLivePreset!, typeInfo); } else if (value.IsCustom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo); } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Voice16.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Voice16.g.cs index dcc363e0..d1effe84 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.Voice16.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.Voice16.g.cs @@ -17,22 +17,22 @@ public class Voice16JsonConverter : global::System.Text.Json.Serialization.JsonC var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; - if (discriminator?.Type == global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType.RunwayLivePreset) + global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; + if (discriminator?.Type == global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType.RunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse)}"); runwayLivePreset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? custom = default; - if (discriminator?.Type == global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType.Custom) + global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? custom = default; + if (discriminator?.Type == global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType.Custom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse)}"); custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -57,14 +57,14 @@ public override void Write( if (value.IsRunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunwayLivePreset!, typeInfo); } else if (value.IsCustom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo); } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Voice17.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Voice17.g.cs deleted file mode 100644 index a5eb1c0d..00000000 --- a/src/libs/Runway/Generated/Runway.JsonConverters.Voice17.g.cs +++ /dev/null @@ -1,72 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 // Type or member is obsolete - -namespace Runway.JsonConverters -{ - /// - public class Voice17JsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Runway.Voice17 Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - - var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminator)}"); - var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - - global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; - if (discriminator?.Type == global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType.RunwayLivePreset) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse)}"); - runwayLivePreset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? custom = default; - if (discriminator?.Type == global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType.Custom) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse)}"); - custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - var __value = new global::Runway.Voice17( - discriminator?.Type, - runwayLivePreset, - - custom - ); - - return __value; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Runway.Voice17 value, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - if (value.IsRunwayLivePreset) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunwayLivePreset!, typeInfo); - } - else if (value.IsCustom) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo); - } - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Voice4.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Voice4.g.cs index 888d5728..90780be9 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.Voice4.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.Voice4.g.cs @@ -17,28 +17,28 @@ public class Voice4JsonConverter : global::System.Text.Json.Serialization.JsonCo var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice? seedPreset = default; - if (discriminator?.Type == global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.SeedPreset) + global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? preset = default; + if (discriminator?.Type == global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminatorType.Preset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice)}"); - seedPreset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice)}"); + preset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? referenceAudio = default; - if (discriminator?.Type == global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.ReferenceAudio) + global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? referenceAudio = default; + if (discriminator?.Type == global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminatorType.ReferenceAudio) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice)}"); referenceAudio = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::Runway.Voice4( discriminator?.Type, - seedPreset, + preset, referenceAudio ); @@ -55,16 +55,16 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsSeedPreset) + if (value.IsPreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.SeedPreset!, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Preset!, typeInfo); } else if (value.IsReferenceAudio) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.ReferenceAudio!, typeInfo); } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Voice5.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Voice5.g.cs index a091a8d2..b366ee21 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.Voice5.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.Voice5.g.cs @@ -17,30 +17,30 @@ public class Voice5JsonConverter : global::System.Text.Json.Serialization.JsonCo var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? preset = default; - if (discriminator?.Type == global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminatorType.Preset) + global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; + if (discriminator?.Type == global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType.RunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice)}"); - preset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse)}"); + runwayLivePreset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? referenceAudio = default; - if (discriminator?.Type == global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminatorType.ReferenceAudio) + global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? custom = default; + if (discriminator?.Type == global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType.Custom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice)}"); - referenceAudio = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse)}"); + custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::Runway.Voice5( discriminator?.Type, - preset, + runwayLivePreset, - referenceAudio + custom ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsPreset) + if (value.IsRunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Preset!, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunwayLivePreset!, typeInfo); } - else if (value.IsReferenceAudio) + else if (value.IsCustom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ReferenceAudio!, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo); } } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Voice6.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Voice6.g.cs index baa84d1f..1db66ecd 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.Voice6.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.Voice6.g.cs @@ -17,22 +17,22 @@ public class Voice6JsonConverter : global::System.Text.Json.Serialization.JsonCo var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; - if (discriminator?.Type == global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType.RunwayLivePreset) + global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; + if (discriminator?.Type == global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType.RunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse)}"); runwayLivePreset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? custom = default; - if (discriminator?.Type == global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType.Custom) + global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? custom = default; + if (discriminator?.Type == global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType.Custom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse)}"); custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -57,14 +57,14 @@ public override void Write( if (value.IsRunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunwayLivePreset!, typeInfo); } else if (value.IsCustom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo); } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Voice7.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Voice7.g.cs index 06730842..144445f8 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.Voice7.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.Voice7.g.cs @@ -17,22 +17,22 @@ public class Voice7JsonConverter : global::System.Text.Json.Serialization.JsonCo var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; - if (discriminator?.Type == global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType.RunwayLivePreset) + global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; + if (discriminator?.Type == global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType.RunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse)}"); runwayLivePreset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? custom = default; - if (discriminator?.Type == global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType.Custom) + global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? custom = default; + if (discriminator?.Type == global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType.Custom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse)}"); custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -57,14 +57,14 @@ public override void Write( if (value.IsRunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunwayLivePreset!, typeInfo); } else if (value.IsCustom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo); } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Voice8.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Voice8.g.cs index dded0b3e..b1e9c6b4 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.Voice8.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.Voice8.g.cs @@ -17,22 +17,22 @@ public class Voice8JsonConverter : global::System.Text.Json.Serialization.JsonCo var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; - if (discriminator?.Type == global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType.RunwayLivePreset) + global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; + if (discriminator?.Type == global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType.RunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse)}"); runwayLivePreset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? custom = default; - if (discriminator?.Type == global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType.Custom) + global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? custom = default; + if (discriminator?.Type == global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType.Custom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse)}"); custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -57,14 +57,14 @@ public override void Write( if (value.IsRunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunwayLivePreset!, typeInfo); } else if (value.IsCustom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo); } } diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.Voice9.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.Voice9.g.cs index 4476ed31..b877a3fa 100644 --- a/src/libs/Runway/Generated/Runway.JsonConverters.Voice9.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonConverters.Voice9.g.cs @@ -17,22 +17,22 @@ public class Voice9JsonConverter : global::System.Text.Json.Serialization.JsonCo var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; - if (discriminator?.Type == global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType.RunwayLivePreset) + global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset = default; + if (discriminator?.Type == global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType.RunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse)}"); runwayLivePreset = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? custom = default; - if (discriminator?.Type == global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType.Custom) + global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? custom = default; + if (discriminator?.Type == global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType.Custom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse)}"); custom = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -57,14 +57,14 @@ public override void Write( if (value.IsRunwayLivePreset) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunwayLivePreset!, typeInfo); } else if (value.IsCustom) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Custom!, typeInfo); } } diff --git a/src/libs/Runway/Generated/Runway.JsonSerializerContext.g.cs b/src/libs/Runway/Generated/Runway.JsonSerializerContext.g.cs index 451a2cec..0162877f 100644 --- a/src/libs/Runway/Generated/Runway.JsonSerializerContext.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonSerializerContext.g.cs @@ -421,10 +421,6 @@ namespace Runway typeof(global::Runway.JsonConverters.CreateSpeechToSpeechRequestDiscriminatorModelNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeJsonConverter), typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeNullableJsonConverter), @@ -805,17 +801,9 @@ namespace Runway typeof(global::Runway.JsonConverters.GetTasksResponseDiscriminatorStatusNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter), typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseVariant1PipelineItemFilterJsonConverter), @@ -825,17 +813,9 @@ namespace Runway typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseVariant1EmptiedByItemNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter), typeof(global::Runway.JsonConverters.CreateGenerateImageResponseVariant1PipelineItemFilterJsonConverter), @@ -845,33 +825,17 @@ namespace Runway typeof(global::Runway.JsonConverters.CreateGenerateImageResponseVariant1EmptiedByItemNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputTypeJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputTypeNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoiceJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoiceNullableJsonConverter), typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseVariant1PipelineItemFilterJsonConverter), @@ -1017,13 +981,11 @@ namespace Runway typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestJsonConverter), - typeof(global::Runway.JsonConverters.Voice4JsonConverter), - typeof(global::Runway.JsonConverters.CreateVoiceDubbingRequestJsonConverter), typeof(global::Runway.JsonConverters.CreateVoiceIsolationRequestJsonConverter), - typeof(global::Runway.JsonConverters.Voice5JsonConverter), + typeof(global::Runway.JsonConverters.Voice4JsonConverter), typeof(global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestJsonConverter), @@ -1033,20 +995,20 @@ namespace Runway typeof(global::Runway.JsonConverters.DataItemJsonConverter), + typeof(global::Runway.JsonConverters.Voice5JsonConverter), + typeof(global::Runway.JsonConverters.Voice6JsonConverter), typeof(global::Runway.JsonConverters.Voice7JsonConverter), - typeof(global::Runway.JsonConverters.Voice8JsonConverter), - typeof(global::Runway.JsonConverters.CreateAvatarsResponseJsonConverter), + typeof(global::Runway.JsonConverters.Voice8JsonConverter), + typeof(global::Runway.JsonConverters.Voice9JsonConverter), typeof(global::Runway.JsonConverters.Voice10JsonConverter), - typeof(global::Runway.JsonConverters.Voice11JsonConverter), - typeof(global::Runway.JsonConverters.AvatarVariant1JsonConverter), typeof(global::Runway.JsonConverters.GetAvatarConversationsResponse2JsonConverter), @@ -1059,30 +1021,24 @@ namespace Runway typeof(global::Runway.JsonConverters.GetAvatarsResponse2JsonConverter), + typeof(global::Runway.JsonConverters.Voice11JsonConverter), + typeof(global::Runway.JsonConverters.Voice12JsonConverter), typeof(global::Runway.JsonConverters.Voice13JsonConverter), - typeof(global::Runway.JsonConverters.Voice14JsonConverter), - typeof(global::Runway.JsonConverters.PatchAvatarsResponseJsonConverter), + typeof(global::Runway.JsonConverters.Voice14JsonConverter), + typeof(global::Runway.JsonConverters.Voice15JsonConverter), typeof(global::Runway.JsonConverters.Voice16JsonConverter), - typeof(global::Runway.JsonConverters.Voice17JsonConverter), - typeof(global::Runway.JsonConverters.GetRealtimeSessionsResponseJsonConverter), typeof(global::Runway.JsonConverters.GetTasksResponseJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseJsonConverter), - typeof(global::Runway.JsonConverters.PipelineItemJsonConverter), typeof(global::Runway.JsonConverters.DataItem2JsonConverter), @@ -1553,9 +1509,6 @@ namespace Runway [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateSpeechToSpeechRequestDiscriminatorModel), TypeInfoPropertyName = "CreateSpeechToSpeechRequestDiscriminatorModel2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequest), TypeInfoPropertyName = "CreateTextToSpeechRequest2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestSeedAudio))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice4), TypeInfoPropertyName = "Voice42")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId), TypeInfoPropertyName = "CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType), TypeInfoPropertyName = "CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType2")] @@ -1613,7 +1566,7 @@ namespace Runway [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioRequestInput))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioRequestInputType), TypeInfoPropertyName = "CreateGenerateAudioRequestInputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice5), TypeInfoPropertyName = "Voice52")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice4), TypeInfoPropertyName = "Voice42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoicePresetId), TypeInfoPropertyName = "CreateGenerateAudioRequestInputVoiceAudioPresetVoicePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice))] @@ -1673,6 +1626,9 @@ namespace Runway [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRoutersRequestSettings))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRoutersRequestSettingsModels))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRoutersRequestSettingsModelsMode), TypeInfoPropertyName = "CreateRoutersRequestSettingsModelsMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRoutersRequestSettingsMaxCreditsPerGeneration))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRoutersRequestSettingsOptimizeFor), TypeInfoPropertyName = "CreateRoutersRequestSettingsOptimizeFor2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRoutersRequestSettingsFallback))] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -2092,10 +2048,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.CreateSpeechToSpeechRequestDiscriminatorModelNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeJsonConverter), typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeNullableJsonConverter), @@ -2476,17 +2428,9 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.GetTasksResponseDiscriminatorStatusNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter), typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseVariant1PipelineItemFilterJsonConverter), @@ -2496,17 +2440,9 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseVariant1EmptiedByItemNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter), typeof(global::Runway.JsonConverters.CreateGenerateImageResponseVariant1PipelineItemFilterJsonConverter), @@ -2516,33 +2452,17 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.CreateGenerateImageResponseVariant1EmptiedByItemNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputTypeJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputTypeNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoiceJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoiceNullableJsonConverter), typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseVariant1PipelineItemFilterJsonConverter), @@ -2688,13 +2608,11 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestJsonConverter), - typeof(global::Runway.JsonConverters.Voice4JsonConverter), - typeof(global::Runway.JsonConverters.CreateVoiceDubbingRequestJsonConverter), typeof(global::Runway.JsonConverters.CreateVoiceIsolationRequestJsonConverter), - typeof(global::Runway.JsonConverters.Voice5JsonConverter), + typeof(global::Runway.JsonConverters.Voice4JsonConverter), typeof(global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestJsonConverter), @@ -2704,20 +2622,20 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.DataItemJsonConverter), + typeof(global::Runway.JsonConverters.Voice5JsonConverter), + typeof(global::Runway.JsonConverters.Voice6JsonConverter), typeof(global::Runway.JsonConverters.Voice7JsonConverter), - typeof(global::Runway.JsonConverters.Voice8JsonConverter), - typeof(global::Runway.JsonConverters.CreateAvatarsResponseJsonConverter), + typeof(global::Runway.JsonConverters.Voice8JsonConverter), + typeof(global::Runway.JsonConverters.Voice9JsonConverter), typeof(global::Runway.JsonConverters.Voice10JsonConverter), - typeof(global::Runway.JsonConverters.Voice11JsonConverter), - typeof(global::Runway.JsonConverters.AvatarVariant1JsonConverter), typeof(global::Runway.JsonConverters.GetAvatarConversationsResponse2JsonConverter), @@ -2730,30 +2648,24 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.GetAvatarsResponse2JsonConverter), + typeof(global::Runway.JsonConverters.Voice11JsonConverter), + typeof(global::Runway.JsonConverters.Voice12JsonConverter), typeof(global::Runway.JsonConverters.Voice13JsonConverter), - typeof(global::Runway.JsonConverters.Voice14JsonConverter), - typeof(global::Runway.JsonConverters.PatchAvatarsResponseJsonConverter), + typeof(global::Runway.JsonConverters.Voice14JsonConverter), + typeof(global::Runway.JsonConverters.Voice15JsonConverter), typeof(global::Runway.JsonConverters.Voice16JsonConverter), - typeof(global::Runway.JsonConverters.Voice17JsonConverter), - typeof(global::Runway.JsonConverters.GetRealtimeSessionsResponseJsonConverter), typeof(global::Runway.JsonConverters.GetTasksResponseJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseJsonConverter), - typeof(global::Runway.JsonConverters.PipelineItemJsonConverter), typeof(global::Runway.JsonConverters.DataItem2JsonConverter), @@ -2844,9 +2756,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.UnixTimestampJsonConverter), })] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRoutersRequestSettingsMaxCreditsPerGeneration))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRoutersRequestSettingsOptimizeFor), TypeInfoPropertyName = "CreateRoutersRequestSettingsOptimizeFor2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateRoutersRequestSettingsFallback))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchRoutersRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchRoutersRequestSettings))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchRoutersRequestSettingsModels))] @@ -2879,21 +2788,21 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.DataItem), TypeInfoPropertyName = "DataItem2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessing))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice6), TypeInfoPropertyName = "Voice62")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice5), TypeInfoPropertyName = "Voice52")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType), TypeInfoPropertyName = "GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReady))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice7), TypeInfoPropertyName = "Voice72")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice6), TypeInfoPropertyName = "Voice62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType), TypeInfoPropertyName = "GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailed))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice8), TypeInfoPropertyName = "Voice82")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice7), TypeInfoPropertyName = "Voice72")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse))] @@ -2903,21 +2812,21 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemDiscriminatorStatus), TypeInfoPropertyName = "GetAvatarsResponseDataItemDiscriminatorStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponse), TypeInfoPropertyName = "CreateAvatarsResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarProcessing))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice9), TypeInfoPropertyName = "Voice92")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice8), TypeInfoPropertyName = "Voice82")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType), TypeInfoPropertyName = "CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarReady))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice10), TypeInfoPropertyName = "Voice102")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice9), TypeInfoPropertyName = "Voice92")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType), TypeInfoPropertyName = "CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarFailed))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice11), TypeInfoPropertyName = "Voice112")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice10), TypeInfoPropertyName = "Voice102")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse))] @@ -2991,21 +2900,21 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseDiscriminatorStatus), TypeInfoPropertyName = "GetAvatarConversationsResponseDiscriminatorStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponse2), TypeInfoPropertyName = "GetAvatarsResponse22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarProcessing))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice12), TypeInfoPropertyName = "Voice122")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice11), TypeInfoPropertyName = "Voice112")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType), TypeInfoPropertyName = "GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarReady))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice13), TypeInfoPropertyName = "Voice132")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice12), TypeInfoPropertyName = "Voice122")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType), TypeInfoPropertyName = "GetAvatarsResponseAvatarReadyVoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarFailed))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice14), TypeInfoPropertyName = "Voice142")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice13), TypeInfoPropertyName = "Voice132")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse))] @@ -3015,21 +2924,21 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDiscriminatorStatus), TypeInfoPropertyName = "GetAvatarsResponseDiscriminatorStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponse), TypeInfoPropertyName = "PatchAvatarsResponse2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessing))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice15), TypeInfoPropertyName = "Voice152")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice14), TypeInfoPropertyName = "Voice142")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType), TypeInfoPropertyName = "PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReady))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice16), TypeInfoPropertyName = "Voice162")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice15), TypeInfoPropertyName = "Voice152")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType), TypeInfoPropertyName = "PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarFailed))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice17), TypeInfoPropertyName = "Voice172")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice16), TypeInfoPropertyName = "Voice162")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse))] @@ -3153,23 +3062,13 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateVoiceIsolationResponseIssue))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateVoiceIsolationResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponse), TypeInfoPropertyName = "CreateGenerateVideoResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor), TypeInfoPropertyName = "CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRouting))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor), TypeInfoPropertyName = "CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun), TypeInfoPropertyName = "CreateGenerateVideoResponseDiscriminatorDryRun2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRouting))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutingResolvedSettings))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor), TypeInfoPropertyName = "CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutingResolvedInput))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutingEstimatedCost))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutingCapacityFallback))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.AnyOf), TypeInfoPropertyName = "AnyOfCreateGenerateVideoResponseVariant1CreateGenerateVideoResponseVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -3180,23 +3079,13 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponse3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponse4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponse), TypeInfoPropertyName = "CreateGenerateImageResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRouting))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor), TypeInfoPropertyName = "CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRun))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRouting))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor), TypeInfoPropertyName = "CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseDiscriminatorDryRun), TypeInfoPropertyName = "CreateGenerateImageResponseDiscriminatorDryRun2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRouting))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutingResolvedSettings))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor), TypeInfoPropertyName = "CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutingResolvedInput))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutingEstimatedCost))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutingCapacityFallback))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.AnyOf), TypeInfoPropertyName = "AnyOfCreateGenerateImageResponseVariant1CreateGenerateImageResponseVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -3207,27 +3096,15 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponse3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponse4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponse), TypeInfoPropertyName = "CreateGenerateAudioResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor), TypeInfoPropertyName = "CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType), TypeInfoPropertyName = "CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice), TypeInfoPropertyName = "CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRouting))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor), TypeInfoPropertyName = "CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType), TypeInfoPropertyName = "CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice), TypeInfoPropertyName = "CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun), TypeInfoPropertyName = "CreateGenerateAudioResponseDiscriminatorDryRun2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRouting))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutingResolvedSettings))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor), TypeInfoPropertyName = "CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutingResolvedInput))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutingResolvedInputType), TypeInfoPropertyName = "CreateGenerateAudioResponseRoutingResolvedInputType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoice), TypeInfoPropertyName = "CreateGenerateAudioResponseRoutingResolvedInputVoice2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutingEstimatedCost))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutingCapacityFallback))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.AnyOf), TypeInfoPropertyName = "AnyOfCreateGenerateAudioResponseVariant1CreateGenerateAudioResponseVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -3344,6 +3221,41 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchRoutersResponseSettingsOptimizeFor), TypeInfoPropertyName = "PatchRoutersResponseSettingsOptimizeFor2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchRoutersResponseSettingsFallback))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemStatus), TypeInfoPropertyName = "GetRoutersRequestsResponseDataItemStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemReasonCode2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PipelineItem), TypeInfoPropertyName = "PipelineItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant1Filter), TypeInfoPropertyName = "GetRoutersRequestsResponseDataItemPipelineItemVariant1Filter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant3Outcome), TypeInfoPropertyName = "GetRoutersRequestsResponseDataItemPipelineItemVariant3Outcome2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemPipelineItemDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemPipelineItemDiscriminatorType), TypeInfoPropertyName = "GetRoutersRequestsResponseDataItemPipelineItemDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemEmptiedByItem), TypeInfoPropertyName = "GetRoutersRequestsResponseDataItemEmptiedByItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.DataItem2), TypeInfoPropertyName = "DataItem22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseDataItemVoiceProcessing))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseDataItemVoiceReady))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseDataItemVoiceFailed))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseDataItemDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseDataItemDiscriminatorStatus), TypeInfoPropertyName = "GetVoicesResponseDataItemDiscriminatorStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateVoicesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponse2), TypeInfoPropertyName = "GetVoicesResponse22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseVoiceProcessing))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseVoiceReady))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseVoiceFailed))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseDiscriminatorStatus), TypeInfoPropertyName = "GetVoicesResponseDiscriminatorStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchVoicesResponse), TypeInfoPropertyName = "PatchVoicesResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchVoicesResponseVoiceProcessing))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchVoicesResponseVoiceReady))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchVoicesResponseVoiceFailed))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchVoicesResponseDiscriminator))] internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -3763,10 +3675,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::Runway.JsonConverters.CreateSpeechToSpeechRequestDiscriminatorModelNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeJsonConverter), typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeNullableJsonConverter), @@ -4147,17 +4055,9 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::Runway.JsonConverters.GetTasksResponseDiscriminatorStatusNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter), typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseVariant1PipelineItemFilterJsonConverter), @@ -4167,17 +4067,9 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseVariant1EmptiedByItemNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter), typeof(global::Runway.JsonConverters.CreateGenerateImageResponseVariant1PipelineItemFilterJsonConverter), @@ -4187,33 +4079,17 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::Runway.JsonConverters.CreateGenerateImageResponseVariant1EmptiedByItemNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputTypeJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputTypeNullableJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoiceJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoiceNullableJsonConverter), typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseVariant1PipelineItemFilterJsonConverter), @@ -4359,13 +4235,11 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestJsonConverter), - typeof(global::Runway.JsonConverters.Voice4JsonConverter), - typeof(global::Runway.JsonConverters.CreateVoiceDubbingRequestJsonConverter), typeof(global::Runway.JsonConverters.CreateVoiceIsolationRequestJsonConverter), - typeof(global::Runway.JsonConverters.Voice5JsonConverter), + typeof(global::Runway.JsonConverters.Voice4JsonConverter), typeof(global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestJsonConverter), @@ -4375,20 +4249,20 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::Runway.JsonConverters.DataItemJsonConverter), + typeof(global::Runway.JsonConverters.Voice5JsonConverter), + typeof(global::Runway.JsonConverters.Voice6JsonConverter), typeof(global::Runway.JsonConverters.Voice7JsonConverter), - typeof(global::Runway.JsonConverters.Voice8JsonConverter), - typeof(global::Runway.JsonConverters.CreateAvatarsResponseJsonConverter), + typeof(global::Runway.JsonConverters.Voice8JsonConverter), + typeof(global::Runway.JsonConverters.Voice9JsonConverter), typeof(global::Runway.JsonConverters.Voice10JsonConverter), - typeof(global::Runway.JsonConverters.Voice11JsonConverter), - typeof(global::Runway.JsonConverters.AvatarVariant1JsonConverter), typeof(global::Runway.JsonConverters.GetAvatarConversationsResponse2JsonConverter), @@ -4401,30 +4275,24 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::Runway.JsonConverters.GetAvatarsResponse2JsonConverter), + typeof(global::Runway.JsonConverters.Voice11JsonConverter), + typeof(global::Runway.JsonConverters.Voice12JsonConverter), typeof(global::Runway.JsonConverters.Voice13JsonConverter), - typeof(global::Runway.JsonConverters.Voice14JsonConverter), - typeof(global::Runway.JsonConverters.PatchAvatarsResponseJsonConverter), + typeof(global::Runway.JsonConverters.Voice14JsonConverter), + typeof(global::Runway.JsonConverters.Voice15JsonConverter), typeof(global::Runway.JsonConverters.Voice16JsonConverter), - typeof(global::Runway.JsonConverters.Voice17JsonConverter), - typeof(global::Runway.JsonConverters.GetRealtimeSessionsResponseJsonConverter), typeof(global::Runway.JsonConverters.GetTasksResponseJsonConverter), - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseJsonConverter), - typeof(global::Runway.JsonConverters.PipelineItemJsonConverter), typeof(global::Runway.JsonConverters.DataItem2JsonConverter), @@ -4515,41 +4383,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::Runway.JsonConverters.UnixTimestampJsonConverter), })] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemStatus), TypeInfoPropertyName = "GetRoutersRequestsResponseDataItemStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemReasonCode2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PipelineItem), TypeInfoPropertyName = "PipelineItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant1Filter), TypeInfoPropertyName = "GetRoutersRequestsResponseDataItemPipelineItemVariant1Filter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant3Outcome), TypeInfoPropertyName = "GetRoutersRequestsResponseDataItemPipelineItemVariant3Outcome2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemPipelineItemDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemPipelineItemDiscriminatorType), TypeInfoPropertyName = "GetRoutersRequestsResponseDataItemPipelineItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetRoutersRequestsResponseDataItemEmptiedByItem), TypeInfoPropertyName = "GetRoutersRequestsResponseDataItemEmptiedByItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.DataItem2), TypeInfoPropertyName = "DataItem22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseDataItemVoiceProcessing))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseDataItemVoiceReady))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseDataItemVoiceFailed))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseDataItemDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseDataItemDiscriminatorStatus), TypeInfoPropertyName = "GetVoicesResponseDataItemDiscriminatorStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateVoicesResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponse2), TypeInfoPropertyName = "GetVoicesResponse22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseVoiceProcessing))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseVoiceReady))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseVoiceFailed))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetVoicesResponseDiscriminatorStatus), TypeInfoPropertyName = "GetVoicesResponseDiscriminatorStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchVoicesResponse), TypeInfoPropertyName = "PatchVoicesResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchVoicesResponseVoiceProcessing))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchVoicesResponseVoiceReady))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchVoicesResponseVoiceFailed))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchVoicesResponseDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchVoicesResponseDiscriminatorStatus), TypeInfoPropertyName = "PatchVoicesResponseDiscriminatorStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateVoicesPreviewResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateWorkflowsResponse))] @@ -4719,8 +4552,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceDiscriminatorType?), TypeInfoPropertyName = "NullableCreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateSpeechToSpeechRequestDiscriminatorModel?), TypeInfoPropertyName = "NullableCreateSpeechToSpeechRequestDiscriminatorModel2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequest?), TypeInfoPropertyName = "NullableCreateTextToSpeechRequest2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice4?), TypeInfoPropertyName = "NullableVoice42")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId?), TypeInfoPropertyName = "NullableCreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType?), TypeInfoPropertyName = "NullableCreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat?), TypeInfoPropertyName = "NullableCreateTextToSpeechRequestSeedAudioOutputFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetId?), TypeInfoPropertyName = "NullableCreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetId2")] @@ -4744,7 +4575,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageRequestInputResolution?), TypeInfoPropertyName = "NullableCreateGenerateImageRequestInputResolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageRequestInputContentModerationPublicFigureThreshold?), TypeInfoPropertyName = "NullableCreateGenerateImageRequestInputContentModerationPublicFigureThreshold2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioRequestInputType?), TypeInfoPropertyName = "NullableCreateGenerateAudioRequestInputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice5?), TypeInfoPropertyName = "NullableVoice52")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice4?), TypeInfoPropertyName = "NullableVoice42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoicePresetId?), TypeInfoPropertyName = "NullableCreateGenerateAudioRequestInputVoiceAudioPresetVoicePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminatorType?), TypeInfoPropertyName = "NullableCreateGenerateAudioRequestInputVoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime?))] @@ -4781,24 +4612,24 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetDocumentsSort?), TypeInfoPropertyName = "NullableGetDocumentsSort2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetDocumentsOrder?), TypeInfoPropertyName = "NullableGetDocumentsOrder2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.DataItem?), TypeInfoPropertyName = "NullableDataItem2_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice6?), TypeInfoPropertyName = "NullableVoice62")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice5?), TypeInfoPropertyName = "NullableVoice52")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId?), TypeInfoPropertyName = "NullableGetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType?), TypeInfoPropertyName = "NullableGetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice7?), TypeInfoPropertyName = "NullableVoice72")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice6?), TypeInfoPropertyName = "NullableVoice62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId?), TypeInfoPropertyName = "NullableGetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType?), TypeInfoPropertyName = "NullableGetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice8?), TypeInfoPropertyName = "NullableVoice82")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice7?), TypeInfoPropertyName = "NullableVoice72")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId?), TypeInfoPropertyName = "NullableGetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType?), TypeInfoPropertyName = "NullableGetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDataItemDiscriminatorStatus?), TypeInfoPropertyName = "NullableGetAvatarsResponseDataItemDiscriminatorStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponse?), TypeInfoPropertyName = "NullableCreateAvatarsResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice9?), TypeInfoPropertyName = "NullableVoice92")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice8?), TypeInfoPropertyName = "NullableVoice82")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId?), TypeInfoPropertyName = "NullableCreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType?), TypeInfoPropertyName = "NullableCreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice10?), TypeInfoPropertyName = "NullableVoice102")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice9?), TypeInfoPropertyName = "NullableVoice92")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId?), TypeInfoPropertyName = "NullableCreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType?), TypeInfoPropertyName = "NullableCreateAvatarsResponseAvatarReadyVoiceDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice11?), TypeInfoPropertyName = "NullableVoice112")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice10?), TypeInfoPropertyName = "NullableVoice102")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId?), TypeInfoPropertyName = "NullableCreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType?), TypeInfoPropertyName = "NullableCreateAvatarsResponseAvatarFailedVoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateAvatarsResponseDiscriminatorStatus?), TypeInfoPropertyName = "NullableCreateAvatarsResponseDiscriminatorStatus2")] @@ -4817,24 +4648,24 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseVariant3ToolType?), TypeInfoPropertyName = "NullableGetAvatarConversationsResponseVariant3ToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarConversationsResponseDiscriminatorStatus?), TypeInfoPropertyName = "NullableGetAvatarConversationsResponseDiscriminatorStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponse2?), TypeInfoPropertyName = "NullableGetAvatarsResponse22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice12?), TypeInfoPropertyName = "NullableVoice122")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice11?), TypeInfoPropertyName = "NullableVoice112")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId?), TypeInfoPropertyName = "NullableGetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType?), TypeInfoPropertyName = "NullableGetAvatarsResponseAvatarProcessingVoiceDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice13?), TypeInfoPropertyName = "NullableVoice132")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice12?), TypeInfoPropertyName = "NullableVoice122")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId?), TypeInfoPropertyName = "NullableGetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType?), TypeInfoPropertyName = "NullableGetAvatarsResponseAvatarReadyVoiceDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice14?), TypeInfoPropertyName = "NullableVoice142")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice13?), TypeInfoPropertyName = "NullableVoice132")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId?), TypeInfoPropertyName = "NullableGetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType?), TypeInfoPropertyName = "NullableGetAvatarsResponseAvatarFailedVoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetAvatarsResponseDiscriminatorStatus?), TypeInfoPropertyName = "NullableGetAvatarsResponseDiscriminatorStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponse?), TypeInfoPropertyName = "NullablePatchAvatarsResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice15?), TypeInfoPropertyName = "NullableVoice152")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice14?), TypeInfoPropertyName = "NullableVoice142")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId?), TypeInfoPropertyName = "NullablePatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType?), TypeInfoPropertyName = "NullablePatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice16?), TypeInfoPropertyName = "NullableVoice162")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice15?), TypeInfoPropertyName = "NullableVoice152")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId?), TypeInfoPropertyName = "NullablePatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType?), TypeInfoPropertyName = "NullablePatchAvatarsResponseAvatarReadyVoiceDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice17?), TypeInfoPropertyName = "NullableVoice172")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice16?), TypeInfoPropertyName = "NullableVoice162")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId?), TypeInfoPropertyName = "NullablePatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType?), TypeInfoPropertyName = "NullablePatchAvatarsResponseAvatarFailedVoiceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseDiscriminatorStatus?), TypeInfoPropertyName = "NullablePatchAvatarsResponseDiscriminatorStatus2")] @@ -4846,28 +4677,17 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetTasksResponse?), TypeInfoPropertyName = "NullableGetTasksResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.GetTasksResponseDiscriminatorStatus?), TypeInfoPropertyName = "NullableGetTasksResponseDiscriminatorStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStringDouble2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponse?), TypeInfoPropertyName = "NullableCreateGenerateVideoResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor?), TypeInfoPropertyName = "NullableCreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor?), TypeInfoPropertyName = "NullableCreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun?), TypeInfoPropertyName = "NullableCreateGenerateVideoResponseDiscriminatorDryRun2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor?), TypeInfoPropertyName = "NullableCreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreateGenerateVideoResponseVariant1CreateGenerateVideoResponseVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseVariant1PipelineItemFilter?), TypeInfoPropertyName = "NullableCreateGenerateVideoResponseVariant1PipelineItemFilter2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateVideoResponseVariant1EmptiedByItem?), TypeInfoPropertyName = "NullableCreateGenerateVideoResponseVariant1EmptiedByItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponse?), TypeInfoPropertyName = "NullableCreateGenerateImageResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor?), TypeInfoPropertyName = "NullableCreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor?), TypeInfoPropertyName = "NullableCreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseDiscriminatorDryRun?), TypeInfoPropertyName = "NullableCreateGenerateImageResponseDiscriminatorDryRun2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor?), TypeInfoPropertyName = "NullableCreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreateGenerateImageResponseVariant1CreateGenerateImageResponseVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseVariant1PipelineItemFilter?), TypeInfoPropertyName = "NullableCreateGenerateImageResponseVariant1PipelineItemFilter2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateImageResponseVariant1EmptiedByItem?), TypeInfoPropertyName = "NullableCreateGenerateImageResponseVariant1EmptiedByItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponse?), TypeInfoPropertyName = "NullableCreateGenerateAudioResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor?), TypeInfoPropertyName = "NullableCreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType?), TypeInfoPropertyName = "NullableCreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice?), TypeInfoPropertyName = "NullableCreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor?), TypeInfoPropertyName = "NullableCreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType?), TypeInfoPropertyName = "NullableCreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice?), TypeInfoPropertyName = "NullableCreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun?), TypeInfoPropertyName = "NullableCreateGenerateAudioResponseDiscriminatorDryRun2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor?), TypeInfoPropertyName = "NullableCreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutingResolvedInputType?), TypeInfoPropertyName = "NullableCreateGenerateAudioResponseRoutingResolvedInputType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoice?), TypeInfoPropertyName = "NullableCreateGenerateAudioResponseRoutingResolvedInputVoice2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreateGenerateAudioResponseVariant1CreateGenerateAudioResponseVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseVariant1PipelineItemFilter?), TypeInfoPropertyName = "NullableCreateGenerateAudioResponseVariant1PipelineItemFilter2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateGenerateAudioResponseVariant1EmptiedByItem?), TypeInfoPropertyName = "NullableCreateGenerateAudioResponseVariant1EmptiedByItem2")] @@ -5015,1177 +4835,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - typeof(global::Runway.JsonConverters.CreateAvatarsRequestVoiceRunwayLivePresetVoicePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsRequestVoiceRunwayLivePresetVoicePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsRequestVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsRequestVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsRequestImageProcessingJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsRequestImageProcessingNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsRequestVoiceRunwayLivePresetVoicePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsRequestVoiceRunwayLivePresetVoicePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsRequestVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsRequestVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsRequestImageProcessingJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsRequestImageProcessingNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarVideosRequestAvatarRunwayPresetAvatarPresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarVideosRequestAvatarRunwayPresetAvatarPresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarVideosRequestAvatarDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarVideosRequestAvatarDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarVideosRequestSpeechTextInputVoiceRunwayPresetVoicePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarVideosRequestSpeechTextInputVoiceRunwayPresetVoicePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarVideosRequestSpeechTextInputVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarVideosRequestSpeechTextInputVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarVideosRequestSpeechDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarVideosRequestSpeechDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestAvatarRunwayPresetAvatarPresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestAvatarRunwayPresetAvatarPresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestAvatarDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestAvatarDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolClientEventToolParameterArrayParameterItemsTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolClientEventToolParameterArrayParameterItemsTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolClientEventToolParameterDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolClientEventToolParameterDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolBackendRPCToolParameterArrayParameterItemsTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolBackendRPCToolParameterArrayParameterItemsTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolBackendRPCToolParameterDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolBackendRPCToolParameterDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestToolDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRealtimeSessionsRequestIntegrationDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen45RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen45RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen45ContentModerationPublicFigureThresholdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen45ContentModerationPublicFigureThresholdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen45OutputFormatJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen45OutputFormatNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen45ProresProfileJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen45ProresProfileNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen4TurboRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen4TurboRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen4TurboContentModerationPublicFigureThresholdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGen4TurboContentModerationPublicFigureThresholdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestVeo31PromptImagePromptImagePositionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestVeo31PromptImagePromptImagePositionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestVeo31RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestVeo31RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestVeo31FastPromptImagePromptImagePositionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestVeo31FastPromptImagePromptImagePositionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestVeo31FastRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestVeo31FastRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestHailuo3ResolutionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestHailuo3ResolutionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestHailuo3RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestHailuo3RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestHappyhorse10ResolutionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestHappyhorse10ResolutionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance2PromptImagePromptImagePositionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance2PromptImagePromptImagePositionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance2RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance2RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance2FastPromptImagePromptImagePositionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance2FastPromptImagePromptImagePositionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance2FastRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance2FastRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance2MiniPromptImagePromptImagePositionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance2MiniPromptImagePromptImagePositionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance2MiniRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance2MiniRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGeminiOmniFlashRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestGeminiOmniFlashRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance25PromptImagePromptImagePositionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance25PromptImagePromptImagePositionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance25RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestSeedance25RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestDiscriminatorModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestDiscriminatorModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestGen45RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestGen45RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestGen45ContentModerationPublicFigureThresholdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestGen45ContentModerationPublicFigureThresholdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestGen45OutputFormatJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestGen45OutputFormatNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestGen45ProresProfileJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestGen45ProresProfileNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestVeo31RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestVeo31RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestVeo31FastRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestVeo31FastRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestHailuo3ResolutionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestHailuo3ResolutionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestHailuo3RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestHailuo3RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestHappyhorse10RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestHappyhorse10RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestSeedance2RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestSeedance2RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestSeedance2FastRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestSeedance2FastRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestSeedance2MiniRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestSeedance2MiniRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestGeminiOmniFlashRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestGeminiOmniFlashRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestSeedance25RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestSeedance25RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestDiscriminatorModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestDiscriminatorModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestVariant1TargetAspectRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestVariant1TargetAspectRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestVariant1ContentModerationPublicFigureThresholdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestVariant1ContentModerationPublicFigureThresholdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestVariant1OutputFormatJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestVariant1OutputFormatNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestVariant1ProresProfileJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestVariant1ProresProfileNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestHailuo3ResolutionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestHailuo3ResolutionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestHailuo3RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestHailuo3RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestSeedance2RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestSeedance2RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestSeedance2FastRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestSeedance2FastRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestSeedance2MiniRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestSeedance2MiniRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestSeedance25ModeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestSeedance25ModeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestSeedance25RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestSeedance25RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestDiscriminatorModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestDiscriminatorModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGen4ImageTurboRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGen4ImageTurboRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGen4ImageTurboContentModerationPublicFigureThresholdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGen4ImageTurboContentModerationPublicFigureThresholdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGen4ImageRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGen4ImageRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGen4ImageContentModerationPublicFigureThresholdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGen4ImageContentModerationPublicFigureThresholdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGptImage2RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGptImage2RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGptImage2QualityJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGptImage2QualityNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGptImage2BackgroundJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGptImage2BackgroundNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGeminiImage3ProRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGeminiImage3ProRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGeminiImage3ProReferenceImageSubjectJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGeminiImage3ProReferenceImageSubjectNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGeminiImage31FlashRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGeminiImage31FlashRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGeminiImage31FlashReferenceImageSubjectJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGeminiImage31FlashReferenceImageSubjectNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestSeedream5ProRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestSeedream5ProRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestSeedream5ProOutputFormatJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestSeedream5ProOutputFormatNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestSeedream5LiteRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestSeedream5LiteRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestSeedream5LiteOutputFormatJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestSeedream5LiteOutputFormatNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGemini25FlashRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestGemini25FlashRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestDiscriminatorModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestDiscriminatorModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageUpscaleRequestMagnificPrecisionUpscalerV2FlavorJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageUpscaleRequestMagnificPrecisionUpscalerV2FlavorNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageUpscaleRequestDiscriminatorModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageUpscaleRequestDiscriminatorModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoCharacterDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoCharacterDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoReferenceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoReferenceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoContentModerationPublicFigureThresholdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoContentModerationPublicFigureThresholdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestDiscriminatorModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestDiscriminatorModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormatJsonConverter), - - typeof(global::Runway.JsonConverters.CreateSoundEffectRequestSeedAudioOutputFormatNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateSoundEffectRequestDiscriminatorModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateSoundEffectRequestDiscriminatorModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceRunwayPresetVoicePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceRunwayPresetVoicePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateSpeechToSpeechRequestDiscriminatorModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateSpeechToSpeechRequestDiscriminatorModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormatJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormatNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestElevenV3VoiceRunwayPresetVoicePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestElevenV3VoiceRunwayPresetVoicePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestElevenV3VoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestElevenV3VoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestElevenV3ApplyTextNormalizationJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestElevenV3ApplyTextNormalizationNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestDiscriminatorModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestDiscriminatorModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVoiceDubbingRequestElevenVoiceDubbingTargetLangJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVoiceDubbingRequestElevenVoiceDubbingTargetLangNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVoiceDubbingRequestDiscriminatorModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVoiceDubbingRequestDiscriminatorModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVoiceIsolationRequestDiscriminatorModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVoiceIsolationRequestDiscriminatorModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoRequestInputReferenceImageRoleJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoRequestInputReferenceImageRoleNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoRequestInputReferenceVideoRoleJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoRequestInputReferenceVideoRoleNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoRequestInputAspectRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoRequestInputAspectRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoRequestInputResolutionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoRequestInputResolutionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoRequestInputContentModerationPublicFigureThresholdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoRequestInputContentModerationPublicFigureThresholdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageRequestInputAspectRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageRequestInputAspectRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageRequestInputResolutionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageRequestInputResolutionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageRequestInputContentModerationPublicFigureThresholdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageRequestInputContentModerationPublicFigureThresholdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioRequestInputTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioRequestInputTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioRequestInputVoiceAudioPresetVoicePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioRequestInputVoiceAudioPresetVoicePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioRequestInputVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioRequestInputVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateUploadsRequestTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateUploadsRequestTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesAdLocalizationRequestVersionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesAdLocalizationRequestVersionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesAdLocalizationRequestTargetLanguageJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesAdLocalizationRequestTargetLanguageNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMarketingStockImageRequestVersionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMarketingStockImageRequestVersionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMarketingStockImageRequestQualityJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMarketingStockImageRequestQualityNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductAdRequestVersionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductAdRequestVersionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductAdRequestRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductAdRequestRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductCampaignImageRequestVersionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductCampaignImageRequestVersionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductSwapRequestVersionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductSwapRequestVersionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductSwapRequestNewProductImageViewJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductSwapRequestNewProductImageViewNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductSwapRequestResolutionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductSwapRequestResolutionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestVariant1VersionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestVariant1VersionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestVariant1RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestVariant1RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestVariant2VersionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestVariant2VersionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestVariant2RatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestVariant2RatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestDiscriminatorModeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestDiscriminatorModeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductUgcRequestVersionJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductUgcRequestVersionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductUgcRequestRatioJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesProductUgcRequestRatioNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRoutersRequestSettingsModelsModeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRoutersRequestSettingsModelsModeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRoutersRequestSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRoutersRequestSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchRoutersRequestSettingsModelsModeJsonConverter), - - typeof(global::Runway.JsonConverters.PatchRoutersRequestSettingsModelsModeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchRoutersRequestSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.PatchRoutersRequestSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVoicesRequestFromVoiceFromTextModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVoicesRequestFromVoiceFromTextModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVoicesRequestFromDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVoicesRequestFromDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVoicesPreviewRequestModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVoicesPreviewRequestModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateWorkflowsRequestNodeOutputsDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateWorkflowsRequestNodeOutputsDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetDocumentsSortJsonConverter), - - typeof(global::Runway.JsonConverters.GetDocumentsSortNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetDocumentsOrderJsonConverter), - - typeof(global::Runway.JsonConverters.GetDocumentsOrderNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDataItemDiscriminatorStatusJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDataItemDiscriminatorStatusNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseDiscriminatorStatusJsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseDiscriminatorStatusNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseDataItemStatusJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseDataItemStatusNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseDataItemAvatarVariant1DiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseDataItemAvatarVariant1DiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant1AvatarVariant1DiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant1AvatarVariant1DiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant1TranscriptItemRoleJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant1TranscriptItemRoleNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant1ToolTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant1ToolTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant2AvatarVariant1DiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant2AvatarVariant1DiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant2TranscriptItemRoleJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant2TranscriptItemRoleNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant2ToolTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant2ToolTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant3AvatarVariant1DiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant3AvatarVariant1DiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant3TranscriptItemRoleJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant3TranscriptItemRoleNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant3ToolTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseVariant3ToolTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseDiscriminatorStatusJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponseDiscriminatorStatusNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseAvatarReadyVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseAvatarReadyVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseAvatarFailedVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseAvatarFailedVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDiscriminatorStatusJsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponseDiscriminatorStatusNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetIdJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetIdNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseDiscriminatorStatusJsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseDiscriminatorStatusNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateDocumentsResponseTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateDocumentsResponseTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetDocumentsResponseDataItemTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetDocumentsResponseDataItemTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetDocumentsResponseTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetDocumentsResponseTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetRealtimeSessionsResponseDiscriminatorStatusJsonConverter), - - typeof(global::Runway.JsonConverters.GetRealtimeSessionsResponseDiscriminatorStatusNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetTasksResponseDiscriminatorStatusJsonConverter), - - typeof(global::Runway.JsonConverters.GetTasksResponseDiscriminatorStatusNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseVariant1PipelineItemFilterJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseVariant1PipelineItemFilterNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseVariant1EmptiedByItemJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseVariant1EmptiedByItemNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseVariant1PipelineItemFilterJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseVariant1PipelineItemFilterNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseVariant1EmptiedByItemJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseVariant1EmptiedByItemNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseVariant1PipelineItemFilterJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseVariant1PipelineItemFilterNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseVariant1EmptiedByItemJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseVariant1EmptiedByItemNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetOrganizationWebappUsageResponseDataItemTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetOrganizationWebappUsageResponseDataItemTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetOrganizationWebappAuditLogsResponseDataItemActionJsonConverter), - - typeof(global::Runway.JsonConverters.GetOrganizationWebappAuditLogsResponseDataItemActionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetOrganizationWebappAuditLogsResponseActionJsonConverter), - - typeof(global::Runway.JsonConverters.GetOrganizationWebappAuditLogsResponseActionNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateOrganizationUsageResponseResultUsedCreditModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateOrganizationUsageResponseResultUsedCreditModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateOrganizationUsageResponseModelJsonConverter), - - typeof(global::Runway.JsonConverters.CreateOrganizationUsageResponseModelNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersResponseDataItemSettingsModelsModeJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersResponseDataItemSettingsModelsModeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersResponseDataItemSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersResponseDataItemSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRoutersResponseSettingsModelsModeJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRoutersResponseSettingsModelsModeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRoutersResponseSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.CreateRoutersResponseSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersResponseSettingsModelsModeJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersResponseSettingsModelsModeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersResponseSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersResponseSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchRoutersResponseSettingsModelsModeJsonConverter), - - typeof(global::Runway.JsonConverters.PatchRoutersResponseSettingsModelsModeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchRoutersResponseSettingsOptimizeForJsonConverter), - - typeof(global::Runway.JsonConverters.PatchRoutersResponseSettingsOptimizeForNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersRequestsResponseDataItemStatusJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersRequestsResponseDataItemStatusNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersRequestsResponseDataItemReasonCode2JsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersRequestsResponseDataItemReasonCode2NullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersRequestsResponseDataItemPipelineItemVariant1FilterJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersRequestsResponseDataItemPipelineItemVariant1FilterNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersRequestsResponseDataItemPipelineItemVariant3OutcomeJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersRequestsResponseDataItemPipelineItemVariant3OutcomeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersRequestsResponseDataItemPipelineItemDiscriminatorTypeJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersRequestsResponseDataItemPipelineItemDiscriminatorTypeNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersRequestsResponseDataItemEmptiedByItemJsonConverter), - - typeof(global::Runway.JsonConverters.GetRoutersRequestsResponseDataItemEmptiedByItemNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetVoicesResponseDataItemDiscriminatorStatusJsonConverter), - - typeof(global::Runway.JsonConverters.GetVoicesResponseDataItemDiscriminatorStatusNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetVoicesResponseDiscriminatorStatusJsonConverter), - - typeof(global::Runway.JsonConverters.GetVoicesResponseDiscriminatorStatusNullableJsonConverter), - - typeof(global::Runway.JsonConverters.PatchVoicesResponseDiscriminatorStatusJsonConverter), - - typeof(global::Runway.JsonConverters.PatchVoicesResponseDiscriminatorStatusNullableJsonConverter), - - typeof(global::Runway.JsonConverters.GetWorkflowInvocationsResponseDiscriminatorStatusJsonConverter), - - typeof(global::Runway.JsonConverters.GetWorkflowInvocationsResponseDiscriminatorStatusNullableJsonConverter), - - typeof(global::Runway.JsonConverters.VoiceJsonConverter), - - typeof(global::Runway.JsonConverters.Voice2JsonConverter), - - typeof(global::Runway.JsonConverters.AvatarJsonConverter), - - typeof(global::Runway.JsonConverters.SpeechJsonConverter), - - typeof(global::Runway.JsonConverters.Voice3JsonConverter), - - typeof(global::Runway.JsonConverters.Avatar2JsonConverter), - - typeof(global::Runway.JsonConverters.ToolsItemJsonConverter), - - typeof(global::Runway.JsonConverters.ParametersItemJsonConverter), - - typeof(global::Runway.JsonConverters.ParametersItem2JsonConverter), - - typeof(global::Runway.JsonConverters.IntegrationJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageToVideoRequestJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToVideoRequestJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoToVideoRequestJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToImageRequestJsonConverter), - - typeof(global::Runway.JsonConverters.CreateImageUpscaleRequestJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestJsonConverter), - - typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestJsonConverter), - - typeof(global::Runway.JsonConverters.CharacterJsonConverter), - - typeof(global::Runway.JsonConverters.CreateSoundEffectRequestJsonConverter), - - typeof(global::Runway.JsonConverters.CreateSpeechToSpeechRequestJsonConverter), - - typeof(global::Runway.JsonConverters.MediaJsonConverter), - - typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestJsonConverter), - - typeof(global::Runway.JsonConverters.Voice4JsonConverter), - - typeof(global::Runway.JsonConverters.CreateVoiceDubbingRequestJsonConverter), - - typeof(global::Runway.JsonConverters.CreateVoiceIsolationRequestJsonConverter), - - typeof(global::Runway.JsonConverters.Voice5JsonConverter), - - typeof(global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestJsonConverter), - - typeof(global::Runway.JsonConverters.FromJsonConverter), - - typeof(global::Runway.JsonConverters.NodeOutputsJsonConverter), - - typeof(global::Runway.JsonConverters.DataItemJsonConverter), - - typeof(global::Runway.JsonConverters.Voice6JsonConverter), - - typeof(global::Runway.JsonConverters.Voice7JsonConverter), - - typeof(global::Runway.JsonConverters.Voice8JsonConverter), - - typeof(global::Runway.JsonConverters.CreateAvatarsResponseJsonConverter), - - typeof(global::Runway.JsonConverters.Voice9JsonConverter), - - typeof(global::Runway.JsonConverters.Voice10JsonConverter), - - typeof(global::Runway.JsonConverters.Voice11JsonConverter), - - typeof(global::Runway.JsonConverters.AvatarVariant1JsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarConversationsResponse2JsonConverter), - - typeof(global::Runway.JsonConverters.AvatarVariant12JsonConverter), - - typeof(global::Runway.JsonConverters.AvatarVariant13JsonConverter), - - typeof(global::Runway.JsonConverters.AvatarVariant14JsonConverter), - - typeof(global::Runway.JsonConverters.GetAvatarsResponse2JsonConverter), - - typeof(global::Runway.JsonConverters.Voice12JsonConverter), - - typeof(global::Runway.JsonConverters.Voice13JsonConverter), - - typeof(global::Runway.JsonConverters.Voice14JsonConverter), - - typeof(global::Runway.JsonConverters.PatchAvatarsResponseJsonConverter), - - typeof(global::Runway.JsonConverters.Voice15JsonConverter), - - typeof(global::Runway.JsonConverters.Voice16JsonConverter), - - typeof(global::Runway.JsonConverters.Voice17JsonConverter), - - typeof(global::Runway.JsonConverters.GetRealtimeSessionsResponseJsonConverter), - - typeof(global::Runway.JsonConverters.GetTasksResponseJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateImageResponseJsonConverter), - - typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseJsonConverter), - - typeof(global::Runway.JsonConverters.PipelineItemJsonConverter), - - typeof(global::Runway.JsonConverters.DataItem2JsonConverter), - - typeof(global::Runway.JsonConverters.GetVoicesResponse2JsonConverter), - - typeof(global::Runway.JsonConverters.PatchVoicesResponseJsonConverter), - - typeof(global::Runway.JsonConverters.GetWorkflowInvocationsResponseJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter>), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter>), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter>), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter>), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter>), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter>), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter>), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter>), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter>), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter>), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter>), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.AnyOfJsonConverter), - - typeof(global::Runway.JsonConverters.UnixTimestampJsonConverter), - })] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -6211,7 +4860,7 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] - internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext + internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext { } /// @@ -6224,9 +4873,7 @@ public sealed partial class SourceGenerationContext : global::System.Text.Json.S SourceGenerationContextChunk1.Default, - SourceGenerationContextChunk2.Default, - - SourceGenerationContextChunk3.Default + SourceGenerationContextChunk2.Default ); private static readonly global::System.Text.Json.JsonSerializerOptions DefaultOptions = CreateDefaultOptions(); @@ -6461,8 +5108,6 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Runway.JsonConverters.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceDiscriminatorTypeNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateSpeechToSpeechRequestDiscriminatorModelJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateSpeechToSpeechRequestDiscriminatorModelNullableJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorTypeNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioOutputFormatJsonConverter()); @@ -6653,40 +5298,24 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Runway.JsonConverters.GetRealtimeSessionsResponseDiscriminatorStatusNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.GetTasksResponseDiscriminatorStatusJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.GetTasksResponseDiscriminatorStatusNullableJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunNullableJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateVideoResponseVariant1PipelineItemFilterJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateVideoResponseVariant1PipelineItemFilterNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateVideoResponseVariant1EmptiedByItemJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateVideoResponseVariant1EmptiedByItemNullableJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunNullableJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateImageResponseVariant1PipelineItemFilterJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateImageResponseVariant1PipelineItemFilterNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateImageResponseVariant1EmptiedByItemJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateImageResponseVariant1EmptiedByItemNullableJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForNullableJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeNullableJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceNullableJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForNullableJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeNullableJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceNullableJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunNullableJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForNullableJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputTypeJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputTypeNullableJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoiceJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoiceNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseVariant1PipelineItemFilterJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseVariant1PipelineItemFilterNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseVariant1EmptiedByItemJsonConverter()); @@ -6759,39 +5388,35 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Runway.JsonConverters.CreateSpeechToSpeechRequestJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.MediaJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateTextToSpeechRequestJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.Voice4JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateVoiceDubbingRequestJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateVoiceIsolationRequestJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.Voice5JsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.Voice4JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateRecipesMultiShotVideoRequestJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.FromJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.NodeOutputsJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.DataItemJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.Voice5JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.Voice6JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.Voice7JsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.Voice8JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateAvatarsResponseJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.Voice8JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.Voice9JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.Voice10JsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.Voice11JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.AvatarVariant1JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.GetAvatarConversationsResponse2JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.AvatarVariant12JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.AvatarVariant13JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.AvatarVariant14JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.GetAvatarsResponse2JsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.Voice11JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.Voice12JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.Voice13JsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.Voice14JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.PatchAvatarsResponseJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.Voice14JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.Voice15JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.Voice16JsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.Voice17JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.GetRealtimeSessionsResponseJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.GetTasksResponseJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateVideoResponseJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateImageResponseJsonConverter()); - options.Converters.Add(new global::Runway.JsonConverters.CreateGenerateAudioResponseJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.PipelineItemJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.DataItem2JsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.GetVoicesResponse2JsonConverter()); diff --git a/src/libs/Runway/Generated/Runway.JsonSerializerContextTypes.g.cs b/src/libs/Runway/Generated/Runway.JsonSerializerContextTypes.g.cs index 29dfad4c..3a2fa15d 100644 --- a/src/libs/Runway/Generated/Runway.JsonSerializerContextTypes.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonSerializerContextTypes.g.cs @@ -1536,2747 +1536,2607 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Runway.Voice4? Type377 { get; set; } + public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? Type377 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice? Type378 { get; set; } + public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator? Type378 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId? Type379 { get; set; } + public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType? Type379 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? Type380 { get; set; } + public global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat? Type380 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminator? Type381 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2? Type381 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType? Type382 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoice? Type382 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestSeedAudioOutputFormat? Type383 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetId? Type383 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2? Type384 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminator? Type384 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoice? Type385 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminatorType? Type385 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetId? Type386 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenV3? Type386 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminator? Type387 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenV3VoiceRunwayPresetVoice? Type387 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminatorType? Type388 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenV3VoiceRunwayPresetVoicePresetId? Type388 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenV3? Type389 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenV3VoiceDiscriminator? Type389 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenV3VoiceRunwayPresetVoice? Type390 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenV3VoiceDiscriminatorType? Type390 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenV3VoiceRunwayPresetVoicePresetId? Type391 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenV3ApplyTextNormalization? Type391 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenV3VoiceDiscriminator? Type392 { get; set; } + public global::Runway.CreateTextToSpeechRequestDiscriminator? Type392 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenV3VoiceDiscriminatorType? Type393 { get; set; } + public global::Runway.CreateTextToSpeechRequestDiscriminatorModel? Type393 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenV3ApplyTextNormalization? Type394 { get; set; } + public global::Runway.CreateVoiceDubbingRequest? Type394 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestDiscriminator? Type395 { get; set; } + public global::Runway.CreateVoiceDubbingRequestElevenVoiceDubbing? Type395 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestDiscriminatorModel? Type396 { get; set; } + public global::Runway.CreateVoiceDubbingRequestElevenVoiceDubbingTargetLang? Type396 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequest? Type397 { get; set; } + public global::Runway.CreateVoiceDubbingRequestDiscriminator? Type397 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequestElevenVoiceDubbing? Type398 { get; set; } + public global::Runway.CreateVoiceDubbingRequestDiscriminatorModel? Type398 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequestElevenVoiceDubbingTargetLang? Type399 { get; set; } + public global::Runway.CreateVoiceIsolationRequest? Type399 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequestDiscriminator? Type400 { get; set; } + public global::Runway.CreateVoiceIsolationRequestElevenVoiceIsolation? Type400 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequestDiscriminatorModel? Type401 { get; set; } + public global::Runway.CreateVoiceIsolationRequestDiscriminator? Type401 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationRequest? Type402 { get; set; } + public global::Runway.CreateVoiceIsolationRequestDiscriminatorModel? Type402 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationRequestElevenVoiceIsolation? Type403 { get; set; } + public global::Runway.CreateGenerateVideoRequest? Type403 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationRequestDiscriminator? Type404 { get; set; } + public global::Runway.CreateGenerateVideoRequestInput? Type404 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationRequestDiscriminatorModel? Type405 { get; set; } + public global::System.Collections.Generic.IList? Type405 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequest? Type406 { get; set; } + public global::Runway.CreateGenerateVideoRequestInputReferenceImage? Type406 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequestInput? Type407 { get; set; } + public global::Runway.CreateGenerateVideoRequestInputReferenceImageRole? Type407 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type408 { get; set; } + public global::System.Collections.Generic.IList? Type408 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequestInputReferenceImage? Type409 { get; set; } + public global::Runway.CreateGenerateVideoRequestInputReferenceVideo? Type409 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequestInputReferenceImageRole? Type410 { get; set; } + public global::Runway.CreateGenerateVideoRequestInputReferenceVideoRole? Type410 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type411 { get; set; } + public global::System.Collections.Generic.IList? Type411 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequestInputReferenceVideo? Type412 { get; set; } + public global::Runway.CreateGenerateVideoRequestInputReferenceAudioItem? Type412 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequestInputReferenceVideoRole? Type413 { get; set; } + public global::System.Collections.Generic.IList>? Type413 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type414 { get; set; } + public global::Runway.AnyOf? Type414 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequestInputReferenceAudioItem? Type415 { get; set; } + public global::Runway.CreateGenerateVideoRequestInputKeyframeVariant1? Type415 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type416 { get; set; } + public global::Runway.CreateGenerateVideoRequestInputKeyframeVariant1Range? Type416 { get; set; } /// /// /// - public global::Runway.AnyOf? Type417 { get; set; } + public global::Runway.CreateGenerateVideoRequestInputKeyframeVariant2? Type417 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequestInputKeyframeVariant1? Type418 { get; set; } + public global::Runway.CreateGenerateVideoRequestInputKeyframeVariant2Range? Type418 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequestInputKeyframeVariant1Range? Type419 { get; set; } + public global::Runway.CreateGenerateVideoRequestInputAspectRatio? Type419 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequestInputKeyframeVariant2? Type420 { get; set; } + public global::Runway.CreateGenerateVideoRequestInputResolution? Type420 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequestInputKeyframeVariant2Range? Type421 { get; set; } + public global::Runway.CreateGenerateVideoRequestInputContentModeration? Type421 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequestInputAspectRatio? Type422 { get; set; } + public global::Runway.CreateGenerateVideoRequestInputContentModerationPublicFigureThreshold? Type422 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequestInputResolution? Type423 { get; set; } + public global::Runway.CreateGenerateImageRequest? Type423 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequestInputContentModeration? Type424 { get; set; } + public global::Runway.CreateGenerateImageRequestInput? Type424 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoRequestInputContentModerationPublicFigureThreshold? Type425 { get; set; } + public global::System.Collections.Generic.IList? Type425 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageRequest? Type426 { get; set; } + public global::Runway.CreateGenerateImageRequestInputReferenceImage? Type426 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageRequestInput? Type427 { get; set; } + public global::Runway.CreateGenerateImageRequestInputAspectRatio? Type427 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type428 { get; set; } + public global::Runway.CreateGenerateImageRequestInputResolution? Type428 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageRequestInputReferenceImage? Type429 { get; set; } + public global::Runway.CreateGenerateImageRequestInputContentModeration? Type429 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageRequestInputAspectRatio? Type430 { get; set; } + public global::Runway.CreateGenerateImageRequestInputContentModerationPublicFigureThreshold? Type430 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageRequestInputResolution? Type431 { get; set; } + public global::Runway.CreateGenerateAudioRequest? Type431 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageRequestInputContentModeration? Type432 { get; set; } + public global::Runway.CreateGenerateAudioRequestInput? Type432 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageRequestInputContentModerationPublicFigureThreshold? Type433 { get; set; } + public global::Runway.CreateGenerateAudioRequestInputType? Type433 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioRequest? Type434 { get; set; } + public global::Runway.Voice4? Type434 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioRequestInput? Type435 { get; set; } + public global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? Type435 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioRequestInputType? Type436 { get; set; } + public global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoicePresetId? Type436 { get; set; } /// /// /// - public global::Runway.Voice5? Type437 { get; set; } + public global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? Type437 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? Type438 { get; set; } + public global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminator? Type438 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoicePresetId? Type439 { get; set; } + public global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminatorType? Type439 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? Type440 { get; set; } + public global::System.Collections.Generic.IList? Type440 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminator? Type441 { get; set; } + public global::Runway.CreateGenerateAudioRequestInputReferenceAudio? Type441 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminatorType? Type442 { get; set; } + public global::Runway.CreateOrganizationUsageRequest? Type442 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type443 { get; set; } + public global::System.DateTime? Type443 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioRequestInputReferenceAudio? Type444 { get; set; } + public global::Runway.CreateUploadsRequest? Type444 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageRequest? Type445 { get; set; } + public global::Runway.CreateUploadsRequestType? Type445 { get; set; } /// /// /// - public global::System.DateTime? Type446 { get; set; } + public global::Runway.CreateRecipesAdLocalizationRequest? Type446 { get; set; } /// /// /// - public global::Runway.CreateUploadsRequest? Type447 { get; set; } + public global::Runway.CreateRecipesAdLocalizationRequestVersion? Type447 { get; set; } /// /// /// - public global::Runway.CreateUploadsRequestType? Type448 { get; set; } + public global::Runway.CreateRecipesAdLocalizationRequestReferenceImage? Type448 { get; set; } /// /// /// - public global::Runway.CreateRecipesAdLocalizationRequest? Type449 { get; set; } + public global::Runway.CreateRecipesAdLocalizationRequestTargetLanguage? Type449 { get; set; } /// /// /// - public global::Runway.CreateRecipesAdLocalizationRequestVersion? Type450 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageRequest? Type450 { get; set; } /// /// /// - public global::Runway.CreateRecipesAdLocalizationRequestReferenceImage? Type451 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageRequestVersion? Type451 { get; set; } /// /// /// - public global::Runway.CreateRecipesAdLocalizationRequestTargetLanguage? Type452 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageRequestReferenceImage? Type452 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageRequest? Type453 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageRequestQuality? Type453 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageRequestVersion? Type454 { get; set; } + public global::Runway.CreateRecipesProductAdRequest? Type454 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageRequestReferenceImage? Type455 { get; set; } + public global::Runway.CreateRecipesProductAdRequestVersion? Type455 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageRequestQuality? Type456 { get; set; } + public global::System.Collections.Generic.IList? Type456 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequest? Type457 { get; set; } + public global::Runway.CreateRecipesProductAdRequestProductImage? Type457 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequestVersion? Type458 { get; set; } + public global::System.Collections.Generic.IList? Type458 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type459 { get; set; } + public global::Runway.CreateRecipesProductAdRequestStyleImage? Type459 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequestProductImage? Type460 { get; set; } + public global::Runway.CreateRecipesProductAdRequestRatio? Type460 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type461 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageRequest? Type461 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequestStyleImage? Type462 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageRequestVersion? Type462 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequestRatio? Type463 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageRequestImage? Type463 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageRequest? Type464 { get; set; } + public global::Runway.CreateRecipesProductSwapRequest? Type464 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageRequestVersion? Type465 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestVersion? Type465 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageRequestImage? Type466 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestReferenceVideo? Type466 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequest? Type467 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestOriginalProductImage? Type467 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestVersion? Type468 { get; set; } + public global::System.Collections.Generic.IList? Type468 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestReferenceVideo? Type469 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestNewProductImage? Type469 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestOriginalProductImage? Type470 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestNewProductImageView? Type470 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type471 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestResolution? Type471 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestNewProductImage? Type472 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequest? Type472 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestNewProductImageView? Type473 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant1? Type473 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestResolution? Type474 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant1Version? Type474 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequest? Type475 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant1FirstFrame? Type475 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant1? Type476 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant1Ratio? Type476 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant1Version? Type477 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2? Type477 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant1FirstFrame? Type478 { get; set; } + public global::System.Collections.Generic.IList? Type478 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant1Ratio? Type479 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Shot? Type479 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2? Type480 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Version? Type480 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type481 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2FirstFrame? Type481 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Shot? Type482 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Ratio? Type482 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Version? Type483 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestDiscriminator? Type483 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2FirstFrame? Type484 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestDiscriminatorMode? Type484 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Ratio? Type485 { get; set; } + public global::Runway.CreateRecipesProductUgcRequest? Type485 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestDiscriminator? Type486 { get; set; } + public global::Runway.CreateRecipesProductUgcRequestVersion? Type486 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestDiscriminatorMode? Type487 { get; set; } + public global::Runway.CreateRecipesProductUgcRequestCharacterImage? Type487 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequest? Type488 { get; set; } + public global::Runway.CreateRecipesProductUgcRequestProductImage? Type488 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequestVersion? Type489 { get; set; } + public global::Runway.CreateRecipesProductUgcRequestRatio? Type489 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequestCharacterImage? Type490 { get; set; } + public global::Runway.CreateRoutersRequest? Type490 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequestProductImage? Type491 { get; set; } + public global::Runway.CreateRoutersRequestSettings? Type491 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequestRatio? Type492 { get; set; } + public global::Runway.CreateRoutersRequestSettingsModels? Type492 { get; set; } /// /// /// - public global::Runway.CreateRoutersRequest? Type493 { get; set; } + public global::Runway.CreateRoutersRequestSettingsModelsMode? Type493 { get; set; } /// /// /// - public global::Runway.CreateRoutersRequestSettings? Type494 { get; set; } + public global::Runway.CreateRoutersRequestSettingsMaxCreditsPerGeneration? Type494 { get; set; } /// /// /// - public global::Runway.CreateRoutersRequestSettingsModels? Type495 { get; set; } + public global::Runway.CreateRoutersRequestSettingsOptimizeFor? Type495 { get; set; } /// /// /// - public global::Runway.CreateRoutersRequestSettingsModelsMode? Type496 { get; set; } + public global::Runway.CreateRoutersRequestSettingsFallback? Type496 { get; set; } /// /// /// - public global::Runway.CreateRoutersRequestSettingsMaxCreditsPerGeneration? Type497 { get; set; } + public global::Runway.PatchRoutersRequest? Type497 { get; set; } /// /// /// - public global::Runway.CreateRoutersRequestSettingsOptimizeFor? Type498 { get; set; } + public global::Runway.PatchRoutersRequestSettings? Type498 { get; set; } /// /// /// - public global::Runway.CreateRoutersRequestSettingsFallback? Type499 { get; set; } + public global::Runway.PatchRoutersRequestSettingsModels? Type499 { get; set; } /// /// /// - public global::Runway.PatchRoutersRequest? Type500 { get; set; } + public global::Runway.PatchRoutersRequestSettingsModelsMode? Type500 { get; set; } /// /// /// - public global::Runway.PatchRoutersRequestSettings? Type501 { get; set; } + public global::Runway.PatchRoutersRequestSettingsMaxCreditsPerGeneration? Type501 { get; set; } /// /// /// - public global::Runway.PatchRoutersRequestSettingsModels? Type502 { get; set; } + public global::Runway.PatchRoutersRequestSettingsOptimizeFor? Type502 { get; set; } /// /// /// - public global::Runway.PatchRoutersRequestSettingsModelsMode? Type503 { get; set; } + public global::Runway.PatchRoutersRequestSettingsFallback? Type503 { get; set; } /// /// /// - public global::Runway.PatchRoutersRequestSettingsMaxCreditsPerGeneration? Type504 { get; set; } + public global::Runway.CreateVoicesRequest? Type504 { get; set; } /// /// /// - public global::Runway.PatchRoutersRequestSettingsOptimizeFor? Type505 { get; set; } + public global::Runway.From? Type505 { get; set; } /// /// /// - public global::Runway.PatchRoutersRequestSettingsFallback? Type506 { get; set; } + public global::Runway.CreateVoicesRequestFromVoiceFromAudio? Type506 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequest? Type507 { get; set; } + public global::Runway.CreateVoicesRequestFromVoiceFromText? Type507 { get; set; } /// /// /// - public global::Runway.From? Type508 { get; set; } + public global::Runway.CreateVoicesRequestFromVoiceFromTextModel? Type508 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromVoiceFromAudio? Type509 { get; set; } + public global::Runway.CreateVoicesRequestFromDiscriminator? Type509 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromVoiceFromText? Type510 { get; set; } + public global::Runway.CreateVoicesRequestFromDiscriminatorType? Type510 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromVoiceFromTextModel? Type511 { get; set; } + public global::Runway.PatchVoicesRequest? Type511 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromDiscriminator? Type512 { get; set; } + public global::Runway.CreateVoicesPreviewRequest? Type512 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromDiscriminatorType? Type513 { get; set; } + public global::Runway.CreateVoicesPreviewRequestModel? Type513 { get; set; } /// /// /// - public global::Runway.PatchVoicesRequest? Type514 { get; set; } + public global::Runway.CreateWorkflowsRequest? Type514 { get; set; } /// /// /// - public global::Runway.CreateVoicesPreviewRequest? Type515 { get; set; } + public global::System.Collections.Generic.Dictionary? Type515 { get; set; } /// /// /// - public global::Runway.CreateVoicesPreviewRequestModel? Type516 { get; set; } + public global::Runway.NodeOutputs? Type516 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequest? Type517 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputPrimitive? Type517 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type518 { get; set; } + public global::Runway.AnyOf? Type518 { get; set; } /// /// /// - public global::Runway.NodeOutputs? Type519 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputImage? Type519 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputPrimitive? Type520 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputVideo? Type520 { get; set; } /// /// /// - public global::Runway.AnyOf? Type521 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputAudio? Type521 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputImage? Type522 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsDiscriminator? Type522 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputVideo? Type523 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsDiscriminatorType? Type523 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputAudio? Type524 { get; set; } + public global::Runway.GetDocumentsSort? Type524 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsDiscriminator? Type525 { get; set; } + public global::Runway.GetDocumentsOrder? Type525 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsDiscriminatorType? Type526 { get; set; } + public global::Runway.GetAvatarsResponse? Type526 { get; set; } /// /// /// - public global::Runway.GetDocumentsSort? Type527 { get; set; } + public global::System.Collections.Generic.IList? Type527 { get; set; } /// /// /// - public global::Runway.GetDocumentsOrder? Type528 { get; set; } + public global::Runway.DataItem? Type528 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponse? Type529 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessing? Type529 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type530 { get; set; } + public global::Runway.Voice5? Type530 { get; set; } /// /// /// - public global::Runway.DataItem? Type531 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type531 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessing? Type532 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type532 { get; set; } /// /// /// - public global::Runway.Voice6? Type533 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? Type533 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type534 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminator? Type534 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type535 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType? Type535 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? Type536 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReady? Type536 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminator? Type537 { get; set; } + public global::Runway.Voice6? Type537 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType? Type538 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type538 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReady? Type539 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type539 { get; set; } /// /// /// - public global::Runway.Voice7? Type540 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? Type540 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type541 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminator? Type541 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type542 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType? Type542 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? Type543 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailed? Type543 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminator? Type544 { get; set; } + public global::Runway.Voice7? Type544 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType? Type545 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type545 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailed? Type546 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type546 { get; set; } /// /// /// - public global::Runway.Voice8? Type547 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? Type547 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type548 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminator? Type548 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type549 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType? Type549 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? Type550 { get; set; } + public global::Runway.GetAvatarsResponseDataItemDiscriminator? Type550 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminator? Type551 { get; set; } + public global::Runway.GetAvatarsResponseDataItemDiscriminatorStatus? Type551 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType? Type552 { get; set; } + public global::Runway.CreateAvatarsResponse? Type552 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemDiscriminator? Type553 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessing? Type553 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemDiscriminatorStatus? Type554 { get; set; } + public global::Runway.Voice8? Type554 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponse? Type555 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type555 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessing? Type556 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type556 { get; set; } /// /// /// - public global::Runway.Voice9? Type557 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type557 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type558 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminator? Type558 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type559 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type559 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type560 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReady? Type560 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminator? Type561 { get; set; } + public global::Runway.Voice9? Type561 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type562 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type562 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReady? Type563 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type563 { get; set; } /// /// /// - public global::Runway.Voice10? Type564 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type564 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type565 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminator? Type565 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type566 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type566 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type567 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailed? Type567 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminator? Type568 { get; set; } + public global::Runway.Voice10? Type568 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type569 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type569 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailed? Type570 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type570 { get; set; } /// /// /// - public global::Runway.Voice11? Type571 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type571 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type572 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminator? Type572 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type573 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type573 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type574 { get; set; } + public global::Runway.CreateAvatarsResponseDiscriminator? Type574 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminator? Type575 { get; set; } + public global::Runway.CreateAvatarsResponseDiscriminatorStatus? Type575 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type576 { get; set; } + public global::Runway.GetAvatarConversationsResponse? Type576 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseDiscriminator? Type577 { get; set; } + public global::System.Collections.Generic.IList? Type577 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseDiscriminatorStatus? Type578 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItem? Type578 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponse? Type579 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemStatus? Type579 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type580 { get; set; } + public global::Runway.AvatarVariant1? Type580 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItem? Type581 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1PresetAvatarSummary? Type581 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemStatus? Type582 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1CustomAvatarSummary? Type582 { get; set; } /// /// /// - public global::Runway.AvatarVariant1? Type583 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1Discriminator? Type583 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1PresetAvatarSummary? Type584 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1DiscriminatorType? Type584 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1CustomAvatarSummary? Type585 { get; set; } + public global::Runway.GetAvatarUsageResponse? Type585 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1Discriminator? Type586 { get; set; } + public global::System.Collections.Generic.IList? Type586 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1DiscriminatorType? Type587 { get; set; } + public global::Runway.GetAvatarUsageResponseByDayItem? Type587 { get; set; } /// /// /// - public global::Runway.GetAvatarUsageResponse? Type588 { get; set; } + public global::Runway.GetAvatarConversationsResponse2? Type588 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type589 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1? Type589 { get; set; } /// /// /// - public global::Runway.GetAvatarUsageResponseByDayItem? Type590 { get; set; } + public global::Runway.AvatarVariant12? Type590 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponse2? Type591 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1PresetAvatar? Type591 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1? Type592 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1CustomAvatar? Type592 { get; set; } /// /// /// - public global::Runway.AvatarVariant12? Type593 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1Discriminator? Type593 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1PresetAvatar? Type594 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1DiscriminatorType? Type594 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1CustomAvatar? Type595 { get; set; } + public global::System.Collections.Generic.IList? Type595 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1Discriminator? Type596 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItem? Type596 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1DiscriminatorType? Type597 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemRole? Type597 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type598 { get; set; } + public global::System.Collections.Generic.IList? Type598 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItem? Type599 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemToolCall? Type599 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemRole? Type600 { get; set; } + public global::System.Collections.Generic.IList? Type600 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type601 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemToolResult? Type601 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemToolCall? Type602 { get; set; } + public global::Runway.AnyOf? Type602 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type603 { get; set; } + public global::System.Collections.Generic.IList? Type603 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemToolResult? Type604 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1Tool? Type604 { get; set; } /// /// /// - public global::Runway.AnyOf? Type605 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1ToolType? Type605 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type606 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2? Type606 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1Tool? Type607 { get; set; } + public global::Runway.AvatarVariant13? Type607 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1ToolType? Type608 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1PresetAvatar? Type608 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2? Type609 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1CustomAvatar? Type609 { get; set; } /// /// /// - public global::Runway.AvatarVariant13? Type610 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1Discriminator? Type610 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1PresetAvatar? Type611 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1DiscriminatorType? Type611 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1CustomAvatar? Type612 { get; set; } + public global::System.Collections.Generic.IList? Type612 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1Discriminator? Type613 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItem? Type613 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1DiscriminatorType? Type614 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemRole? Type614 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type615 { get; set; } + public global::System.Collections.Generic.IList? Type615 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItem? Type616 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemToolCall? Type616 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemRole? Type617 { get; set; } + public global::System.Collections.Generic.IList? Type617 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type618 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemToolResult? Type618 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemToolCall? Type619 { get; set; } + public global::System.Collections.Generic.IList? Type619 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type620 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2Tool? Type620 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemToolResult? Type621 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2ToolType? Type621 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type622 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3? Type622 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2Tool? Type623 { get; set; } + public global::Runway.AvatarVariant14? Type623 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2ToolType? Type624 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1PresetAvatar? Type624 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3? Type625 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1CustomAvatar? Type625 { get; set; } /// /// /// - public global::Runway.AvatarVariant14? Type626 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1Discriminator? Type626 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1PresetAvatar? Type627 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1DiscriminatorType? Type627 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1CustomAvatar? Type628 { get; set; } + public global::System.Collections.Generic.IList? Type628 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1Discriminator? Type629 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItem? Type629 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1DiscriminatorType? Type630 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemRole? Type630 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type631 { get; set; } + public global::System.Collections.Generic.IList? Type631 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItem? Type632 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolCall? Type632 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemRole? Type633 { get; set; } + public global::System.Collections.Generic.IList? Type633 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type634 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolResult? Type634 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolCall? Type635 { get; set; } + public global::System.Collections.Generic.IList? Type635 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type636 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3Tool? Type636 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolResult? Type637 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3ToolType? Type637 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type638 { get; set; } + public global::Runway.GetAvatarConversationsResponseDiscriminator? Type638 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3Tool? Type639 { get; set; } + public global::Runway.GetAvatarConversationsResponseDiscriminatorStatus? Type639 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3ToolType? Type640 { get; set; } + public global::Runway.GetAvatarsResponse2? Type640 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDiscriminator? Type641 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessing? Type641 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDiscriminatorStatus? Type642 { get; set; } + public global::Runway.Voice11? Type642 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponse2? Type643 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type643 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessing? Type644 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type644 { get; set; } /// /// /// - public global::Runway.Voice12? Type645 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type645 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type646 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminator? Type646 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type647 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type647 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type648 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReady? Type648 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminator? Type649 { get; set; } + public global::Runway.Voice12? Type649 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type650 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type650 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReady? Type651 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type651 { get; set; } /// /// /// - public global::Runway.Voice13? Type652 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type652 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type653 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminator? Type653 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type654 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type654 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type655 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailed? Type655 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminator? Type656 { get; set; } + public global::Runway.Voice13? Type656 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type657 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type657 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailed? Type658 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type658 { get; set; } /// /// /// - public global::Runway.Voice14? Type659 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type659 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type660 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminator? Type660 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type661 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type661 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type662 { get; set; } + public global::Runway.GetAvatarsResponseDiscriminator? Type662 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminator? Type663 { get; set; } + public global::Runway.GetAvatarsResponseDiscriminatorStatus? Type663 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type664 { get; set; } + public global::Runway.PatchAvatarsResponse? Type664 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDiscriminator? Type665 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessing? Type665 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDiscriminatorStatus? Type666 { get; set; } + public global::Runway.Voice14? Type666 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponse? Type667 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type667 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessing? Type668 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type668 { get; set; } /// /// /// - public global::Runway.Voice15? Type669 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type669 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type670 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminator? Type670 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type671 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type671 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type672 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReady? Type672 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminator? Type673 { get; set; } + public global::Runway.Voice15? Type673 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type674 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type674 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReady? Type675 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type675 { get; set; } /// /// /// - public global::Runway.Voice16? Type676 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type676 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type677 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminator? Type677 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type678 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type678 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type679 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailed? Type679 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminator? Type680 { get; set; } + public global::Runway.Voice16? Type680 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type681 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type681 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailed? Type682 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type682 { get; set; } /// /// /// - public global::Runway.Voice17? Type683 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type683 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type684 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminator? Type684 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type685 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type685 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type686 { get; set; } + public global::Runway.PatchAvatarsResponseDiscriminator? Type686 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminator? Type687 { get; set; } + public global::Runway.PatchAvatarsResponseDiscriminatorStatus? Type687 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type688 { get; set; } + public global::Runway.PatchAvatarsResponse2? Type688 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseDiscriminator? Type689 { get; set; } + public global::Runway.CreateAvatarVideosResponse? Type689 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseDiscriminatorStatus? Type690 { get; set; } + public global::Runway.CreateDocumentsResponse? Type690 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponse2? Type691 { get; set; } + public global::Runway.CreateDocumentsResponseType? Type691 { get; set; } /// /// /// - public global::Runway.CreateAvatarVideosResponse? Type692 { get; set; } + public global::System.Collections.Generic.IList? Type692 { get; set; } /// /// /// - public global::Runway.CreateDocumentsResponse? Type693 { get; set; } + public global::Runway.CreateDocumentsResponseUsedByItem? Type693 { get; set; } /// /// /// - public global::Runway.CreateDocumentsResponseType? Type694 { get; set; } + public global::Runway.GetDocumentsResponse? Type694 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type695 { get; set; } + public global::System.Collections.Generic.IList? Type695 { get; set; } /// /// /// - public global::Runway.CreateDocumentsResponseUsedByItem? Type696 { get; set; } + public global::Runway.GetDocumentsResponseDataItem? Type696 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponse? Type697 { get; set; } + public global::Runway.GetDocumentsResponseDataItemType? Type697 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type698 { get; set; } + public global::System.Collections.Generic.IList? Type698 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseDataItem? Type699 { get; set; } + public global::Runway.GetDocumentsResponseDataItemUsedByItem? Type699 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseDataItemType? Type700 { get; set; } + public global::Runway.GetDocumentsResponse2? Type700 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type701 { get; set; } + public global::Runway.GetDocumentsResponseType? Type701 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseDataItemUsedByItem? Type702 { get; set; } + public global::System.Collections.Generic.IList? Type702 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponse2? Type703 { get; set; } + public global::Runway.GetDocumentsResponseUsedByItem? Type703 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseType? Type704 { get; set; } + public global::Runway.CreateRealtimeSessionsResponse? Type704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type705 { get; set; } + public global::Runway.GetRealtimeSessionsResponse? Type705 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseUsedByItem? Type706 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionNotReady? Type706 { get; set; } /// /// /// - public global::Runway.CreateRealtimeSessionsResponse? Type707 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionReady? Type707 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponse? Type708 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionRunning? Type708 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionNotReady? Type709 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionCompleted? Type709 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionReady? Type710 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionFailed? Type710 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionRunning? Type711 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionCancelled? Type711 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionCompleted? Type712 { get; set; } + public global::Runway.GetRealtimeSessionsResponseDiscriminator? Type712 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionFailed? Type713 { get; set; } + public global::Runway.GetRealtimeSessionsResponseDiscriminatorStatus? Type713 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionCancelled? Type714 { get; set; } + public global::Runway.GetTasksResponse? Type714 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseDiscriminator? Type715 { get; set; } + public global::Runway.GetTasksResponseVariant1? Type715 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseDiscriminatorStatus? Type716 { get; set; } + public global::Runway.GetTasksResponseVariant1EstimatedCost? Type716 { get; set; } /// /// /// - public global::Runway.GetTasksResponse? Type717 { get; set; } + public global::Runway.GetTasksResponseVariant2? Type717 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant1? Type718 { get; set; } + public global::Runway.GetTasksResponseVariant2EstimatedCost? Type718 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant1EstimatedCost? Type719 { get; set; } + public global::Runway.GetTasksResponseVariant3? Type719 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant2? Type720 { get; set; } + public global::Runway.GetTasksResponseVariant3Cost? Type720 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant2EstimatedCost? Type721 { get; set; } + public global::Runway.GetTasksResponseVariant4? Type721 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant3? Type722 { get; set; } + public global::Runway.GetTasksResponseVariant4EstimatedCost? Type722 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant3Cost? Type723 { get; set; } + public global::Runway.GetTasksResponseVariant5? Type723 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant4? Type724 { get; set; } + public global::Runway.GetTasksResponseVariant5Cost? Type724 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant4EstimatedCost? Type725 { get; set; } + public global::Runway.GetTasksResponseVariant6? Type725 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant5? Type726 { get; set; } + public global::Runway.GetTasksResponseVariant6Cost? Type726 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant5Cost? Type727 { get; set; } + public global::Runway.GetTasksResponseDiscriminator? Type727 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant6? Type728 { get; set; } + public global::Runway.GetTasksResponseDiscriminatorStatus? Type728 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant6Cost? Type729 { get; set; } + public global::Runway.GetTasksResponse2? Type729 { get; set; } /// /// /// - public global::Runway.GetTasksResponseDiscriminator? Type730 { get; set; } + public global::Runway.CreateImageToVideoResponse? Type730 { get; set; } /// /// /// - public global::Runway.GetTasksResponseDiscriminatorStatus? Type731 { get; set; } + public global::Runway.CreateImageToVideoResponseEstimatedCost? Type731 { get; set; } /// /// /// - public global::Runway.GetTasksResponse2? Type732 { get; set; } + public global::Runway.CreateImageToVideoResponse2? Type732 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoResponse? Type733 { get; set; } + public global::System.Collections.Generic.IList? Type733 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoResponseEstimatedCost? Type734 { get; set; } + public global::Runway.CreateImageToVideoResponseIssue? Type734 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoResponse2? Type735 { get; set; } + public global::System.Collections.Generic.IList>? Type735 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type736 { get; set; } + public global::Runway.AnyOf? Type736 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoResponseIssue? Type737 { get; set; } + public global::Runway.CreateImageToVideoResponse3? Type737 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type738 { get; set; } + public global::Runway.CreateTextToVideoResponse? Type738 { get; set; } /// /// /// - public global::Runway.AnyOf? Type739 { get; set; } + public global::Runway.CreateTextToVideoResponseEstimatedCost? Type739 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoResponse3? Type740 { get; set; } + public global::Runway.CreateTextToVideoResponse2? Type740 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoResponse? Type741 { get; set; } + public global::System.Collections.Generic.IList? Type741 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoResponseEstimatedCost? Type742 { get; set; } + public global::Runway.CreateTextToVideoResponseIssue? Type742 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoResponse2? Type743 { get; set; } + public global::Runway.CreateTextToVideoResponse3? Type743 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type744 { get; set; } + public global::Runway.CreateVideoToVideoResponse? Type744 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoResponseIssue? Type745 { get; set; } + public global::Runway.CreateVideoToVideoResponseEstimatedCost? Type745 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoResponse3? Type746 { get; set; } + public global::Runway.CreateVideoToVideoResponse2? Type746 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoResponse? Type747 { get; set; } + public global::System.Collections.Generic.IList? Type747 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoResponseEstimatedCost? Type748 { get; set; } + public global::Runway.CreateVideoToVideoResponseIssue? Type748 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoResponse2? Type749 { get; set; } + public global::Runway.CreateVideoToVideoResponse3? Type749 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type750 { get; set; } + public global::Runway.CreateTextToImageResponse? Type750 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoResponseIssue? Type751 { get; set; } + public global::Runway.CreateTextToImageResponseEstimatedCost? Type751 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoResponse3? Type752 { get; set; } + public global::Runway.CreateTextToImageResponse2? Type752 { get; set; } /// /// /// - public global::Runway.CreateTextToImageResponse? Type753 { get; set; } + public global::System.Collections.Generic.IList? Type753 { get; set; } /// /// /// - public global::Runway.CreateTextToImageResponseEstimatedCost? Type754 { get; set; } + public global::Runway.CreateTextToImageResponseIssue? Type754 { get; set; } /// /// /// - public global::Runway.CreateTextToImageResponse2? Type755 { get; set; } + public global::Runway.CreateTextToImageResponse3? Type755 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type756 { get; set; } + public global::Runway.CreateImageUpscaleResponse? Type756 { get; set; } /// /// /// - public global::Runway.CreateTextToImageResponseIssue? Type757 { get; set; } + public global::Runway.CreateImageUpscaleResponseEstimatedCost? Type757 { get; set; } /// /// /// - public global::Runway.CreateTextToImageResponse3? Type758 { get; set; } + public global::Runway.CreateImageUpscaleResponse2? Type758 { get; set; } /// /// /// - public global::Runway.CreateImageUpscaleResponse? Type759 { get; set; } + public global::System.Collections.Generic.IList? Type759 { get; set; } /// /// /// - public global::Runway.CreateImageUpscaleResponseEstimatedCost? Type760 { get; set; } + public global::Runway.CreateImageUpscaleResponseIssue? Type760 { get; set; } /// /// /// - public global::Runway.CreateImageUpscaleResponse2? Type761 { get; set; } + public global::Runway.CreateImageUpscaleResponse3? Type761 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type762 { get; set; } + public global::Runway.CreateVideoUpscaleResponse? Type762 { get; set; } /// /// /// - public global::Runway.CreateImageUpscaleResponseIssue? Type763 { get; set; } + public global::Runway.CreateVideoUpscaleResponseEstimatedCost? Type763 { get; set; } /// /// /// - public global::Runway.CreateImageUpscaleResponse3? Type764 { get; set; } + public global::Runway.CreateVideoUpscaleResponse2? Type764 { get; set; } /// /// /// - public global::Runway.CreateVideoUpscaleResponse? Type765 { get; set; } + public global::System.Collections.Generic.IList? Type765 { get; set; } /// /// /// - public global::Runway.CreateVideoUpscaleResponseEstimatedCost? Type766 { get; set; } + public global::Runway.CreateVideoUpscaleResponseIssue? Type766 { get; set; } /// /// /// - public global::Runway.CreateVideoUpscaleResponse2? Type767 { get; set; } + public global::Runway.CreateVideoUpscaleResponse3? Type767 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type768 { get; set; } + public global::Runway.CreateCharacterPerformanceResponse? Type768 { get; set; } /// /// /// - public global::Runway.CreateVideoUpscaleResponseIssue? Type769 { get; set; } + public global::Runway.CreateCharacterPerformanceResponseEstimatedCost? Type769 { get; set; } /// /// /// - public global::Runway.CreateVideoUpscaleResponse3? Type770 { get; set; } + public global::Runway.CreateCharacterPerformanceResponse2? Type770 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceResponse? Type771 { get; set; } + public global::System.Collections.Generic.IList? Type771 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceResponseEstimatedCost? Type772 { get; set; } + public global::Runway.CreateCharacterPerformanceResponseIssue? Type772 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceResponse2? Type773 { get; set; } + public global::Runway.CreateCharacterPerformanceResponse3? Type773 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type774 { get; set; } + public global::Runway.CreateSoundEffectResponse? Type774 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceResponseIssue? Type775 { get; set; } + public global::Runway.CreateSoundEffectResponseEstimatedCost? Type775 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceResponse3? Type776 { get; set; } + public global::Runway.CreateSoundEffectResponse2? Type776 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectResponse? Type777 { get; set; } + public global::System.Collections.Generic.IList? Type777 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectResponseEstimatedCost? Type778 { get; set; } + public global::Runway.CreateSoundEffectResponseIssue? Type778 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectResponse2? Type779 { get; set; } + public global::Runway.CreateSoundEffectResponse3? Type779 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type780 { get; set; } + public global::Runway.CreateSpeechToSpeechResponse? Type780 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectResponseIssue? Type781 { get; set; } + public global::Runway.CreateSpeechToSpeechResponseEstimatedCost? Type781 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectResponse3? Type782 { get; set; } + public global::Runway.CreateSpeechToSpeechResponse2? Type782 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechResponse? Type783 { get; set; } + public global::System.Collections.Generic.IList? Type783 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechResponseEstimatedCost? Type784 { get; set; } + public global::Runway.CreateSpeechToSpeechResponseIssue? Type784 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechResponse2? Type785 { get; set; } + public global::Runway.CreateSpeechToSpeechResponse3? Type785 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type786 { get; set; } + public global::Runway.CreateTextToSpeechResponse? Type786 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechResponseIssue? Type787 { get; set; } + public global::Runway.CreateTextToSpeechResponseEstimatedCost? Type787 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechResponse3? Type788 { get; set; } + public global::Runway.CreateTextToSpeechResponse2? Type788 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechResponse? Type789 { get; set; } + public global::System.Collections.Generic.IList? Type789 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechResponseEstimatedCost? Type790 { get; set; } + public global::Runway.CreateTextToSpeechResponseIssue? Type790 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechResponse2? Type791 { get; set; } + public global::Runway.CreateTextToSpeechResponse3? Type791 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type792 { get; set; } + public global::Runway.CreateVoiceDubbingResponse? Type792 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechResponseIssue? Type793 { get; set; } + public global::Runway.CreateVoiceDubbingResponseEstimatedCost? Type793 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechResponse3? Type794 { get; set; } + public global::Runway.CreateVoiceDubbingResponse2? Type794 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingResponse? Type795 { get; set; } + public global::System.Collections.Generic.IList? Type795 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingResponseEstimatedCost? Type796 { get; set; } + public global::Runway.CreateVoiceDubbingResponseIssue? Type796 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingResponse2? Type797 { get; set; } + public global::Runway.CreateVoiceDubbingResponse3? Type797 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type798 { get; set; } + public global::Runway.CreateVoiceIsolationResponse? Type798 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingResponseIssue? Type799 { get; set; } + public global::Runway.CreateVoiceIsolationResponseEstimatedCost? Type799 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingResponse3? Type800 { get; set; } + public global::Runway.CreateVoiceIsolationResponse2? Type800 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationResponse? Type801 { get; set; } + public global::System.Collections.Generic.IList? Type801 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationResponseEstimatedCost? Type802 { get; set; } + public global::Runway.CreateVoiceIsolationResponseIssue? Type802 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationResponse2? Type803 { get; set; } + public global::Runway.CreateVoiceIsolationResponse3? Type803 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type804 { get; set; } + public global::Runway.CreateGenerateVideoResponse? Type804 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationResponseIssue? Type805 { get; set; } + public global::Runway.CreateGenerateVideoResponseRouting? Type805 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationResponse3? Type806 { get; set; } + public global::Runway.CreateGenerateVideoResponseRoutingResolvedSettings? Type806 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponse? Type807 { get; set; } + public global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor? Type807 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated? Type808 { get; set; } + public global::Runway.CreateGenerateVideoResponseRoutingResolvedInput? Type808 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting? Type809 { get; set; } + public global::Runway.CreateGenerateVideoResponseRoutingEstimatedCost? Type809 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings? Type810 { get; set; } + public global::Runway.CreateGenerateVideoResponseRoutingCapacityFallback? Type810 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor? Type811 { get; set; } + public global::Runway.AnyOf? Type811 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput? Type812 { get; set; } + public global::Runway.CreateGenerateVideoResponseVariant1? Type812 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost? Type813 { get; set; } + public global::System.Collections.Generic.IList? Type813 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback? Type814 { get; set; } + public global::Runway.CreateGenerateVideoResponseVariant1PipelineItem? Type814 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun? Type815 { get; set; } + public global::Runway.CreateGenerateVideoResponseVariant1PipelineItemFilter? Type815 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRouting? Type816 { get; set; } + public global::System.Collections.Generic.IList? Type816 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings? Type817 { get; set; } + public global::Runway.CreateGenerateVideoResponseVariant1EmptiedByItem? Type817 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor? Type818 { get; set; } + public global::Runway.CreateGenerateVideoResponseVariant2? Type818 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput? Type819 { get; set; } + public global::Runway.CreateGenerateVideoResponse3? Type819 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost? Type820 { get; set; } + public global::Runway.CreateGenerateVideoResponse4? Type820 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback? Type821 { get; set; } + public global::Runway.CreateGenerateImageResponse? Type821 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseDiscriminator? Type822 { get; set; } + public global::Runway.CreateGenerateImageResponseRouting? Type822 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun? Type823 { get; set; } + public global::Runway.CreateGenerateImageResponseRoutingResolvedSettings? Type823 { get; set; } /// /// /// - public global::Runway.AnyOf? Type824 { get; set; } + public global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor? Type824 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseVariant1? Type825 { get; set; } + public global::Runway.CreateGenerateImageResponseRoutingResolvedInput? Type825 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type826 { get; set; } + public global::Runway.CreateGenerateImageResponseRoutingEstimatedCost? Type826 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseVariant1PipelineItem? Type827 { get; set; } + public global::Runway.CreateGenerateImageResponseRoutingCapacityFallback? Type827 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseVariant1PipelineItemFilter? Type828 { get; set; } + public global::Runway.AnyOf? Type828 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type829 { get; set; } + public global::Runway.CreateGenerateImageResponseVariant1? Type829 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseVariant1EmptiedByItem? Type830 { get; set; } + public global::System.Collections.Generic.IList? Type830 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponseVariant2? Type831 { get; set; } + public global::Runway.CreateGenerateImageResponseVariant1PipelineItem? Type831 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponse3? Type832 { get; set; } + public global::Runway.CreateGenerateImageResponseVariant1PipelineItemFilter? Type832 { get; set; } /// /// /// - public global::Runway.CreateGenerateVideoResponse4? Type833 { get; set; } + public global::System.Collections.Generic.IList? Type833 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponse? Type834 { get; set; } + public global::Runway.CreateGenerateImageResponseVariant1EmptiedByItem? Type834 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated? Type835 { get; set; } + public global::Runway.CreateGenerateImageResponseVariant2? Type835 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRouting? Type836 { get; set; } + public global::Runway.CreateGenerateImageResponse3? Type836 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings? Type837 { get; set; } + public global::Runway.CreateGenerateImageResponse4? Type837 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor? Type838 { get; set; } + public global::Runway.CreateGenerateAudioResponse? Type838 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput? Type839 { get; set; } + public global::Runway.CreateGenerateAudioResponseRouting? Type839 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost? Type840 { get; set; } + public global::Runway.CreateGenerateAudioResponseRoutingResolvedSettings? Type840 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback? Type841 { get; set; } + public global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor? Type841 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseRoutedImageDryRun? Type842 { get; set; } + public global::Runway.CreateGenerateAudioResponseRoutingResolvedInput? Type842 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseRoutedImageDryRunRouting? Type843 { get; set; } + public global::Runway.CreateGenerateAudioResponseRoutingResolvedInputType? Type843 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings? Type844 { get; set; } + public global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoice? Type844 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor? Type845 { get; set; } + public global::Runway.CreateGenerateAudioResponseRoutingEstimatedCost? Type845 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput? Type846 { get; set; } + public global::Runway.CreateGenerateAudioResponseRoutingCapacityFallback? Type846 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost? Type847 { get; set; } + public global::Runway.AnyOf? Type847 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback? Type848 { get; set; } + public global::Runway.CreateGenerateAudioResponseVariant1? Type848 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseDiscriminator? Type849 { get; set; } + public global::System.Collections.Generic.IList? Type849 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseDiscriminatorDryRun? Type850 { get; set; } + public global::Runway.CreateGenerateAudioResponseVariant1PipelineItem? Type850 { get; set; } /// /// /// - public global::Runway.AnyOf? Type851 { get; set; } + public global::Runway.CreateGenerateAudioResponseVariant1PipelineItemFilter? Type851 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseVariant1? Type852 { get; set; } + public global::System.Collections.Generic.IList? Type852 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type853 { get; set; } + public global::Runway.CreateGenerateAudioResponseVariant1EmptiedByItem? Type853 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseVariant1PipelineItem? Type854 { get; set; } + public global::Runway.CreateGenerateAudioResponseVariant2? Type854 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseVariant1PipelineItemFilter? Type855 { get; set; } + public global::Runway.CreateGenerateAudioResponse3? Type855 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type856 { get; set; } + public global::Runway.CreateGenerateAudioResponse4? Type856 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseVariant1EmptiedByItem? Type857 { get; set; } + public global::Runway.GetOrganizationWebappUsageResponse? Type857 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponseVariant2? Type858 { get; set; } + public global::System.Collections.Generic.IList? Type858 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponse3? Type859 { get; set; } + public global::Runway.GetOrganizationWebappUsageResponseDataItem? Type859 { get; set; } /// /// /// - public global::Runway.CreateGenerateImageResponse4? Type860 { get; set; } + public global::Runway.GetOrganizationWebappUsageResponseDataItemType? Type860 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponse? Type861 { get; set; } + public global::Runway.GetOrganizationWebappAuditLogsResponse? Type861 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated? Type862 { get; set; } + public global::System.Collections.Generic.IList? Type862 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting? Type863 { get; set; } + public global::Runway.GetOrganizationWebappAuditLogsResponseDataItem? Type863 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings? Type864 { get; set; } + public global::Runway.GetOrganizationWebappAuditLogsResponseDataItemAction? Type864 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor? Type865 { get; set; } + public global::Runway.GetOrganizationWebappAuditLogsResponse2? Type865 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput? Type866 { get; set; } + public global::Runway.GetOrganizationWebappAuditLogsResponseAction? Type866 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType? Type867 { get; set; } + public global::Runway.GetOrganizationWebappAuditLogsResponseMetadata? Type867 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice? Type868 { get; set; } + public global::Runway.GetOrganizationWebappAuditLogsResponse3? Type868 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost? Type869 { get; set; } + public global::Runway.GetOrganizationResponse? Type869 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback? Type870 { get; set; } + public global::Runway.GetOrganizationResponseTier? Type870 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun? Type871 { get; set; } + public global::System.Collections.Generic.Dictionary? Type871 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRouting? Type872 { get; set; } + public global::Runway.GetOrganizationResponseTierModels2? Type872 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings? Type873 { get; set; } + public global::Runway.GetOrganizationResponseUsage? Type873 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor? Type874 { get; set; } + public global::System.Collections.Generic.Dictionary? Type874 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput? Type875 { get; set; } + public global::Runway.GetOrganizationResponseUsageModels2? Type875 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType? Type876 { get; set; } + public global::Runway.CreateOrganizationUsageResponse? Type876 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice? Type877 { get; set; } + public global::System.Collections.Generic.IList? Type877 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost? Type878 { get; set; } + public global::Runway.CreateOrganizationUsageResponseResult? Type878 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback? Type879 { get; set; } + public global::System.Collections.Generic.IList? Type879 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseDiscriminator? Type880 { get; set; } + public global::Runway.CreateOrganizationUsageResponseResultUsedCredit? Type880 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun? Type881 { get; set; } + public global::Runway.CreateOrganizationUsageResponseResultUsedCreditModel? Type881 { get; set; } /// /// /// - public global::Runway.AnyOf? Type882 { get; set; } + public global::System.Collections.Generic.IList? Type882 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseVariant1? Type883 { get; set; } + public global::Runway.CreateOrganizationUsageResponseModel? Type883 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type884 { get; set; } + public global::System.Collections.Generic.IList? Type884 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseVariant1PipelineItem? Type885 { get; set; } + public global::Runway.CreateOrganizationUsageResponseResultsByApiKeyItem? Type885 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseVariant1PipelineItemFilter? Type886 { get; set; } + public global::System.Collections.Generic.IList? Type886 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type887 { get; set; } + public global::Runway.CreateOrganizationUsageResponseResultsByApiKeyItemUsedCredit? Type887 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseVariant1EmptiedByItem? Type888 { get; set; } + public global::Runway.CreateUploadsResponse? Type888 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponseVariant2? Type889 { get; set; } + public global::System.Collections.Generic.Dictionary? Type889 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponse3? Type890 { get; set; } + public global::Runway.CreateUploadsResponse2? Type890 { get; set; } /// /// /// - public global::Runway.CreateGenerateAudioResponse4? Type891 { get; set; } + public global::Runway.CreateRecipesAdLocalizationResponse? Type891 { get; set; } /// /// /// - public global::Runway.GetOrganizationWebappUsageResponse? Type892 { get; set; } + public global::Runway.CreateRecipesAdLocalizationResponseEstimatedCost? Type892 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type893 { get; set; } + public global::Runway.CreateRecipesAdLocalizationResponse2? Type893 { get; set; } /// /// /// - public global::Runway.GetOrganizationWebappUsageResponseDataItem? Type894 { get; set; } + public global::System.Collections.Generic.IList? Type894 { get; set; } /// /// /// - public global::Runway.GetOrganizationWebappUsageResponseDataItemType? Type895 { get; set; } + public global::Runway.CreateRecipesAdLocalizationResponseIssue? Type895 { get; set; } /// /// /// - public global::Runway.GetOrganizationWebappAuditLogsResponse? Type896 { get; set; } + public global::Runway.CreateRecipesAdLocalizationResponse3? Type896 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type897 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageResponse? Type897 { get; set; } /// /// /// - public global::Runway.GetOrganizationWebappAuditLogsResponseDataItem? Type898 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageResponseEstimatedCost? Type898 { get; set; } /// /// /// - public global::Runway.GetOrganizationWebappAuditLogsResponseDataItemAction? Type899 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageResponse2? Type899 { get; set; } /// /// /// - public global::Runway.GetOrganizationWebappAuditLogsResponse2? Type900 { get; set; } + public global::System.Collections.Generic.IList? Type900 { get; set; } /// /// /// - public global::Runway.GetOrganizationWebappAuditLogsResponseAction? Type901 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageResponseIssue? Type901 { get; set; } /// /// /// - public global::Runway.GetOrganizationWebappAuditLogsResponseMetadata? Type902 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageResponse3? Type902 { get; set; } /// /// /// - public global::Runway.GetOrganizationWebappAuditLogsResponse3? Type903 { get; set; } + public global::Runway.CreateRecipesProductAdResponse? Type903 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponse? Type904 { get; set; } + public global::Runway.CreateRecipesProductAdResponseEstimatedCost? Type904 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponseTier? Type905 { get; set; } + public global::Runway.CreateRecipesProductAdResponse2? Type905 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type906 { get; set; } + public global::System.Collections.Generic.IList? Type906 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponseTierModels2? Type907 { get; set; } + public global::Runway.CreateRecipesProductAdResponseIssue? Type907 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponseUsage? Type908 { get; set; } + public global::Runway.CreateRecipesProductAdResponse3? Type908 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type909 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageResponse? Type909 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponseUsageModels2? Type910 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageResponseEstimatedCost? Type910 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponse? Type911 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageResponse2? Type911 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type912 { get; set; } + public global::System.Collections.Generic.IList? Type912 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponseResult? Type913 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageResponseIssue? Type913 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type914 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageResponse3? Type914 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponseResultUsedCredit? Type915 { get; set; } + public global::Runway.CreateRecipesProductSwapResponse? Type915 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponseResultUsedCreditModel? Type916 { get; set; } + public global::Runway.CreateRecipesProductSwapResponseEstimatedCost? Type916 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type917 { get; set; } + public global::Runway.CreateRecipesProductSwapResponse2? Type917 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponseModel? Type918 { get; set; } + public global::System.Collections.Generic.IList? Type918 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type919 { get; set; } + public global::Runway.CreateRecipesProductSwapResponseIssue? Type919 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponseResultsByApiKeyItem? Type920 { get; set; } + public global::Runway.CreateRecipesProductSwapResponse3? Type920 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type921 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoResponse? Type921 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponseResultsByApiKeyItemUsedCredit? Type922 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoResponseEstimatedCost? Type922 { get; set; } /// /// /// - public global::Runway.CreateUploadsResponse? Type923 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoResponse2? Type923 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type924 { get; set; } + public global::System.Collections.Generic.IList? Type924 { get; set; } /// /// /// - public global::Runway.CreateUploadsResponse2? Type925 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoResponseIssue? Type925 { get; set; } /// /// /// - public global::Runway.CreateRecipesAdLocalizationResponse? Type926 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoResponse3? Type926 { get; set; } /// /// /// - public global::Runway.CreateRecipesAdLocalizationResponseEstimatedCost? Type927 { get; set; } + public global::Runway.CreateRecipesProductUgcResponse? Type927 { get; set; } /// /// /// - public global::Runway.CreateRecipesAdLocalizationResponse2? Type928 { get; set; } + public global::Runway.CreateRecipesProductUgcResponseEstimatedCost? Type928 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type929 { get; set; } + public global::Runway.CreateRecipesProductUgcResponse2? Type929 { get; set; } /// /// /// - public global::Runway.CreateRecipesAdLocalizationResponseIssue? Type930 { get; set; } + public global::System.Collections.Generic.IList? Type930 { get; set; } /// /// /// - public global::Runway.CreateRecipesAdLocalizationResponse3? Type931 { get; set; } + public global::Runway.CreateRecipesProductUgcResponseIssue? Type931 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageResponse? Type932 { get; set; } + public global::Runway.CreateRecipesProductUgcResponse3? Type932 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageResponseEstimatedCost? Type933 { get; set; } + public global::Runway.GetRoutersResponse? Type933 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageResponse2? Type934 { get; set; } + public global::System.Collections.Generic.IList? Type934 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type935 { get; set; } + public global::Runway.GetRoutersResponseDataItem? Type935 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageResponseIssue? Type936 { get; set; } + public global::Runway.GetRoutersResponseDataItemSettings? Type936 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageResponse3? Type937 { get; set; } + public global::Runway.GetRoutersResponseDataItemSettingsModels? Type937 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdResponse? Type938 { get; set; } + public global::Runway.GetRoutersResponseDataItemSettingsModelsMode? Type938 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdResponseEstimatedCost? Type939 { get; set; } + public global::Runway.GetRoutersResponseDataItemSettingsMaxCreditsPerGeneration? Type939 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdResponse2? Type940 { get; set; } + public global::Runway.GetRoutersResponseDataItemSettingsOptimizeFor? Type940 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type941 { get; set; } + public global::Runway.GetRoutersResponseDataItemSettingsFallback? Type941 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdResponseIssue? Type942 { get; set; } + public global::Runway.CreateRoutersResponse? Type942 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdResponse3? Type943 { get; set; } + public global::Runway.CreateRoutersResponseSettings? Type943 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageResponse? Type944 { get; set; } + public global::Runway.CreateRoutersResponseSettingsModels? Type944 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageResponseEstimatedCost? Type945 { get; set; } + public global::Runway.CreateRoutersResponseSettingsModelsMode? Type945 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageResponse2? Type946 { get; set; } + public global::Runway.CreateRoutersResponseSettingsMaxCreditsPerGeneration? Type946 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type947 { get; set; } + public global::Runway.CreateRoutersResponseSettingsOptimizeFor? Type947 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageResponseIssue? Type948 { get; set; } + public global::Runway.CreateRoutersResponseSettingsFallback? Type948 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageResponse3? Type949 { get; set; } + public global::Runway.GetRoutersResponse2? Type949 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapResponse? Type950 { get; set; } + public global::Runway.GetRoutersResponseSettings? Type950 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapResponseEstimatedCost? Type951 { get; set; } + public global::Runway.GetRoutersResponseSettingsModels? Type951 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapResponse2? Type952 { get; set; } + public global::Runway.GetRoutersResponseSettingsModelsMode? Type952 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type953 { get; set; } + public global::Runway.GetRoutersResponseSettingsMaxCreditsPerGeneration? Type953 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapResponseIssue? Type954 { get; set; } + public global::Runway.GetRoutersResponseSettingsOptimizeFor? Type954 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapResponse3? Type955 { get; set; } + public global::Runway.GetRoutersResponseSettingsFallback? Type955 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoResponse? Type956 { get; set; } + public global::Runway.PatchRoutersResponse? Type956 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoResponseEstimatedCost? Type957 { get; set; } + public global::Runway.PatchRoutersResponseSettings? Type957 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoResponse2? Type958 { get; set; } + public global::Runway.PatchRoutersResponseSettingsModels? Type958 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type959 { get; set; } + public global::Runway.PatchRoutersResponseSettingsModelsMode? Type959 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoResponseIssue? Type960 { get; set; } + public global::Runway.PatchRoutersResponseSettingsMaxCreditsPerGeneration? Type960 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoResponse3? Type961 { get; set; } + public global::Runway.PatchRoutersResponseSettingsOptimizeFor? Type961 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcResponse? Type962 { get; set; } + public global::Runway.PatchRoutersResponseSettingsFallback? Type962 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcResponseEstimatedCost? Type963 { get; set; } + public global::Runway.GetRoutersRequestsResponse? Type963 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcResponse2? Type964 { get; set; } + public global::System.Collections.Generic.IList? Type964 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type965 { get; set; } + public global::Runway.GetRoutersRequestsResponseDataItem? Type965 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcResponseIssue? Type966 { get; set; } + public global::Runway.GetRoutersRequestsResponseDataItemStatus? Type966 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcResponse3? Type967 { get; set; } + public global::Runway.GetRoutersRequestsResponseDataItemReasonCode2? Type967 { get; set; } /// /// /// - public global::Runway.GetRoutersResponse? Type968 { get; set; } + public global::System.Collections.Generic.IList? Type968 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type969 { get; set; } + public global::Runway.PipelineItem? Type969 { get; set; } /// /// /// - public global::Runway.GetRoutersResponseDataItem? Type970 { get; set; } + public global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant1? Type970 { get; set; } /// /// /// - public global::Runway.GetRoutersResponseDataItemSettings? Type971 { get; set; } + public global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant1Filter? Type971 { get; set; } /// /// /// - public global::Runway.GetRoutersResponseDataItemSettingsModels? Type972 { get; set; } + public global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant2? Type972 { get; set; } /// /// /// - public global::Runway.GetRoutersResponseDataItemSettingsModelsMode? Type973 { get; set; } + public global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant3? Type973 { get; set; } /// /// /// - public global::Runway.GetRoutersResponseDataItemSettingsMaxCreditsPerGeneration? Type974 { get; set; } + public global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant3Outcome? Type974 { get; set; } /// /// /// - public global::Runway.GetRoutersResponseDataItemSettingsOptimizeFor? Type975 { get; set; } + public global::Runway.GetRoutersRequestsResponseDataItemPipelineItemDiscriminator? Type975 { get; set; } /// /// /// - public global::Runway.GetRoutersResponseDataItemSettingsFallback? Type976 { get; set; } + public global::Runway.GetRoutersRequestsResponseDataItemPipelineItemDiscriminatorType? Type976 { get; set; } /// /// /// - public global::Runway.CreateRoutersResponse? Type977 { get; set; } + public global::System.Collections.Generic.IList? Type977 { get; set; } /// /// /// - public global::Runway.CreateRoutersResponseSettings? Type978 { get; set; } + public global::Runway.GetRoutersRequestsResponseDataItemEmptiedByItem? Type978 { get; set; } /// /// /// - public global::Runway.CreateRoutersResponseSettingsModels? Type979 { get; set; } + public global::Runway.GetVoicesResponse? Type979 { get; set; } /// /// /// - public global::Runway.CreateRoutersResponseSettingsModelsMode? Type980 { get; set; } + public global::System.Collections.Generic.IList? Type980 { get; set; } /// /// /// - public global::Runway.CreateRoutersResponseSettingsMaxCreditsPerGeneration? Type981 { get; set; } + public global::Runway.DataItem2? Type981 { get; set; } /// /// /// - public global::Runway.CreateRoutersResponseSettingsOptimizeFor? Type982 { get; set; } + public global::Runway.GetVoicesResponseDataItemVoiceProcessing? Type982 { get; set; } /// /// /// - public global::Runway.CreateRoutersResponseSettingsFallback? Type983 { get; set; } + public global::Runway.GetVoicesResponseDataItemVoiceReady? Type983 { get; set; } /// /// /// - public global::Runway.GetRoutersResponse2? Type984 { get; set; } + public global::Runway.GetVoicesResponseDataItemVoiceFailed? Type984 { get; set; } /// /// /// - public global::Runway.GetRoutersResponseSettings? Type985 { get; set; } + public global::Runway.GetVoicesResponseDataItemDiscriminator? Type985 { get; set; } /// /// /// - public global::Runway.GetRoutersResponseSettingsModels? Type986 { get; set; } + public global::Runway.GetVoicesResponseDataItemDiscriminatorStatus? Type986 { get; set; } /// /// /// - public global::Runway.GetRoutersResponseSettingsModelsMode? Type987 { get; set; } + public global::Runway.CreateVoicesResponse? Type987 { get; set; } /// /// /// - public global::Runway.GetRoutersResponseSettingsMaxCreditsPerGeneration? Type988 { get; set; } + public global::Runway.GetVoicesResponse2? Type988 { get; set; } /// /// /// - public global::Runway.GetRoutersResponseSettingsOptimizeFor? Type989 { get; set; } + public global::Runway.GetVoicesResponseVoiceProcessing? Type989 { get; set; } /// /// /// - public global::Runway.GetRoutersResponseSettingsFallback? Type990 { get; set; } + public global::Runway.GetVoicesResponseVoiceReady? Type990 { get; set; } /// /// /// - public global::Runway.PatchRoutersResponse? Type991 { get; set; } + public global::Runway.GetVoicesResponseVoiceFailed? Type991 { get; set; } /// /// /// - public global::Runway.PatchRoutersResponseSettings? Type992 { get; set; } + public global::Runway.GetVoicesResponseDiscriminator? Type992 { get; set; } /// /// /// - public global::Runway.PatchRoutersResponseSettingsModels? Type993 { get; set; } + public global::Runway.GetVoicesResponseDiscriminatorStatus? Type993 { get; set; } /// /// /// - public global::Runway.PatchRoutersResponseSettingsModelsMode? Type994 { get; set; } + public global::Runway.PatchVoicesResponse? Type994 { get; set; } /// /// /// - public global::Runway.PatchRoutersResponseSettingsMaxCreditsPerGeneration? Type995 { get; set; } + public global::Runway.PatchVoicesResponseVoiceProcessing? Type995 { get; set; } /// /// /// - public global::Runway.PatchRoutersResponseSettingsOptimizeFor? Type996 { get; set; } + public global::Runway.PatchVoicesResponseVoiceReady? Type996 { get; set; } /// /// /// - public global::Runway.PatchRoutersResponseSettingsFallback? Type997 { get; set; } + public global::Runway.PatchVoicesResponseVoiceFailed? Type997 { get; set; } /// /// /// - public global::Runway.GetRoutersRequestsResponse? Type998 { get; set; } + public global::Runway.PatchVoicesResponseDiscriminator? Type998 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type999 { get; set; } + public global::Runway.PatchVoicesResponseDiscriminatorStatus? Type999 { get; set; } /// /// /// - public global::Runway.GetRoutersRequestsResponseDataItem? Type1000 { get; set; } + public global::Runway.CreateVoicesPreviewResponse? Type1000 { get; set; } /// /// /// - public global::Runway.GetRoutersRequestsResponseDataItemStatus? Type1001 { get; set; } + public global::Runway.CreateWorkflowsResponse? Type1001 { get; set; } /// /// /// - public global::Runway.GetRoutersRequestsResponseDataItemReasonCode2? Type1002 { get; set; } + public global::Runway.CreateWorkflowsResponse2? Type1002 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1003 { get; set; } + public global::Runway.GetWorkflowsResponse? Type1003 { get; set; } /// /// /// - public global::Runway.PipelineItem? Type1004 { get; set; } + public global::Runway.GetWorkflowsResponseGraph? Type1004 { get; set; } /// /// /// - public global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant1? Type1005 { get; set; } + public global::Runway.GetWorkflowsResponse2? Type1005 { get; set; } /// /// /// - public global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant1Filter? Type1006 { get; set; } + public global::Runway.GetWorkflowsResponse3? Type1006 { get; set; } /// /// /// - public global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant2? Type1007 { get; set; } + public global::System.Collections.Generic.IList? Type1007 { get; set; } /// /// /// - public global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant3? Type1008 { get; set; } + public global::Runway.GetWorkflowsResponseDataItem? Type1008 { get; set; } /// /// /// - public global::Runway.GetRoutersRequestsResponseDataItemPipelineItemVariant3Outcome? Type1009 { get; set; } + public global::System.Collections.Generic.IList? Type1009 { get; set; } /// /// /// - public global::Runway.GetRoutersRequestsResponseDataItemPipelineItemDiscriminator? Type1010 { get; set; } + public global::Runway.GetWorkflowsResponseDataItemVersion? Type1010 { get; set; } /// /// /// - public global::Runway.GetRoutersRequestsResponseDataItemPipelineItemDiscriminatorType? Type1011 { get; set; } + public global::Runway.GetWorkflowInvocationsResponse? Type1011 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1012 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationPending? Type1012 { get; set; } /// /// /// - public global::Runway.GetRoutersRequestsResponseDataItemEmptiedByItem? Type1013 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationThrottled? Type1013 { get; set; } /// /// /// - public global::Runway.GetVoicesResponse? Type1014 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationCancelled? Type1014 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1015 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationRunning? Type1015 { get; set; } /// /// /// - public global::Runway.DataItem2? Type1016 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type1016 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemVoiceProcessing? Type1017 { get; set; } + public global::System.Collections.Generic.Dictionary? Type1017 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemVoiceReady? Type1018 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationRunningNodeErrors2? Type1018 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemVoiceFailed? Type1019 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationFailed? Type1019 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemDiscriminator? Type1020 { get; set; } + public global::System.Collections.Generic.Dictionary? Type1020 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemDiscriminatorStatus? Type1021 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationFailedNodeErrors2? Type1021 { get; set; } /// /// /// - public global::Runway.CreateVoicesResponse? Type1022 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationSucceeded? Type1022 { get; set; } /// /// /// - public global::Runway.GetVoicesResponse2? Type1023 { get; set; } + public global::System.Collections.Generic.Dictionary? Type1023 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseVoiceProcessing? Type1024 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationSucceededNodeErrors2? Type1024 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseVoiceReady? Type1025 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseDiscriminator? Type1025 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseVoiceFailed? Type1026 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseDiscriminatorStatus? Type1026 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDiscriminator? Type1027 { get; set; } - /// - /// - /// - public global::Runway.GetVoicesResponseDiscriminatorStatus? Type1028 { get; set; } - /// - /// - /// - public global::Runway.PatchVoicesResponse? Type1029 { get; set; } - /// - /// - /// - public global::Runway.PatchVoicesResponseVoiceProcessing? Type1030 { get; set; } - /// - /// - /// - public global::Runway.PatchVoicesResponseVoiceReady? Type1031 { get; set; } - /// - /// - /// - public global::Runway.PatchVoicesResponseVoiceFailed? Type1032 { get; set; } - /// - /// - /// - public global::Runway.PatchVoicesResponseDiscriminator? Type1033 { get; set; } - /// - /// - /// - public global::Runway.PatchVoicesResponseDiscriminatorStatus? Type1034 { get; set; } - /// - /// - /// - public global::Runway.CreateVoicesPreviewResponse? Type1035 { get; set; } - /// - /// - /// - public global::Runway.CreateWorkflowsResponse? Type1036 { get; set; } - /// - /// - /// - public global::Runway.CreateWorkflowsResponse2? Type1037 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowsResponse? Type1038 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowsResponseGraph? Type1039 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowsResponse2? Type1040 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowsResponse3? Type1041 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type1042 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowsResponseDataItem? Type1043 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type1044 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowsResponseDataItemVersion? Type1045 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowInvocationsResponse? Type1046 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationPending? Type1047 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationThrottled? Type1048 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationCancelled? Type1049 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationRunning? Type1050 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.Dictionary>? Type1051 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.Dictionary? Type1052 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationRunningNodeErrors2? Type1053 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationFailed? Type1054 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.Dictionary? Type1055 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationFailedNodeErrors2? Type1056 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationSucceeded? Type1057 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.Dictionary? Type1058 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationSucceededNodeErrors2? Type1059 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowInvocationsResponseDiscriminator? Type1060 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowInvocationsResponseDiscriminatorStatus? Type1061 { get; set; } - /// - /// - /// - public global::Runway.GetWorkflowInvocationsResponse2? Type1062 { get; set; } + public global::Runway.GetWorkflowInvocationsResponse2? Type1027 { get; set; } /// /// diff --git a/src/libs/Runway/Generated/Runway.ModelRouterClient.CreateGenerateAudio.g.cs b/src/libs/Runway/Generated/Runway.ModelRouterClient.CreateGenerateAudio.g.cs index 99efe431..0e261e94 100644 --- a/src/libs/Runway/Generated/Runway.ModelRouterClient.CreateGenerateAudio.g.cs +++ b/src/libs/Runway/Generated/Runway.ModelRouterClient.CreateGenerateAudio.g.cs @@ -570,9 +570,6 @@ partial void ProcessCreateGenerateAudioResponseContent( /// /// The slug of a saved Model Router config to route this request with. /// - /// - /// When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced. - /// /// /// Model-agnostic audio generation input. The router selects a model and maps these options to it. /// @@ -583,14 +580,12 @@ partial void ProcessCreateGenerateAudioResponseContent( string configId, global::Runway.CreateGenerateAudioRequestInput input, string xRunwayVersion = "2024-11-06", - bool? dryRun = default, global::Runway.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::Runway.CreateGenerateAudioRequest { ConfigId = configId, - DryRun = dryRun, Input = input, }; diff --git a/src/libs/Runway/Generated/Runway.ModelRouterClient.CreateGenerateImage.g.cs b/src/libs/Runway/Generated/Runway.ModelRouterClient.CreateGenerateImage.g.cs index 30d03770..6bb5c702 100644 --- a/src/libs/Runway/Generated/Runway.ModelRouterClient.CreateGenerateImage.g.cs +++ b/src/libs/Runway/Generated/Runway.ModelRouterClient.CreateGenerateImage.g.cs @@ -570,9 +570,6 @@ partial void ProcessCreateGenerateImageResponseContent( /// /// The slug of a saved Model Router config to route this request with. /// - /// - /// When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced. - /// /// /// Model-agnostic image generation input. The router selects a model and maps these options to it. /// @@ -583,14 +580,12 @@ partial void ProcessCreateGenerateImageResponseContent( string configId, global::Runway.CreateGenerateImageRequestInput input, string xRunwayVersion = "2024-11-06", - bool? dryRun = default, global::Runway.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::Runway.CreateGenerateImageRequest { ConfigId = configId, - DryRun = dryRun, Input = input, }; diff --git a/src/libs/Runway/Generated/Runway.ModelRouterClient.CreateGenerateVideo.g.cs b/src/libs/Runway/Generated/Runway.ModelRouterClient.CreateGenerateVideo.g.cs index d06580b2..ef39b573 100644 --- a/src/libs/Runway/Generated/Runway.ModelRouterClient.CreateGenerateVideo.g.cs +++ b/src/libs/Runway/Generated/Runway.ModelRouterClient.CreateGenerateVideo.g.cs @@ -570,9 +570,6 @@ partial void ProcessCreateGenerateVideoResponseContent( /// /// The slug of a saved Model Router config to route this request with. /// - /// - /// When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced. - /// /// /// Model-agnostic video generation input. Fields are optional; the router selects a model and maps these options to it. /// @@ -583,14 +580,12 @@ partial void ProcessCreateGenerateVideoResponseContent( string configId, global::Runway.CreateGenerateVideoRequestInput input, string xRunwayVersion = "2024-11-06", - bool? dryRun = default, global::Runway.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::Runway.CreateGenerateVideoRequest { ConfigId = configId, - DryRun = dryRun, Input = input, }; diff --git a/src/libs/Runway/Generated/Runway.Models.CreateAvatarsResponseAvatarFailed.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateAvatarsResponseAvatarFailed.g.cs index 2c71b152..2f7ca98d 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateAvatarsResponseAvatarFailed.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateAvatarsResponseAvatarFailed.g.cs @@ -39,9 +39,9 @@ public sealed partial class CreateAvatarsResponseAvatarFailed /// The voice configured for this avatar. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice11JsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice10JsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.Voice11 Voice { get; set; } + public required global::Runway.Voice10 Voice { get; set; } /// /// A URI pointing to a low-resolution preview of the avatar's reference image. @@ -140,7 +140,7 @@ public CreateAvatarsResponseAvatarFailed( global::System.Guid id, string name, string personality, - global::Runway.Voice11 voice, + global::Runway.Voice10 voice, global::System.Collections.Generic.IList documentIds, global::System.DateTime createdAt, global::System.DateTime updatedAt, diff --git a/src/libs/Runway/Generated/Runway.Models.CreateAvatarsResponseAvatarProcessing.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateAvatarsResponseAvatarProcessing.g.cs index d1adf046..60089d01 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateAvatarsResponseAvatarProcessing.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateAvatarsResponseAvatarProcessing.g.cs @@ -39,9 +39,9 @@ public sealed partial class CreateAvatarsResponseAvatarProcessing /// The voice configured for this avatar. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice9JsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice8JsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.Voice9 Voice { get; set; } + public required global::Runway.Voice8 Voice { get; set; } /// /// A URI pointing to a low-resolution preview of the avatar's reference image. @@ -130,7 +130,7 @@ public CreateAvatarsResponseAvatarProcessing( global::System.Guid id, string name, string personality, - global::Runway.Voice9 voice, + global::Runway.Voice8 voice, global::System.Collections.Generic.IList documentIds, global::System.DateTime createdAt, global::System.DateTime updatedAt, diff --git a/src/libs/Runway/Generated/Runway.Models.CreateAvatarsResponseAvatarReady.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateAvatarsResponseAvatarReady.g.cs index a0ef00b0..aca332ba 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateAvatarsResponseAvatarReady.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateAvatarsResponseAvatarReady.g.cs @@ -39,9 +39,9 @@ public sealed partial class CreateAvatarsResponseAvatarReady /// The voice configured for this avatar. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice10JsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice9JsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.Voice10 Voice { get; set; } + public required global::Runway.Voice9 Voice { get; set; } /// /// A URI pointing to a low-resolution preview of the avatar's reference image. @@ -130,7 +130,7 @@ public CreateAvatarsResponseAvatarReady( global::System.Guid id, string name, string personality, - global::Runway.Voice10 voice, + global::Runway.Voice9 voice, global::System.Collections.Generic.IList documentIds, global::System.DateTime createdAt, global::System.DateTime updatedAt, diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioRequest.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioRequest.g.cs index 9eb4c792..2905fca9 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioRequest.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioRequest.g.cs @@ -15,12 +15,6 @@ public sealed partial class CreateGenerateAudioRequest [global::System.Text.Json.Serialization.JsonRequired] public required string ConfigId { get; set; } - /// - /// When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("dryRun")] - public bool? DryRun { get; set; } - /// /// Model-agnostic audio generation input. The router selects a model and maps these options to it. /// @@ -43,19 +37,14 @@ public sealed partial class CreateGenerateAudioRequest /// /// Model-agnostic audio generation input. The router selects a model and maps these options to it. /// - /// - /// When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public CreateGenerateAudioRequest( string configId, - global::Runway.CreateGenerateAudioRequestInput input, - bool? dryRun) + global::Runway.CreateGenerateAudioRequestInput input) { this.ConfigId = configId ?? throw new global::System.ArgumentNullException(nameof(configId)); - this.DryRun = dryRun; this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioRequestInput.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioRequestInput.g.cs index 53cab2b3..a988d67e 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioRequestInput.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioRequestInput.g.cs @@ -27,8 +27,8 @@ public sealed partial class CreateGenerateAudioRequestInput /// The voice to speak with. When omitted, models that support a default voice remain eligible. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice5JsonConverter))] - public global::Runway.Voice5? Voice { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice4JsonConverter))] + public global::Runway.Voice4? Voice { get; set; } /// /// Optional reference audio clips guiding `audio` generation, for models that support them. Reference each clip in promptText as @Audio1, @Audio2, and @Audio3 in order. @@ -81,7 +81,7 @@ public sealed partial class CreateGenerateAudioRequestInput public CreateGenerateAudioRequestInput( global::Runway.CreateGenerateAudioRequestInputType type, string promptText, - global::Runway.Voice5? voice, + global::Runway.Voice4? voice, global::System.Collections.Generic.IList? referenceAudios, double? duration, bool? loop) diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponse.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponse.Json.g.cs index f54c1508..135868e5 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponse.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public readonly partial struct CreateGenerateAudioResponse + public sealed partial class CreateGenerateAudioResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -54,7 +54,7 @@ public string ToJson( return global::System.Text.Json.JsonSerializer.Deserialize( json, typeof(global::Runway.CreateGenerateAudioResponse), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponse?; + jsonSerializerContext) as global::Runway.CreateGenerateAudioResponse; } /// @@ -101,7 +101,7 @@ public string ToJson( return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, typeof(global::Runway.CreateGenerateAudioResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponse?; + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponse; } /// diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponse.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponse.g.cs index ae69ddf4..df5b9103 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponse.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponse.g.cs @@ -1,4 +1,3 @@ -#pragma warning disable CS0618 // Type or member is obsolete #nullable enable @@ -7,297 +6,54 @@ namespace Runway /// /// /// - public readonly partial struct CreateGenerateAudioResponse : global::System.IEquatable + public sealed partial class CreateGenerateAudioResponse { /// - /// + /// The ID of the created task. Poll GET /v1/tasks/:id for the result. /// - public global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun? DryRun { get; } + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid Id { get; set; } /// - /// + /// Metadata describing which model the router selected and why. /// -#if NET6_0_OR_GREATER - public global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated? False { get; init; } -#else - public global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated? False { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(False))] -#endif - public bool IsFalse => False != null; - - /// - /// - /// - public bool TryPickFalse( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated? value) - { - value = False; - return IsFalse; - } + [global::System.Text.Json.Serialization.JsonPropertyName("routing")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Runway.CreateGenerateAudioResponseRouting Routing { get; set; } /// - /// + /// Additional properties that are not explicitly defined in the schema /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated PickFalse() => IsFalse - ? False! - : throw new global::System.InvalidOperationException($"Expected union variant 'False' but the value was {ToString()}."); + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// + /// Initializes a new instance of the class. /// -#if NET6_0_OR_GREATER - public global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun? True { get; init; } -#else - public global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun? True { get; } + /// + /// The ID of the created task. Poll GET /v1/tasks/:id for the result. + /// + /// + /// Metadata describing which model the router selected and why. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(True))] -#endif - public bool IsTrue => True != null; - - /// - /// - /// - public bool TryPickTrue( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun? value) - { - value = True; - return IsTrue; - } - - /// - /// - /// - public global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun PickTrue() => IsTrue - ? True! - : throw new global::System.InvalidOperationException($"Expected union variant 'True' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator CreateGenerateAudioResponse(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated value) => new CreateGenerateAudioResponse((global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated?)value); - - /// - /// - /// - public static implicit operator global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated?(CreateGenerateAudioResponse @this) => @this.False; - - /// - /// - /// - public CreateGenerateAudioResponse(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated? value) - { - False = value; - } - - /// - /// - /// - public static CreateGenerateAudioResponse FromFalse(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated? value) => new CreateGenerateAudioResponse(value); - - /// - /// - /// - public static implicit operator CreateGenerateAudioResponse(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun value) => new CreateGenerateAudioResponse((global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun?)value); - - /// - /// - /// - public static implicit operator global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun?(CreateGenerateAudioResponse @this) => @this.True; - - /// - /// - /// - public CreateGenerateAudioResponse(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun? value) - { - True = value; - } - - /// - /// - /// - public static CreateGenerateAudioResponse FromTrue(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun? value) => new CreateGenerateAudioResponse(value); - - /// - /// - /// public CreateGenerateAudioResponse( - global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun? dryRun, - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated? @false, - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun? @true - ) + global::System.Guid id, + global::Runway.CreateGenerateAudioResponseRouting routing) { - DryRun = dryRun; - - False = @false; - True = @true; + this.Id = id; + this.Routing = routing ?? throw new global::System.ArgumentNullException(nameof(routing)); } /// - /// - /// - public object? Object => - True as object ?? - False as object - ; - - /// - /// - /// - public override string? ToString() => - False?.ToString() ?? - True?.ToString() - ; - - /// - /// + /// Initializes a new instance of the class. /// - public bool Validate() + public CreateGenerateAudioResponse() { - return IsFalse && !IsTrue || !IsFalse && IsTrue; } - /// - /// - /// - public TResult? Match( - global::System.Func? @false = null, - global::System.Func? @true = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsFalse && @false != null) - { - return @false(False!); - } - else if (IsTrue && @true != null) - { - return @true(True!); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? @false = null, - - global::System.Action? @true = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsFalse) - { - @false?.Invoke(False!); - } - else if (IsTrue) - { - @true?.Invoke(True!); - } - } - - /// - /// - /// - public void Switch( - global::System.Action? @false = null, - global::System.Action? @true = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsFalse) - { - @false?.Invoke(False!); - } - else if (IsTrue) - { - @true?.Invoke(True!); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - False, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated), - True, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun), - }; - const int offset = unchecked((int)2166136261); - const int prime = 16777619; - static int HashCodeAggregator(int hashCode, object? value) => value == null - ? (hashCode ^ 0) * prime - : (hashCode ^ value.GetHashCode()) * prime; - - return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(CreateGenerateAudioResponse other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(False, other.False) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(True, other.True) - ; - } - - /// - /// - /// - public static bool operator ==(CreateGenerateAudioResponse obj1, CreateGenerateAudioResponse obj2) - { - return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(CreateGenerateAudioResponse obj1, CreateGenerateAudioResponse obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is CreateGenerateAudioResponse o && Equals(o); - } } -} +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseDiscriminator.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseDiscriminator.g.cs deleted file mode 100644 index c56c4344..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseDiscriminator.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// - /// - public sealed partial class CreateGenerateAudioResponseDiscriminator - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("dryRun")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseDiscriminatorDryRunJsonConverter))] - public global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun? DryRun { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateAudioResponseDiscriminator( - global::Runway.CreateGenerateAudioResponseDiscriminatorDryRun? dryRun) - { - this.DryRun = dryRun; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateAudioResponseDiscriminator() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseDiscriminatorDryRun.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseDiscriminatorDryRun.g.cs deleted file mode 100644 index f32bc8e2..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseDiscriminatorDryRun.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// - /// - public enum CreateGenerateAudioResponseDiscriminatorDryRun - { - /// - /// - /// - False, - /// - /// - /// - True, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CreateGenerateAudioResponseDiscriminatorDryRunExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CreateGenerateAudioResponseDiscriminatorDryRun value) - { - return value switch - { - CreateGenerateAudioResponseDiscriminatorDryRun.False => "False", - CreateGenerateAudioResponseDiscriminatorDryRun.True => "True", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CreateGenerateAudioResponseDiscriminatorDryRun? ToEnum(string value) - { - return value switch - { - "False" => CreateGenerateAudioResponseDiscriminatorDryRun.False, - "True" => CreateGenerateAudioResponseDiscriminatorDryRun.True, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRun.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRun.g.cs deleted file mode 100644 index 91ac35ac..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRun.g.cs +++ /dev/null @@ -1,69 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// - /// - public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRun - { - /// - /// - /// - /// true - [global::System.Text.Json.Serialization.JsonPropertyName("dryRun")] - public bool DryRun { get; set; } = true; - - /// - /// Metadata describing which model the router selected and why. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("routing")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRouting Routing { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Metadata describing which model the router selected and why. - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateAudioResponseRoutedAudioDryRun( - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRouting routing, - bool dryRun = true) - { - this.DryRun = dryRun; - this.Routing = routing ?? throw new global::System.ArgumentNullException(nameof(routing)); - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateAudioResponseRoutedAudioDryRun() - { - } - - /// - /// Creates a new from its single non-const required field, - /// hardcoding any const discriminator fields. - /// - public static CreateGenerateAudioResponseRoutedAudioDryRun FromRouting(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRouting routing) - { - return new CreateGenerateAudioResponseRoutedAudioDryRun - { - Routing = routing, - }; - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback.Json.g.cs deleted file mode 100644 index c0d28f76..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost.Json.g.cs deleted file mode 100644 index ac6e232d..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput.Json.g.cs deleted file mode 100644 index 280eddfe..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings.Json.g.cs deleted file mode 100644 index 07279743..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor.g.cs deleted file mode 100644 index b3e916cf..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. - /// - public enum CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor - { - /// - /// - /// - Cost, - /// - /// - /// - Latency, - /// - /// - /// - Quality, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor value) - { - return value switch - { - CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor.Cost => "cost", - CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor.Latency => "latency", - CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor.Quality => "quality", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor? ToEnum(string value) - { - return value switch - { - "cost" => CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor.Cost, - "latency" => CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor.Latency, - "quality" => CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor.Quality, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling.Json.g.cs deleted file mode 100644 index ba8b3858..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreated.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreated.g.cs deleted file mode 100644 index aae7adb4..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreated.g.cs +++ /dev/null @@ -1,69 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// - /// - public sealed partial class CreateGenerateAudioResponseRoutedAudioTaskCreated - { - /// - /// - /// - /// false - [global::System.Text.Json.Serialization.JsonPropertyName("dryRun")] - public bool DryRun { get; set; } = false; - - /// - /// The ID of the created task. Poll GET /v1/tasks/:id for the result. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Guid Id { get; set; } - - /// - /// Metadata describing which model the router selected and why. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("routing")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting Routing { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// The ID of the created task. Poll GET /v1/tasks/:id for the result. - /// - /// - /// Metadata describing which model the router selected and why. - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateAudioResponseRoutedAudioTaskCreated( - global::System.Guid id, - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting routing, - bool dryRun = false) - { - this.DryRun = dryRun; - this.Id = id; - this.Routing = routing ?? throw new global::System.ArgumentNullException(nameof(routing)); - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateAudioResponseRoutedAudioTaskCreated() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting.Json.g.cs deleted file mode 100644 index cd98ff6a..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting.g.cs deleted file mode 100644 index f6fc0588..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting.g.cs +++ /dev/null @@ -1,118 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// Metadata describing which model the router selected and why. - /// - public sealed partial class CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting - { - /// - /// The public name of the model the router selected. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("model")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Model { get; set; } - - /// - /// The provider of the selected model. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("provider")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Provider { get; set; } - - /// - /// The slug of the router config that was applied to this request. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("configId")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ConfigId { get; set; } - - /// - /// The resolved config settings the router used for this request. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("resolvedSettings")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings ResolvedSettings { get; set; } - - /// - /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("resolvedInput")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput ResolvedInput { get; set; } - - /// - /// Estimated cost, computed against current pricing. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("estimatedCost")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost EstimatedCost { get; set; } - - /// - /// Present only when the config enables fallback.onCapacity and capacity affected this request. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("capacityFallback")] - public global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback? CapacityFallback { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// The public name of the model the router selected. - /// - /// - /// The provider of the selected model. - /// - /// - /// The slug of the router config that was applied to this request. - /// - /// - /// The resolved config settings the router used for this request. - /// - /// - /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. - /// - /// - /// Estimated cost, computed against current pricing. - /// - /// - /// Present only when the config enables fallback.onCapacity and capacity affected this request. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting( - string model, - string provider, - string configId, - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings resolvedSettings, - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput resolvedInput, - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost estimatedCost, - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback? capacityFallback) - { - this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); - this.Provider = provider ?? throw new global::System.ArgumentNullException(nameof(provider)); - this.ConfigId = configId ?? throw new global::System.ArgumentNullException(nameof(configId)); - this.ResolvedSettings = resolvedSettings ?? throw new global::System.ArgumentNullException(nameof(resolvedSettings)); - this.ResolvedInput = resolvedInput ?? throw new global::System.ArgumentNullException(nameof(resolvedInput)); - this.EstimatedCost = estimatedCost ?? throw new global::System.ArgumentNullException(nameof(estimatedCost)); - this.CapacityFallback = capacityFallback; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateAudioResponseRoutedAudioTaskCreatedRouting() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback.Json.g.cs deleted file mode 100644 index 282ec03e..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback.g.cs deleted file mode 100644 index 5962da57..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback.g.cs +++ /dev/null @@ -1,59 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// Present only when the config enables fallback.onCapacity and capacity affected this request. - /// - public sealed partial class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback - { - /// - /// Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("skipped")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Skipped { get; set; } - - /// - /// True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("allExhausted")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool AllExhausted { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them. - /// - /// - /// True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback( - global::System.Collections.Generic.IList skipped, - bool allExhausted) - { - this.Skipped = skipped ?? throw new global::System.ArgumentNullException(nameof(skipped)); - this.AllExhausted = allExhausted; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingCapacityFallback() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost.Json.g.cs deleted file mode 100644 index 092be83c..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost.g.cs deleted file mode 100644 index 04bf0da9..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// Estimated cost, computed against current pricing. - /// - public sealed partial class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost - { - /// - /// Estimated cost of the generation in credits. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("credits")] - [global::System.Text.Json.Serialization.JsonRequired] - public required double Credits { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Estimated cost of the generation in credits. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost( - double credits) - { - this.Credits = credits; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingEstimatedCost() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput.Json.g.cs deleted file mode 100644 index f4dcb9d7..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput.g.cs deleted file mode 100644 index f13690a3..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput.g.cs +++ /dev/null @@ -1,61 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. - /// - public sealed partial class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput - { - /// - /// The prompt mode the router routed for. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType Type { get; set; } - - /// - /// How the selected model resolves the voice: the requested preset or reference-audio clone, the model default for voiceless speech, or none for general audio. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice Voice { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// The prompt mode the router routed for. - /// - /// - /// How the selected model resolves the voice: the requested preset or reference-audio clone, the model default for voiceless speech, or none for general audio. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput( - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType type, - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice voice) - { - this.Type = type; - this.Voice = voice; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInput() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType.g.cs deleted file mode 100644 index b21e79b7..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// The prompt mode the router routed for. - /// - public enum CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType - { - /// - /// - /// - Audio, - /// - /// - /// - Speech, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType value) - { - return value switch - { - CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType.Audio => "audio", - CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType.Speech => "speech", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType? ToEnum(string value) - { - return value switch - { - "audio" => CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType.Audio, - "speech" => CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputType.Speech, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.g.cs deleted file mode 100644 index f8e3b7b3..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// How the selected model resolves the voice: the requested preset or reference-audio clone, the model default for voiceless speech, or none for general audio. - /// - public enum CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice - { - /// - /// the requested preset or reference-audio clone, the model default for voiceless speech, or none for general audio. - /// - Default, - /// - /// the requested preset or reference-audio clone, the model default for voiceless speech, or none for general audio. - /// - None, - /// - /// the requested preset or reference-audio clone, the model default for voiceless speech, or none for general audio. - /// - Preset, - /// - /// the requested preset or reference-audio clone, the model default for voiceless speech, or none for general audio. - /// - ReferenceAudio, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoiceExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice value) - { - return value switch - { - CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.Default => "default", - CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.None => "none", - CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.Preset => "preset", - CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.ReferenceAudio => "reference-audio", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice? ToEnum(string value) - { - return value switch - { - "default" => CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.Default, - "none" => CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.None, - "preset" => CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.Preset, - "reference-audio" => CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedInputVoice.ReferenceAudio, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings.Json.g.cs deleted file mode 100644 index 0a11401f..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings.g.cs deleted file mode 100644 index e26ede39..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings.g.cs +++ /dev/null @@ -1,59 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// The resolved config settings the router used for this request. - /// - public sealed partial class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings - { - /// - /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("optimizeFor")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor OptimizeFor { get; set; } - - /// - /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("priceCeiling")] - public double? PriceCeiling { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. - /// - /// - /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings( - global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor optimizeFor, - double? priceCeiling) - { - this.OptimizeFor = optimizeFor; - this.PriceCeiling = priceCeiling; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettings() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs deleted file mode 100644 index f4b47d2c..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. - /// - public enum CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor - { - /// - /// - /// - Cost, - /// - /// - /// - Latency, - /// - /// - /// - Quality, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeForExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor value) - { - return value switch - { - CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor.Cost => "cost", - CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor.Latency => "latency", - CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor.Quality => "quality", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor? ToEnum(string value) - { - return value switch - { - "cost" => CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor.Cost, - "latency" => CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor.Latency, - "quality" => CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsOptimizeFor.Quality, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling.Json.g.cs deleted file mode 100644 index b0731730..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling.g.cs deleted file mode 100644 index d3900bd4..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. - /// - public sealed partial class CreateGenerateAudioResponseRoutedAudioTaskCreatedRoutingResolvedSettingsPriceCeiling - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseDiscriminator.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRouting.Json.g.cs similarity index 91% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseDiscriminator.Json.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRouting.Json.g.cs index b3391bed..1159e1a8 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseDiscriminator.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRouting.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public sealed partial class CreateGenerateAudioResponseDiscriminator + public sealed partial class CreateGenerateAudioResponseRouting { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Runway.CreateGenerateAudioResponseDiscriminator? FromJson( + public static global::Runway.CreateGenerateAudioResponseRouting? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Runway.CreateGenerateAudioResponseDiscriminator), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseDiscriminator; + typeof(global::Runway.CreateGenerateAudioResponseRouting), + jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRouting; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::Runway.CreateGenerateAudioResponseDiscriminator? FromJson( + public static global::Runway.CreateGenerateAudioResponseRouting? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Runway.CreateGenerateAudioResponseDiscriminator? FromJson( + public static global::Runway.CreateGenerateAudioResponseRouting? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseDiscriminator), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseDiscriminator; + typeof(global::Runway.CreateGenerateAudioResponseRouting), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRouting; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRouting.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRouting.g.cs similarity index 81% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRouting.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRouting.g.cs index 24331bda..04448685 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRouting.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRouting.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// Metadata describing which model the router selected and why. /// - public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRouting + public sealed partial class CreateGenerateAudioResponseRouting { /// /// The public name of the model the router selected. @@ -34,27 +34,27 @@ public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRouting /// [global::System.Text.Json.Serialization.JsonPropertyName("resolvedSettings")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings ResolvedSettings { get; set; } + public required global::Runway.CreateGenerateAudioResponseRoutingResolvedSettings ResolvedSettings { get; set; } /// /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. /// [global::System.Text.Json.Serialization.JsonPropertyName("resolvedInput")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput ResolvedInput { get; set; } + public required global::Runway.CreateGenerateAudioResponseRoutingResolvedInput ResolvedInput { get; set; } /// /// Estimated cost, computed against current pricing. /// [global::System.Text.Json.Serialization.JsonPropertyName("estimatedCost")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost EstimatedCost { get; set; } + public required global::Runway.CreateGenerateAudioResponseRoutingEstimatedCost EstimatedCost { get; set; } /// /// Present only when the config enables fallback.onCapacity and capacity affected this request. /// [global::System.Text.Json.Serialization.JsonPropertyName("capacityFallback")] - public global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback? CapacityFallback { get; set; } + public global::Runway.CreateGenerateAudioResponseRoutingCapacityFallback? CapacityFallback { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -63,7 +63,7 @@ public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRouting public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The public name of the model the router selected. @@ -89,14 +89,14 @@ public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRouting #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateAudioResponseRoutedAudioDryRunRouting( + public CreateGenerateAudioResponseRouting( string model, string provider, string configId, - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings resolvedSettings, - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput resolvedInput, - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost estimatedCost, - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback? capacityFallback) + global::Runway.CreateGenerateAudioResponseRoutingResolvedSettings resolvedSettings, + global::Runway.CreateGenerateAudioResponseRoutingResolvedInput resolvedInput, + global::Runway.CreateGenerateAudioResponseRoutingEstimatedCost estimatedCost, + global::Runway.CreateGenerateAudioResponseRoutingCapacityFallback? capacityFallback) { this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); this.Provider = provider ?? throw new global::System.ArgumentNullException(nameof(provider)); @@ -108,9 +108,9 @@ public CreateGenerateAudioResponseRoutedAudioDryRunRouting( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateAudioResponseRoutedAudioDryRunRouting() + public CreateGenerateAudioResponseRouting() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRouting.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingCapacityFallback.Json.g.cs similarity index 89% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRouting.Json.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingCapacityFallback.Json.g.cs index f085c7bd..38efe9bc 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRouting.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingCapacityFallback.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRouting + public sealed partial class CreateGenerateAudioResponseRoutingCapacityFallback { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRouting? FromJson( + public static global::Runway.CreateGenerateAudioResponseRoutingCapacityFallback? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRouting), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRouting; + typeof(global::Runway.CreateGenerateAudioResponseRoutingCapacityFallback), + jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutingCapacityFallback; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRouting? FromJson( + public static global::Runway.CreateGenerateAudioResponseRoutingCapacityFallback? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRouting? FromJson( + public static global::Runway.CreateGenerateAudioResponseRoutingCapacityFallback? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRouting), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRouting; + typeof(global::Runway.CreateGenerateAudioResponseRoutingCapacityFallback), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutingCapacityFallback; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingCapacityFallback.g.cs similarity index 85% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingCapacityFallback.g.cs index 007ad9a4..6c1aad64 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingCapacityFallback.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// Present only when the config enables fallback.onCapacity and capacity affected this request. /// - public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback + public sealed partial class CreateGenerateAudioResponseRoutingCapacityFallback { /// /// Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them. @@ -29,7 +29,7 @@ public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingC public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them. @@ -40,7 +40,7 @@ public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingC #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback( + public CreateGenerateAudioResponseRoutingCapacityFallback( global::System.Collections.Generic.IList skipped, bool allExhausted) { @@ -49,9 +49,9 @@ public CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback() + public CreateGenerateAudioResponseRoutingCapacityFallback() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRun.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingEstimatedCost.Json.g.cs similarity index 89% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRun.Json.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingEstimatedCost.Json.g.cs index 155f06f1..4d0f8c40 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRun.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingEstimatedCost.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRun + public sealed partial class CreateGenerateAudioResponseRoutingEstimatedCost { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun? FromJson( + public static global::Runway.CreateGenerateAudioResponseRoutingEstimatedCost? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun; + typeof(global::Runway.CreateGenerateAudioResponseRoutingEstimatedCost), + jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutingEstimatedCost; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun? FromJson( + public static global::Runway.CreateGenerateAudioResponseRoutingEstimatedCost? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun? FromJson( + public static global::Runway.CreateGenerateAudioResponseRoutingEstimatedCost? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutedAudioDryRun; + typeof(global::Runway.CreateGenerateAudioResponseRoutingEstimatedCost), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutingEstimatedCost; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingEstimatedCost.g.cs similarity index 77% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingEstimatedCost.g.cs index d40c116b..3c7c91ee 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingEstimatedCost.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// Estimated cost, computed against current pricing. /// - public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost + public sealed partial class CreateGenerateAudioResponseRoutingEstimatedCost { /// /// Estimated cost of the generation in credits. @@ -22,7 +22,7 @@ public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingE public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Estimated cost of the generation in credits. @@ -30,16 +30,16 @@ public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingE #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost( + public CreateGenerateAudioResponseRoutingEstimatedCost( double credits) { this.Credits = credits; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateAudioResponseRoutedAudioDryRunRoutingEstimatedCost() + public CreateGenerateAudioResponseRoutingEstimatedCost() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreated.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedInput.Json.g.cs similarity index 89% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreated.Json.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedInput.Json.g.cs index e982962f..08cf35a9 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioTaskCreated.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedInput.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public sealed partial class CreateGenerateAudioResponseRoutedAudioTaskCreated + public sealed partial class CreateGenerateAudioResponseRoutingResolvedInput { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated? FromJson( + public static global::Runway.CreateGenerateAudioResponseRoutingResolvedInput? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated), - jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated; + typeof(global::Runway.CreateGenerateAudioResponseRoutingResolvedInput), + jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutingResolvedInput; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated? FromJson( + public static global::Runway.CreateGenerateAudioResponseRoutingResolvedInput? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated? FromJson( + public static global::Runway.CreateGenerateAudioResponseRoutingResolvedInput? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutedAudioTaskCreated; + typeof(global::Runway.CreateGenerateAudioResponseRoutingResolvedInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutingResolvedInput; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedInput.g.cs similarity index 73% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedInput.g.cs index 7c756811..1bc9d4e8 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedInput.g.cs @@ -6,23 +6,23 @@ namespace Runway /// /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. /// - public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput + public sealed partial class CreateGenerateAudioResponseRoutingResolvedInput { /// /// The prompt mode the router routed for. /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputTypeJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType Type { get; set; } + public required global::Runway.CreateGenerateAudioResponseRoutingResolvedInputType Type { get; set; } /// /// How the selected model resolves the voice: the requested preset or reference-audio clone, the model default for voiceless speech, or none for general audio. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedInputVoiceJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice Voice { get; set; } + public required global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoice Voice { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -31,7 +31,7 @@ public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingR public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The prompt mode the router routed for. @@ -42,18 +42,18 @@ public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingR #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput( - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType type, - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice voice) + public CreateGenerateAudioResponseRoutingResolvedInput( + global::Runway.CreateGenerateAudioResponseRoutingResolvedInputType type, + global::Runway.CreateGenerateAudioResponseRoutingResolvedInputVoice voice) { this.Type = type; this.Voice = voice; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInput() + public CreateGenerateAudioResponseRoutingResolvedInput() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedInputType.g.cs similarity index 54% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedInputType.g.cs index b8232a61..f41aa0eb 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedInputType.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// The prompt mode the router routed for. /// - public enum CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType + public enum CreateGenerateAudioResponseRoutingResolvedInputType { /// /// @@ -21,29 +21,29 @@ public enum CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType /// /// Enum extensions to do fast conversions without the reflection. /// - public static class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputTypeExtensions + public static class CreateGenerateAudioResponseRoutingResolvedInputTypeExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType value) + public static string ToValueString(this CreateGenerateAudioResponseRoutingResolvedInputType value) { return value switch { - CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType.Audio => "audio", - CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType.Speech => "speech", + CreateGenerateAudioResponseRoutingResolvedInputType.Audio => "audio", + CreateGenerateAudioResponseRoutingResolvedInputType.Speech => "speech", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType? ToEnum(string value) + public static CreateGenerateAudioResponseRoutingResolvedInputType? ToEnum(string value) { return value switch { - "audio" => CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType.Audio, - "speech" => CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputType.Speech, + "audio" => CreateGenerateAudioResponseRoutingResolvedInputType.Audio, + "speech" => CreateGenerateAudioResponseRoutingResolvedInputType.Speech, _ => null, }; } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedInputVoice.g.cs similarity index 59% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedInputVoice.g.cs index 1fedbf56..7b51d3ca 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedInputVoice.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// How the selected model resolves the voice: the requested preset or reference-audio clone, the model default for voiceless speech, or none for general audio. /// - public enum CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice + public enum CreateGenerateAudioResponseRoutingResolvedInputVoice { /// /// the requested preset or reference-audio clone, the model default for voiceless speech, or none for general audio. @@ -29,33 +29,33 @@ public enum CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoic /// /// Enum extensions to do fast conversions without the reflection. /// - public static class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoiceExtensions + public static class CreateGenerateAudioResponseRoutingResolvedInputVoiceExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice value) + public static string ToValueString(this CreateGenerateAudioResponseRoutingResolvedInputVoice value) { return value switch { - CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.Default => "default", - CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.None => "none", - CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.Preset => "preset", - CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.ReferenceAudio => "reference-audio", + CreateGenerateAudioResponseRoutingResolvedInputVoice.Default => "default", + CreateGenerateAudioResponseRoutingResolvedInputVoice.None => "none", + CreateGenerateAudioResponseRoutingResolvedInputVoice.Preset => "preset", + CreateGenerateAudioResponseRoutingResolvedInputVoice.ReferenceAudio => "reference-audio", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice? ToEnum(string value) + public static CreateGenerateAudioResponseRoutingResolvedInputVoice? ToEnum(string value) { return value switch { - "default" => CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.Default, - "none" => CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.None, - "preset" => CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.Preset, - "reference-audio" => CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedInputVoice.ReferenceAudio, + "default" => CreateGenerateAudioResponseRoutingResolvedInputVoice.Default, + "none" => CreateGenerateAudioResponseRoutingResolvedInputVoice.None, + "preset" => CreateGenerateAudioResponseRoutingResolvedInputVoice.Preset, + "reference-audio" => CreateGenerateAudioResponseRoutingResolvedInputVoice.ReferenceAudio, _ => null, }; } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettings.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettings.Json.g.cs new file mode 100644 index 00000000..f5426cf2 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettings.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateGenerateAudioResponseRoutingResolvedSettings + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Runway.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateGenerateAudioResponseRoutingResolvedSettings? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateGenerateAudioResponseRoutingResolvedSettings), + jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutingResolvedSettings; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateGenerateAudioResponseRoutingResolvedSettings? FromJson( + string json) + { + return FromJson( + json, + global::Runway.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Runway.CreateGenerateAudioResponseRoutingResolvedSettings? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Runway.CreateGenerateAudioResponseRoutingResolvedSettings), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutingResolvedSettings; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Runway.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettings.g.cs similarity index 76% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettings.g.cs index d3ec6001..55cbebe8 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettings.g.cs @@ -6,15 +6,15 @@ namespace Runway /// /// The resolved config settings the router used for this request. /// - public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings + public sealed partial class CreateGenerateAudioResponseRoutingResolvedSettings { /// /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. /// [global::System.Text.Json.Serialization.JsonPropertyName("optimizeFor")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeForJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor OptimizeFor { get; set; } + public required global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor OptimizeFor { get; set; } /// /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. @@ -29,7 +29,7 @@ public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingR public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. @@ -40,8 +40,8 @@ public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingR #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings( - global::Runway.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsOptimizeFor optimizeFor, + public CreateGenerateAudioResponseRoutingResolvedSettings( + global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor optimizeFor, double? priceCeiling) { this.OptimizeFor = optimizeFor; @@ -49,9 +49,9 @@ public CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettings() + public CreateGenerateAudioResponseRoutingResolvedSettings() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor.g.cs new file mode 100644 index 00000000..0613806b --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Runway +{ + /// + /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. + /// + public enum CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor + { + /// + /// + /// + Cost, + /// + /// + /// + Latency, + /// + /// + /// + Quality, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeForExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor value) + { + return value switch + { + CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor.Cost => "cost", + CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor.Latency => "latency", + CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor.Quality => "quality", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor? ToEnum(string value) + { + return value switch + { + "cost" => CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor.Cost, + "latency" => CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor.Latency, + "quality" => CreateGenerateAudioResponseRoutingResolvedSettingsOptimizeFor.Quality, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling.Json.g.cs new file mode 100644 index 00000000..4c5a55ef --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Runway.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling), + jsonSerializerContext) as global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling? FromJson( + string json) + { + return FromJson( + json, + global::Runway.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Runway.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling.g.cs similarity index 83% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling.g.cs index c3b77b51..a359b5b4 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. /// - public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingResolvedSettingsPriceCeiling + public sealed partial class CreateGenerateAudioResponseRoutingResolvedSettingsPriceCeiling { /// diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseVariant1.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseVariant1.g.cs index d270c330..ad8770fa 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseVariant1.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseVariant1.g.cs @@ -4,7 +4,7 @@ namespace Runway { /// - /// No model satisfies the config and request together. Returned identically for real and dry-run requests. + /// No model satisfies the config and request together. /// public sealed partial class CreateGenerateAudioResponseVariant1 { diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageRequest.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageRequest.g.cs index b9f50d59..a7df36d6 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageRequest.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageRequest.g.cs @@ -15,12 +15,6 @@ public sealed partial class CreateGenerateImageRequest [global::System.Text.Json.Serialization.JsonRequired] public required string ConfigId { get; set; } - /// - /// When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("dryRun")] - public bool? DryRun { get; set; } - /// /// Model-agnostic image generation input. The router selects a model and maps these options to it. /// @@ -43,19 +37,14 @@ public sealed partial class CreateGenerateImageRequest /// /// Model-agnostic image generation input. The router selects a model and maps these options to it. /// - /// - /// When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public CreateGenerateImageRequest( string configId, - global::Runway.CreateGenerateImageRequestInput input, - bool? dryRun) + global::Runway.CreateGenerateImageRequestInput input) { this.ConfigId = configId ?? throw new global::System.ArgumentNullException(nameof(configId)); - this.DryRun = dryRun; this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponse.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponse.Json.g.cs index c76ae40b..2e967a06 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponse.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public readonly partial struct CreateGenerateImageResponse + public sealed partial class CreateGenerateImageResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -54,7 +54,7 @@ public string ToJson( return global::System.Text.Json.JsonSerializer.Deserialize( json, typeof(global::Runway.CreateGenerateImageResponse), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponse?; + jsonSerializerContext) as global::Runway.CreateGenerateImageResponse; } /// @@ -101,7 +101,7 @@ public string ToJson( return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, typeof(global::Runway.CreateGenerateImageResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponse?; + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponse; } /// diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponse.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponse.g.cs index d0d829dc..83855b8e 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponse.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponse.g.cs @@ -1,4 +1,3 @@ -#pragma warning disable CS0618 // Type or member is obsolete #nullable enable @@ -7,297 +6,54 @@ namespace Runway /// /// /// - public readonly partial struct CreateGenerateImageResponse : global::System.IEquatable + public sealed partial class CreateGenerateImageResponse { /// - /// + /// The ID of the created task. Poll GET /v1/tasks/:id for the result. /// - public global::Runway.CreateGenerateImageResponseDiscriminatorDryRun? DryRun { get; } + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid Id { get; set; } /// - /// + /// Metadata describing which model the router selected and why. /// -#if NET6_0_OR_GREATER - public global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated? False { get; init; } -#else - public global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated? False { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(False))] -#endif - public bool IsFalse => False != null; - - /// - /// - /// - public bool TryPickFalse( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated? value) - { - value = False; - return IsFalse; - } + [global::System.Text.Json.Serialization.JsonPropertyName("routing")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Runway.CreateGenerateImageResponseRouting Routing { get; set; } /// - /// + /// Additional properties that are not explicitly defined in the schema /// - public global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated PickFalse() => IsFalse - ? False! - : throw new global::System.InvalidOperationException($"Expected union variant 'False' but the value was {ToString()}."); + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// + /// Initializes a new instance of the class. /// -#if NET6_0_OR_GREATER - public global::Runway.CreateGenerateImageResponseRoutedImageDryRun? True { get; init; } -#else - public global::Runway.CreateGenerateImageResponseRoutedImageDryRun? True { get; } + /// + /// The ID of the created task. Poll GET /v1/tasks/:id for the result. + /// + /// + /// Metadata describing which model the router selected and why. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(True))] -#endif - public bool IsTrue => True != null; - - /// - /// - /// - public bool TryPickTrue( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::Runway.CreateGenerateImageResponseRoutedImageDryRun? value) - { - value = True; - return IsTrue; - } - - /// - /// - /// - public global::Runway.CreateGenerateImageResponseRoutedImageDryRun PickTrue() => IsTrue - ? True! - : throw new global::System.InvalidOperationException($"Expected union variant 'True' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator CreateGenerateImageResponse(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated value) => new CreateGenerateImageResponse((global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated?)value); - - /// - /// - /// - public static implicit operator global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated?(CreateGenerateImageResponse @this) => @this.False; - - /// - /// - /// - public CreateGenerateImageResponse(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated? value) - { - False = value; - } - - /// - /// - /// - public static CreateGenerateImageResponse FromFalse(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated? value) => new CreateGenerateImageResponse(value); - - /// - /// - /// - public static implicit operator CreateGenerateImageResponse(global::Runway.CreateGenerateImageResponseRoutedImageDryRun value) => new CreateGenerateImageResponse((global::Runway.CreateGenerateImageResponseRoutedImageDryRun?)value); - - /// - /// - /// - public static implicit operator global::Runway.CreateGenerateImageResponseRoutedImageDryRun?(CreateGenerateImageResponse @this) => @this.True; - - /// - /// - /// - public CreateGenerateImageResponse(global::Runway.CreateGenerateImageResponseRoutedImageDryRun? value) - { - True = value; - } - - /// - /// - /// - public static CreateGenerateImageResponse FromTrue(global::Runway.CreateGenerateImageResponseRoutedImageDryRun? value) => new CreateGenerateImageResponse(value); - - /// - /// - /// public CreateGenerateImageResponse( - global::Runway.CreateGenerateImageResponseDiscriminatorDryRun? dryRun, - global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated? @false, - global::Runway.CreateGenerateImageResponseRoutedImageDryRun? @true - ) + global::System.Guid id, + global::Runway.CreateGenerateImageResponseRouting routing) { - DryRun = dryRun; - - False = @false; - True = @true; + this.Id = id; + this.Routing = routing ?? throw new global::System.ArgumentNullException(nameof(routing)); } /// - /// - /// - public object? Object => - True as object ?? - False as object - ; - - /// - /// - /// - public override string? ToString() => - False?.ToString() ?? - True?.ToString() - ; - - /// - /// + /// Initializes a new instance of the class. /// - public bool Validate() + public CreateGenerateImageResponse() { - return IsFalse && !IsTrue || !IsFalse && IsTrue; } - /// - /// - /// - public TResult? Match( - global::System.Func? @false = null, - global::System.Func? @true = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsFalse && @false != null) - { - return @false(False!); - } - else if (IsTrue && @true != null) - { - return @true(True!); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? @false = null, - - global::System.Action? @true = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsFalse) - { - @false?.Invoke(False!); - } - else if (IsTrue) - { - @true?.Invoke(True!); - } - } - - /// - /// - /// - public void Switch( - global::System.Action? @false = null, - global::System.Action? @true = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsFalse) - { - @false?.Invoke(False!); - } - else if (IsTrue) - { - @true?.Invoke(True!); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - False, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated), - True, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRun), - }; - const int offset = unchecked((int)2166136261); - const int prime = 16777619; - static int HashCodeAggregator(int hashCode, object? value) => value == null - ? (hashCode ^ 0) * prime - : (hashCode ^ value.GetHashCode()) * prime; - - return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(CreateGenerateImageResponse other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(False, other.False) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(True, other.True) - ; - } - - /// - /// - /// - public static bool operator ==(CreateGenerateImageResponse obj1, CreateGenerateImageResponse obj2) - { - return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(CreateGenerateImageResponse obj1, CreateGenerateImageResponse obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is CreateGenerateImageResponse o && Equals(o); - } } -} +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseDiscriminator.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseDiscriminator.g.cs deleted file mode 100644 index 6ad520f0..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseDiscriminator.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// - /// - public sealed partial class CreateGenerateImageResponseDiscriminator - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("dryRun")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateImageResponseDiscriminatorDryRunJsonConverter))] - public global::Runway.CreateGenerateImageResponseDiscriminatorDryRun? DryRun { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateImageResponseDiscriminator( - global::Runway.CreateGenerateImageResponseDiscriminatorDryRun? dryRun) - { - this.DryRun = dryRun; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateImageResponseDiscriminator() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseDiscriminatorDryRun.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseDiscriminatorDryRun.g.cs deleted file mode 100644 index fa43e705..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseDiscriminatorDryRun.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// - /// - public enum CreateGenerateImageResponseDiscriminatorDryRun - { - /// - /// - /// - False, - /// - /// - /// - True, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CreateGenerateImageResponseDiscriminatorDryRunExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CreateGenerateImageResponseDiscriminatorDryRun value) - { - return value switch - { - CreateGenerateImageResponseDiscriminatorDryRun.False => "False", - CreateGenerateImageResponseDiscriminatorDryRun.True => "True", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CreateGenerateImageResponseDiscriminatorDryRun? ToEnum(string value) - { - return value switch - { - "False" => CreateGenerateImageResponseDiscriminatorDryRun.False, - "True" => CreateGenerateImageResponseDiscriminatorDryRun.True, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRun.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRun.g.cs deleted file mode 100644 index a1c82410..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRun.g.cs +++ /dev/null @@ -1,69 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// - /// - public sealed partial class CreateGenerateImageResponseRoutedImageDryRun - { - /// - /// - /// - /// true - [global::System.Text.Json.Serialization.JsonPropertyName("dryRun")] - public bool DryRun { get; set; } = true; - - /// - /// Metadata describing which model the router selected and why. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("routing")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateImageResponseRoutedImageDryRunRouting Routing { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Metadata describing which model the router selected and why. - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateImageResponseRoutedImageDryRun( - global::Runway.CreateGenerateImageResponseRoutedImageDryRunRouting routing, - bool dryRun = true) - { - this.DryRun = dryRun; - this.Routing = routing ?? throw new global::System.ArgumentNullException(nameof(routing)); - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateImageResponseRoutedImageDryRun() - { - } - - /// - /// Creates a new from its single non-const required field, - /// hardcoding any const discriminator fields. - /// - public static CreateGenerateImageResponseRoutedImageDryRun FromRouting(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRouting routing) - { - return new CreateGenerateImageResponseRoutedImageDryRun - { - Routing = routing, - }; - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback.Json.g.cs deleted file mode 100644 index 98f6bf15..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost.Json.g.cs deleted file mode 100644 index 8ff0fc19..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput.Json.g.cs deleted file mode 100644 index 50ad9f42..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings.Json.g.cs deleted file mode 100644 index 7fba0b9c..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor.g.cs deleted file mode 100644 index 639424c0..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. - /// - public enum CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor - { - /// - /// - /// - Cost, - /// - /// - /// - Latency, - /// - /// - /// - Quality, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor value) - { - return value switch - { - CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor.Cost => "cost", - CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor.Latency => "latency", - CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor.Quality => "quality", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor? ToEnum(string value) - { - return value switch - { - "cost" => CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor.Cost, - "latency" => CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor.Latency, - "quality" => CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor.Quality, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling.Json.g.cs deleted file mode 100644 index 586da18c..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreated.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreated.g.cs deleted file mode 100644 index fc3bcce6..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreated.g.cs +++ /dev/null @@ -1,69 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// - /// - public sealed partial class CreateGenerateImageResponseRoutedImageTaskCreated - { - /// - /// - /// - /// false - [global::System.Text.Json.Serialization.JsonPropertyName("dryRun")] - public bool DryRun { get; set; } = false; - - /// - /// The ID of the created task. Poll GET /v1/tasks/:id for the result. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Guid Id { get; set; } - - /// - /// Metadata describing which model the router selected and why. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("routing")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRouting Routing { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// The ID of the created task. Poll GET /v1/tasks/:id for the result. - /// - /// - /// Metadata describing which model the router selected and why. - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateImageResponseRoutedImageTaskCreated( - global::System.Guid id, - global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRouting routing, - bool dryRun = false) - { - this.DryRun = dryRun; - this.Id = id; - this.Routing = routing ?? throw new global::System.ArgumentNullException(nameof(routing)); - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateImageResponseRoutedImageTaskCreated() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRouting.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRouting.Json.g.cs deleted file mode 100644 index c9ec4a5c..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRouting.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateImageResponseRoutedImageTaskCreatedRouting - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRouting? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRouting), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRouting; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRouting? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRouting? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRouting), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRouting; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRouting.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRouting.g.cs deleted file mode 100644 index afc797da..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRouting.g.cs +++ /dev/null @@ -1,118 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// Metadata describing which model the router selected and why. - /// - public sealed partial class CreateGenerateImageResponseRoutedImageTaskCreatedRouting - { - /// - /// The public name of the model the router selected. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("model")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Model { get; set; } - - /// - /// The provider of the selected model. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("provider")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Provider { get; set; } - - /// - /// The slug of the router config that was applied to this request. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("configId")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ConfigId { get; set; } - - /// - /// The resolved config settings the router used for this request. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("resolvedSettings")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings ResolvedSettings { get; set; } - - /// - /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("resolvedInput")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput ResolvedInput { get; set; } - - /// - /// Estimated cost, computed against current pricing. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("estimatedCost")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost EstimatedCost { get; set; } - - /// - /// Present only when the config enables fallback.onCapacity and capacity affected this request. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("capacityFallback")] - public global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback? CapacityFallback { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// The public name of the model the router selected. - /// - /// - /// The provider of the selected model. - /// - /// - /// The slug of the router config that was applied to this request. - /// - /// - /// The resolved config settings the router used for this request. - /// - /// - /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. - /// - /// - /// Estimated cost, computed against current pricing. - /// - /// - /// Present only when the config enables fallback.onCapacity and capacity affected this request. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateImageResponseRoutedImageTaskCreatedRouting( - string model, - string provider, - string configId, - global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings resolvedSettings, - global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput resolvedInput, - global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost estimatedCost, - global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback? capacityFallback) - { - this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); - this.Provider = provider ?? throw new global::System.ArgumentNullException(nameof(provider)); - this.ConfigId = configId ?? throw new global::System.ArgumentNullException(nameof(configId)); - this.ResolvedSettings = resolvedSettings ?? throw new global::System.ArgumentNullException(nameof(resolvedSettings)); - this.ResolvedInput = resolvedInput ?? throw new global::System.ArgumentNullException(nameof(resolvedInput)); - this.EstimatedCost = estimatedCost ?? throw new global::System.ArgumentNullException(nameof(estimatedCost)); - this.CapacityFallback = capacityFallback; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateImageResponseRoutedImageTaskCreatedRouting() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback.Json.g.cs deleted file mode 100644 index fc60b100..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback.g.cs deleted file mode 100644 index de0959da..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback.g.cs +++ /dev/null @@ -1,59 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// Present only when the config enables fallback.onCapacity and capacity affected this request. - /// - public sealed partial class CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback - { - /// - /// Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("skipped")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Skipped { get; set; } - - /// - /// True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("allExhausted")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool AllExhausted { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them. - /// - /// - /// True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback( - global::System.Collections.Generic.IList skipped, - bool allExhausted) - { - this.Skipped = skipped ?? throw new global::System.ArgumentNullException(nameof(skipped)); - this.AllExhausted = allExhausted; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateImageResponseRoutedImageTaskCreatedRoutingCapacityFallback() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost.Json.g.cs deleted file mode 100644 index 63913ed0..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost.g.cs deleted file mode 100644 index 5b5b75e7..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// Estimated cost, computed against current pricing. - /// - public sealed partial class CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost - { - /// - /// Estimated cost of the generation in credits. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("credits")] - [global::System.Text.Json.Serialization.JsonRequired] - public required double Credits { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Estimated cost of the generation in credits. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost( - double credits) - { - this.Credits = credits; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateImageResponseRoutedImageTaskCreatedRoutingEstimatedCost() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput.Json.g.cs deleted file mode 100644 index 5009eab1..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput.g.cs deleted file mode 100644 index 7fa82c15..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput.g.cs +++ /dev/null @@ -1,71 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. - /// - public sealed partial class CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput - { - /// - /// Concrete output ratio derived from aspectRatio and resolution for the selected model. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ratio")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ratio { get; set; } - - /// - /// Aspect ratio used for routing display. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("aspectRatio")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string AspectRatio { get; set; } - - /// - /// Megapixel tier used for routing display. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("resolution")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Resolution { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Concrete output ratio derived from aspectRatio and resolution for the selected model. - /// - /// - /// Aspect ratio used for routing display. - /// - /// - /// Megapixel tier used for routing display. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput( - string ratio, - string aspectRatio, - string resolution) - { - this.Ratio = ratio ?? throw new global::System.ArgumentNullException(nameof(ratio)); - this.AspectRatio = aspectRatio ?? throw new global::System.ArgumentNullException(nameof(aspectRatio)); - this.Resolution = resolution ?? throw new global::System.ArgumentNullException(nameof(resolution)); - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedInput() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings.Json.g.cs deleted file mode 100644 index b80c7233..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings.g.cs deleted file mode 100644 index a31164c6..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings.g.cs +++ /dev/null @@ -1,59 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// The resolved config settings the router used for this request. - /// - public sealed partial class CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings - { - /// - /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("optimizeFor")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor OptimizeFor { get; set; } - - /// - /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("priceCeiling")] - public double? PriceCeiling { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. - /// - /// - /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings( - global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor optimizeFor, - double? priceCeiling) - { - this.OptimizeFor = optimizeFor; - this.PriceCeiling = priceCeiling; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettings() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs deleted file mode 100644 index 02920b36..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. - /// - public enum CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor - { - /// - /// - /// - Cost, - /// - /// - /// - Latency, - /// - /// - /// - Quality, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeForExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor value) - { - return value switch - { - CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor.Cost => "cost", - CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor.Latency => "latency", - CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor.Quality => "quality", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor? ToEnum(string value) - { - return value switch - { - "cost" => CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor.Cost, - "latency" => CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor.Latency, - "quality" => CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsOptimizeFor.Quality, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling.Json.g.cs deleted file mode 100644 index 4d95c5c4..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling.g.cs deleted file mode 100644 index 7e444a67..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. - /// - public sealed partial class CreateGenerateImageResponseRoutedImageTaskCreatedRoutingResolvedSettingsPriceCeiling - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseDiscriminator.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRouting.Json.g.cs similarity index 91% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseDiscriminator.Json.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRouting.Json.g.cs index bbf02832..d7731052 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseDiscriminator.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRouting.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public sealed partial class CreateGenerateImageResponseDiscriminator + public sealed partial class CreateGenerateImageResponseRouting { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Runway.CreateGenerateImageResponseDiscriminator? FromJson( + public static global::Runway.CreateGenerateImageResponseRouting? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Runway.CreateGenerateImageResponseDiscriminator), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseDiscriminator; + typeof(global::Runway.CreateGenerateImageResponseRouting), + jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRouting; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::Runway.CreateGenerateImageResponseDiscriminator? FromJson( + public static global::Runway.CreateGenerateImageResponseRouting? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Runway.CreateGenerateImageResponseDiscriminator? FromJson( + public static global::Runway.CreateGenerateImageResponseRouting? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Runway.CreateGenerateImageResponseDiscriminator), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseDiscriminator; + typeof(global::Runway.CreateGenerateImageResponseRouting), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRouting; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRouting.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRouting.g.cs similarity index 81% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRouting.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRouting.g.cs index f782fa99..38a48f12 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRouting.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRouting.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// Metadata describing which model the router selected and why. /// - public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRouting + public sealed partial class CreateGenerateImageResponseRouting { /// /// The public name of the model the router selected. @@ -34,27 +34,27 @@ public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRouting /// [global::System.Text.Json.Serialization.JsonPropertyName("resolvedSettings")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings ResolvedSettings { get; set; } + public required global::Runway.CreateGenerateImageResponseRoutingResolvedSettings ResolvedSettings { get; set; } /// /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. /// [global::System.Text.Json.Serialization.JsonPropertyName("resolvedInput")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput ResolvedInput { get; set; } + public required global::Runway.CreateGenerateImageResponseRoutingResolvedInput ResolvedInput { get; set; } /// /// Estimated cost, computed against current pricing. /// [global::System.Text.Json.Serialization.JsonPropertyName("estimatedCost")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost EstimatedCost { get; set; } + public required global::Runway.CreateGenerateImageResponseRoutingEstimatedCost EstimatedCost { get; set; } /// /// Present only when the config enables fallback.onCapacity and capacity affected this request. /// [global::System.Text.Json.Serialization.JsonPropertyName("capacityFallback")] - public global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback? CapacityFallback { get; set; } + public global::Runway.CreateGenerateImageResponseRoutingCapacityFallback? CapacityFallback { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -63,7 +63,7 @@ public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRouting public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The public name of the model the router selected. @@ -89,14 +89,14 @@ public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRouting #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateImageResponseRoutedImageDryRunRouting( + public CreateGenerateImageResponseRouting( string model, string provider, string configId, - global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings resolvedSettings, - global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput resolvedInput, - global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost estimatedCost, - global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback? capacityFallback) + global::Runway.CreateGenerateImageResponseRoutingResolvedSettings resolvedSettings, + global::Runway.CreateGenerateImageResponseRoutingResolvedInput resolvedInput, + global::Runway.CreateGenerateImageResponseRoutingEstimatedCost estimatedCost, + global::Runway.CreateGenerateImageResponseRoutingCapacityFallback? capacityFallback) { this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); this.Provider = provider ?? throw new global::System.ArgumentNullException(nameof(provider)); @@ -108,9 +108,9 @@ public CreateGenerateImageResponseRoutedImageDryRunRouting( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateImageResponseRoutedImageDryRunRouting() + public CreateGenerateImageResponseRouting() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRouting.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingCapacityFallback.Json.g.cs similarity index 89% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRouting.Json.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingCapacityFallback.Json.g.cs index f29d78d2..c0c03f48 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRouting.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingCapacityFallback.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRouting + public sealed partial class CreateGenerateImageResponseRoutingCapacityFallback { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRouting? FromJson( + public static global::Runway.CreateGenerateImageResponseRoutingCapacityFallback? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRouting), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutedImageDryRunRouting; + typeof(global::Runway.CreateGenerateImageResponseRoutingCapacityFallback), + jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutingCapacityFallback; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRouting? FromJson( + public static global::Runway.CreateGenerateImageResponseRoutingCapacityFallback? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRunRouting? FromJson( + public static global::Runway.CreateGenerateImageResponseRoutingCapacityFallback? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRunRouting), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutedImageDryRunRouting; + typeof(global::Runway.CreateGenerateImageResponseRoutingCapacityFallback), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutingCapacityFallback; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingCapacityFallback.g.cs similarity index 85% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingCapacityFallback.g.cs index 7c836700..a4e6200b 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingCapacityFallback.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// Present only when the config enables fallback.onCapacity and capacity affected this request. /// - public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback + public sealed partial class CreateGenerateImageResponseRoutingCapacityFallback { /// /// Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them. @@ -29,7 +29,7 @@ public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingC public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them. @@ -40,7 +40,7 @@ public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingC #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback( + public CreateGenerateImageResponseRoutingCapacityFallback( global::System.Collections.Generic.IList skipped, bool allExhausted) { @@ -49,9 +49,9 @@ public CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateImageResponseRoutedImageDryRunRoutingCapacityFallback() + public CreateGenerateImageResponseRoutingCapacityFallback() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRun.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingEstimatedCost.Json.g.cs similarity index 89% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRun.Json.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingEstimatedCost.Json.g.cs index 8bfd26af..cbcbf131 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRun.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingEstimatedCost.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public sealed partial class CreateGenerateImageResponseRoutedImageDryRun + public sealed partial class CreateGenerateImageResponseRoutingEstimatedCost { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRun? FromJson( + public static global::Runway.CreateGenerateImageResponseRoutingEstimatedCost? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRun), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutedImageDryRun; + typeof(global::Runway.CreateGenerateImageResponseRoutingEstimatedCost), + jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutingEstimatedCost; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRun? FromJson( + public static global::Runway.CreateGenerateImageResponseRoutingEstimatedCost? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Runway.CreateGenerateImageResponseRoutedImageDryRun? FromJson( + public static global::Runway.CreateGenerateImageResponseRoutingEstimatedCost? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageDryRun), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutedImageDryRun; + typeof(global::Runway.CreateGenerateImageResponseRoutingEstimatedCost), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutingEstimatedCost; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingEstimatedCost.g.cs similarity index 77% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingEstimatedCost.g.cs index 0f16fc47..8fcdae83 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingEstimatedCost.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// Estimated cost, computed against current pricing. /// - public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost + public sealed partial class CreateGenerateImageResponseRoutingEstimatedCost { /// /// Estimated cost of the generation in credits. @@ -22,7 +22,7 @@ public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingE public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Estimated cost of the generation in credits. @@ -30,16 +30,16 @@ public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingE #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost( + public CreateGenerateImageResponseRoutingEstimatedCost( double credits) { this.Credits = credits; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateImageResponseRoutedImageDryRunRoutingEstimatedCost() + public CreateGenerateImageResponseRoutingEstimatedCost() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreated.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedInput.Json.g.cs similarity index 89% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreated.Json.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedInput.Json.g.cs index 9f02cc77..04f2d0cc 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageTaskCreated.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedInput.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public sealed partial class CreateGenerateImageResponseRoutedImageTaskCreated + public sealed partial class CreateGenerateImageResponseRoutingResolvedInput { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated? FromJson( + public static global::Runway.CreateGenerateImageResponseRoutingResolvedInput? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated), - jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated; + typeof(global::Runway.CreateGenerateImageResponseRoutingResolvedInput), + jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutingResolvedInput; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated? FromJson( + public static global::Runway.CreateGenerateImageResponseRoutingResolvedInput? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated? FromJson( + public static global::Runway.CreateGenerateImageResponseRoutingResolvedInput? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutedImageTaskCreated; + typeof(global::Runway.CreateGenerateImageResponseRoutingResolvedInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutingResolvedInput; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedInput.g.cs similarity index 86% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedInput.g.cs index 304f5b23..41ff1e4d 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedInput.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. /// - public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput + public sealed partial class CreateGenerateImageResponseRoutingResolvedInput { /// /// Concrete output ratio derived from aspectRatio and resolution for the selected model. @@ -36,7 +36,7 @@ public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingR public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Concrete output ratio derived from aspectRatio and resolution for the selected model. @@ -50,7 +50,7 @@ public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingR #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput( + public CreateGenerateImageResponseRoutingResolvedInput( string ratio, string aspectRatio, string resolution) @@ -61,9 +61,9 @@ public CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedInput() + public CreateGenerateImageResponseRoutingResolvedInput() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettings.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettings.Json.g.cs new file mode 100644 index 00000000..357de99a --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettings.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateGenerateImageResponseRoutingResolvedSettings + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Runway.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateGenerateImageResponseRoutingResolvedSettings? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateGenerateImageResponseRoutingResolvedSettings), + jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutingResolvedSettings; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateGenerateImageResponseRoutingResolvedSettings? FromJson( + string json) + { + return FromJson( + json, + global::Runway.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Runway.CreateGenerateImageResponseRoutingResolvedSettings? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Runway.CreateGenerateImageResponseRoutingResolvedSettings), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutingResolvedSettings; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Runway.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettings.g.cs similarity index 76% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettings.g.cs index 37e617b5..c4b76766 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettings.g.cs @@ -6,15 +6,15 @@ namespace Runway /// /// The resolved config settings the router used for this request. /// - public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings + public sealed partial class CreateGenerateImageResponseRoutingResolvedSettings { /// /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. /// [global::System.Text.Json.Serialization.JsonPropertyName("optimizeFor")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeForJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor OptimizeFor { get; set; } + public required global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor OptimizeFor { get; set; } /// /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. @@ -29,7 +29,7 @@ public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingR public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. @@ -40,8 +40,8 @@ public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingR #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings( - global::Runway.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsOptimizeFor optimizeFor, + public CreateGenerateImageResponseRoutingResolvedSettings( + global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor optimizeFor, double? priceCeiling) { this.OptimizeFor = optimizeFor; @@ -49,9 +49,9 @@ public CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettings() + public CreateGenerateImageResponseRoutingResolvedSettings() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor.g.cs new file mode 100644 index 00000000..bfe02ac4 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Runway +{ + /// + /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. + /// + public enum CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor + { + /// + /// + /// + Cost, + /// + /// + /// + Latency, + /// + /// + /// + Quality, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateGenerateImageResponseRoutingResolvedSettingsOptimizeForExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor value) + { + return value switch + { + CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor.Cost => "cost", + CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor.Latency => "latency", + CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor.Quality => "quality", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor? ToEnum(string value) + { + return value switch + { + "cost" => CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor.Cost, + "latency" => CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor.Latency, + "quality" => CreateGenerateImageResponseRoutingResolvedSettingsOptimizeFor.Quality, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling.Json.g.cs new file mode 100644 index 00000000..ef284d1f --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Runway.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling), + jsonSerializerContext) as global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling? FromJson( + string json) + { + return FromJson( + json, + global::Runway.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Runway.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling.g.cs similarity index 83% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling.g.cs index 9f594c23..9f4a27f9 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. /// - public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling + public sealed partial class CreateGenerateImageResponseRoutingResolvedSettingsPriceCeiling { /// diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseVariant1.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseVariant1.g.cs index 404cd81c..b09766b5 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseVariant1.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseVariant1.g.cs @@ -4,7 +4,7 @@ namespace Runway { /// - /// No model satisfies the config and request together. Returned identically for real and dry-run requests. + /// No model satisfies the config and request together. /// public sealed partial class CreateGenerateImageResponseVariant1 { diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoRequest.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoRequest.g.cs index c3ebbbfe..fe546d2c 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoRequest.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoRequest.g.cs @@ -15,12 +15,6 @@ public sealed partial class CreateGenerateVideoRequest [global::System.Text.Json.Serialization.JsonRequired] public required string ConfigId { get; set; } - /// - /// When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("dryRun")] - public bool? DryRun { get; set; } - /// /// Model-agnostic video generation input. Fields are optional; the router selects a model and maps these options to it. /// @@ -43,19 +37,14 @@ public sealed partial class CreateGenerateVideoRequest /// /// Model-agnostic video generation input. Fields are optional; the router selects a model and maps these options to it. /// - /// - /// When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public CreateGenerateVideoRequest( string configId, - global::Runway.CreateGenerateVideoRequestInput input, - bool? dryRun) + global::Runway.CreateGenerateVideoRequestInput input) { this.ConfigId = configId ?? throw new global::System.ArgumentNullException(nameof(configId)); - this.DryRun = dryRun; this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponse.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponse.Json.g.cs index e2abf0c7..db1f9374 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponse.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public readonly partial struct CreateGenerateVideoResponse + public sealed partial class CreateGenerateVideoResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -54,7 +54,7 @@ public string ToJson( return global::System.Text.Json.JsonSerializer.Deserialize( json, typeof(global::Runway.CreateGenerateVideoResponse), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponse?; + jsonSerializerContext) as global::Runway.CreateGenerateVideoResponse; } /// @@ -101,7 +101,7 @@ public string ToJson( return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, typeof(global::Runway.CreateGenerateVideoResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponse?; + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponse; } /// diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponse.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponse.g.cs index b6fda2e9..0a8952ee 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponse.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponse.g.cs @@ -1,4 +1,3 @@ -#pragma warning disable CS0618 // Type or member is obsolete #nullable enable @@ -7,297 +6,54 @@ namespace Runway /// /// /// - public readonly partial struct CreateGenerateVideoResponse : global::System.IEquatable + public sealed partial class CreateGenerateVideoResponse { /// - /// + /// The ID of the created task. Poll GET /v1/tasks/:id for the result. /// - public global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun? DryRun { get; } + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid Id { get; set; } /// - /// + /// Metadata describing which model the router selected and why. /// -#if NET6_0_OR_GREATER - public global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated? False { get; init; } -#else - public global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated? False { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(False))] -#endif - public bool IsFalse => False != null; - - /// - /// - /// - public bool TryPickFalse( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated? value) - { - value = False; - return IsFalse; - } + [global::System.Text.Json.Serialization.JsonPropertyName("routing")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Runway.CreateGenerateVideoResponseRouting Routing { get; set; } /// - /// + /// Additional properties that are not explicitly defined in the schema /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated PickFalse() => IsFalse - ? False! - : throw new global::System.InvalidOperationException($"Expected union variant 'False' but the value was {ToString()}."); + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// + /// Initializes a new instance of the class. /// -#if NET6_0_OR_GREATER - public global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun? True { get; init; } -#else - public global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun? True { get; } + /// + /// The ID of the created task. Poll GET /v1/tasks/:id for the result. + /// + /// + /// Metadata describing which model the router selected and why. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(True))] -#endif - public bool IsTrue => True != null; - - /// - /// - /// - public bool TryPickTrue( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun? value) - { - value = True; - return IsTrue; - } - - /// - /// - /// - public global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun PickTrue() => IsTrue - ? True! - : throw new global::System.InvalidOperationException($"Expected union variant 'True' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator CreateGenerateVideoResponse(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated value) => new CreateGenerateVideoResponse((global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated?)value); - - /// - /// - /// - public static implicit operator global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated?(CreateGenerateVideoResponse @this) => @this.False; - - /// - /// - /// - public CreateGenerateVideoResponse(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated? value) - { - False = value; - } - - /// - /// - /// - public static CreateGenerateVideoResponse FromFalse(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated? value) => new CreateGenerateVideoResponse(value); - - /// - /// - /// - public static implicit operator CreateGenerateVideoResponse(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun value) => new CreateGenerateVideoResponse((global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun?)value); - - /// - /// - /// - public static implicit operator global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun?(CreateGenerateVideoResponse @this) => @this.True; - - /// - /// - /// - public CreateGenerateVideoResponse(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun? value) - { - True = value; - } - - /// - /// - /// - public static CreateGenerateVideoResponse FromTrue(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun? value) => new CreateGenerateVideoResponse(value); - - /// - /// - /// public CreateGenerateVideoResponse( - global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun? dryRun, - global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated? @false, - global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun? @true - ) + global::System.Guid id, + global::Runway.CreateGenerateVideoResponseRouting routing) { - DryRun = dryRun; - - False = @false; - True = @true; + this.Id = id; + this.Routing = routing ?? throw new global::System.ArgumentNullException(nameof(routing)); } /// - /// - /// - public object? Object => - True as object ?? - False as object - ; - - /// - /// - /// - public override string? ToString() => - False?.ToString() ?? - True?.ToString() - ; - - /// - /// + /// Initializes a new instance of the class. /// - public bool Validate() + public CreateGenerateVideoResponse() { - return IsFalse && !IsTrue || !IsFalse && IsTrue; } - /// - /// - /// - public TResult? Match( - global::System.Func? @false = null, - global::System.Func? @true = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsFalse && @false != null) - { - return @false(False!); - } - else if (IsTrue && @true != null) - { - return @true(True!); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? @false = null, - - global::System.Action? @true = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsFalse) - { - @false?.Invoke(False!); - } - else if (IsTrue) - { - @true?.Invoke(True!); - } - } - - /// - /// - /// - public void Switch( - global::System.Action? @false = null, - global::System.Action? @true = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsFalse) - { - @false?.Invoke(False!); - } - else if (IsTrue) - { - @true?.Invoke(True!); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - False, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated), - True, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun), - }; - const int offset = unchecked((int)2166136261); - const int prime = 16777619; - static int HashCodeAggregator(int hashCode, object? value) => value == null - ? (hashCode ^ 0) * prime - : (hashCode ^ value.GetHashCode()) * prime; - - return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(CreateGenerateVideoResponse other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(False, other.False) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(True, other.True) - ; - } - - /// - /// - /// - public static bool operator ==(CreateGenerateVideoResponse obj1, CreateGenerateVideoResponse obj2) - { - return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(CreateGenerateVideoResponse obj1, CreateGenerateVideoResponse obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is CreateGenerateVideoResponse o && Equals(o); - } } -} +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseDiscriminator.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseDiscriminator.g.cs deleted file mode 100644 index c278a181..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseDiscriminator.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// - /// - public sealed partial class CreateGenerateVideoResponseDiscriminator - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("dryRun")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseDiscriminatorDryRunJsonConverter))] - public global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun? DryRun { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateVideoResponseDiscriminator( - global::Runway.CreateGenerateVideoResponseDiscriminatorDryRun? dryRun) - { - this.DryRun = dryRun; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateVideoResponseDiscriminator() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseDiscriminatorDryRun.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseDiscriminatorDryRun.g.cs deleted file mode 100644 index 57ad4e37..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseDiscriminatorDryRun.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// - /// - public enum CreateGenerateVideoResponseDiscriminatorDryRun - { - /// - /// - /// - False, - /// - /// - /// - True, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CreateGenerateVideoResponseDiscriminatorDryRunExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CreateGenerateVideoResponseDiscriminatorDryRun value) - { - return value switch - { - CreateGenerateVideoResponseDiscriminatorDryRun.False => "False", - CreateGenerateVideoResponseDiscriminatorDryRun.True => "True", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CreateGenerateVideoResponseDiscriminatorDryRun? ToEnum(string value) - { - return value switch - { - "False" => CreateGenerateVideoResponseDiscriminatorDryRun.False, - "True" => CreateGenerateVideoResponseDiscriminatorDryRun.True, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRun.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRun.g.cs deleted file mode 100644 index 791dc58c..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRun.g.cs +++ /dev/null @@ -1,69 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// - /// - public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRun - { - /// - /// - /// - /// true - [global::System.Text.Json.Serialization.JsonPropertyName("dryRun")] - public bool DryRun { get; set; } = true; - - /// - /// Metadata describing which model the router selected and why. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("routing")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRouting Routing { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Metadata describing which model the router selected and why. - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateVideoResponseRoutedVideoDryRun( - global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRouting routing, - bool dryRun = true) - { - this.DryRun = dryRun; - this.Routing = routing ?? throw new global::System.ArgumentNullException(nameof(routing)); - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateVideoResponseRoutedVideoDryRun() - { - } - - /// - /// Creates a new from its single non-const required field, - /// hardcoding any const discriminator fields. - /// - public static CreateGenerateVideoResponseRoutedVideoDryRun FromRouting(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRouting routing) - { - return new CreateGenerateVideoResponseRoutedVideoDryRun - { - Routing = routing, - }; - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback.Json.g.cs deleted file mode 100644 index 3c09db54..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost.Json.g.cs deleted file mode 100644 index e1e24cea..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput.Json.g.cs deleted file mode 100644 index 7b0e6b25..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings.Json.g.cs deleted file mode 100644 index 18aab1d9..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor.g.cs deleted file mode 100644 index 9c9173b1..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. - /// - public enum CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor - { - /// - /// - /// - Cost, - /// - /// - /// - Latency, - /// - /// - /// - Quality, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor value) - { - return value switch - { - CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor.Cost => "cost", - CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor.Latency => "latency", - CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor.Quality => "quality", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor? ToEnum(string value) - { - return value switch - { - "cost" => CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor.Cost, - "latency" => CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor.Latency, - "quality" => CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor.Quality, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling.Json.g.cs deleted file mode 100644 index 0ab77227..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsPriceCeiling; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreated.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreated.g.cs deleted file mode 100644 index 826d94f6..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreated.g.cs +++ /dev/null @@ -1,69 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// - /// - public sealed partial class CreateGenerateVideoResponseRoutedVideoTaskCreated - { - /// - /// - /// - /// false - [global::System.Text.Json.Serialization.JsonPropertyName("dryRun")] - public bool DryRun { get; set; } = false; - - /// - /// The ID of the created task. Poll GET /v1/tasks/:id for the result. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Guid Id { get; set; } - - /// - /// Metadata describing which model the router selected and why. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("routing")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting Routing { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// The ID of the created task. Poll GET /v1/tasks/:id for the result. - /// - /// - /// Metadata describing which model the router selected and why. - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateVideoResponseRoutedVideoTaskCreated( - global::System.Guid id, - global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting routing, - bool dryRun = false) - { - this.DryRun = dryRun; - this.Id = id; - this.Routing = routing ?? throw new global::System.ArgumentNullException(nameof(routing)); - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateVideoResponseRoutedVideoTaskCreated() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting.Json.g.cs deleted file mode 100644 index 45767187..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting.g.cs deleted file mode 100644 index ced9120c..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting.g.cs +++ /dev/null @@ -1,118 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// Metadata describing which model the router selected and why. - /// - public sealed partial class CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting - { - /// - /// The public name of the model the router selected. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("model")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Model { get; set; } - - /// - /// The provider of the selected model. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("provider")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Provider { get; set; } - - /// - /// The slug of the router config that was applied to this request. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("configId")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ConfigId { get; set; } - - /// - /// The resolved config settings the router used for this request. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("resolvedSettings")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings ResolvedSettings { get; set; } - - /// - /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("resolvedInput")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput ResolvedInput { get; set; } - - /// - /// Estimated cost, computed against current pricing. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("estimatedCost")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost EstimatedCost { get; set; } - - /// - /// Present only when the config enables fallback.onCapacity and capacity affected this request. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("capacityFallback")] - public global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback? CapacityFallback { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// The public name of the model the router selected. - /// - /// - /// The provider of the selected model. - /// - /// - /// The slug of the router config that was applied to this request. - /// - /// - /// The resolved config settings the router used for this request. - /// - /// - /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. - /// - /// - /// Estimated cost, computed against current pricing. - /// - /// - /// Present only when the config enables fallback.onCapacity and capacity affected this request. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting( - string model, - string provider, - string configId, - global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings resolvedSettings, - global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput resolvedInput, - global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost estimatedCost, - global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback? capacityFallback) - { - this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); - this.Provider = provider ?? throw new global::System.ArgumentNullException(nameof(provider)); - this.ConfigId = configId ?? throw new global::System.ArgumentNullException(nameof(configId)); - this.ResolvedSettings = resolvedSettings ?? throw new global::System.ArgumentNullException(nameof(resolvedSettings)); - this.ResolvedInput = resolvedInput ?? throw new global::System.ArgumentNullException(nameof(resolvedInput)); - this.EstimatedCost = estimatedCost ?? throw new global::System.ArgumentNullException(nameof(estimatedCost)); - this.CapacityFallback = capacityFallback; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateVideoResponseRoutedVideoTaskCreatedRouting() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback.Json.g.cs deleted file mode 100644 index f18764de..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback.g.cs deleted file mode 100644 index 1682eb1f..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback.g.cs +++ /dev/null @@ -1,59 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// Present only when the config enables fallback.onCapacity and capacity affected this request. - /// - public sealed partial class CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback - { - /// - /// Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("skipped")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Skipped { get; set; } - - /// - /// True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("allExhausted")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool AllExhausted { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them. - /// - /// - /// True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback( - global::System.Collections.Generic.IList skipped, - bool allExhausted) - { - this.Skipped = skipped ?? throw new global::System.ArgumentNullException(nameof(skipped)); - this.AllExhausted = allExhausted; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingCapacityFallback() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost.Json.g.cs deleted file mode 100644 index fe3ca3dc..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost.g.cs deleted file mode 100644 index faaccf99..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// Estimated cost, computed against current pricing. - /// - public sealed partial class CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost - { - /// - /// Estimated cost of the generation in credits. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("credits")] - [global::System.Text.Json.Serialization.JsonRequired] - public required double Credits { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Estimated cost of the generation in credits. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost( - double credits) - { - this.Credits = credits; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingEstimatedCost() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput.Json.g.cs deleted file mode 100644 index 4b9733f5..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput.g.cs deleted file mode 100644 index 7771d46b..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput.g.cs +++ /dev/null @@ -1,71 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. - /// - public sealed partial class CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput - { - /// - /// Duration in seconds used for routing display (request value or router default). - /// - [global::System.Text.Json.Serialization.JsonPropertyName("duration")] - [global::System.Text.Json.Serialization.JsonRequired] - public required double Duration { get; set; } - - /// - /// Concrete output ratio derived from aspectRatio (e.g. "1280:720"), or the router default. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ratio")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ratio { get; set; } - - /// - /// Resolution tier from the request, or the router default when omitted. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("resolution")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Resolution { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Duration in seconds used for routing display (request value or router default). - /// - /// - /// Concrete output ratio derived from aspectRatio (e.g. "1280:720"), or the router default. - /// - /// - /// Resolution tier from the request, or the router default when omitted. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput( - double duration, - string ratio, - string resolution) - { - this.Duration = duration; - this.Ratio = ratio ?? throw new global::System.ArgumentNullException(nameof(ratio)); - this.Resolution = resolution ?? throw new global::System.ArgumentNullException(nameof(resolution)); - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedInput() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings.Json.g.cs deleted file mode 100644 index 1bc600e6..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings.g.cs deleted file mode 100644 index d013bbe8..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings.g.cs +++ /dev/null @@ -1,59 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// The resolved config settings the router used for this request. - /// - public sealed partial class CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings - { - /// - /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("optimizeFor")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor OptimizeFor { get; set; } - - /// - /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("priceCeiling")] - public double? PriceCeiling { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. - /// - /// - /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings( - global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor optimizeFor, - double? priceCeiling) - { - this.OptimizeFor = optimizeFor; - this.PriceCeiling = priceCeiling; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettings() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs deleted file mode 100644 index f2b10b0c..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. - /// - public enum CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor - { - /// - /// - /// - Cost, - /// - /// - /// - Latency, - /// - /// - /// - Quality, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeForExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor value) - { - return value switch - { - CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor.Cost => "cost", - CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor.Latency => "latency", - CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor.Quality => "quality", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor? ToEnum(string value) - { - return value switch - { - "cost" => CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor.Cost, - "latency" => CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor.Latency, - "quality" => CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsOptimizeFor.Quality, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling.Json.g.cs deleted file mode 100644 index 7a85b45c..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling.g.cs deleted file mode 100644 index d323e338..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. - /// - public sealed partial class CreateGenerateVideoResponseRoutedVideoTaskCreatedRoutingResolvedSettingsPriceCeiling - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseDiscriminator.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRouting.Json.g.cs similarity index 91% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseDiscriminator.Json.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRouting.Json.g.cs index f07bf199..c6c122e1 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseDiscriminator.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRouting.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public sealed partial class CreateGenerateVideoResponseDiscriminator + public sealed partial class CreateGenerateVideoResponseRouting { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Runway.CreateGenerateVideoResponseDiscriminator? FromJson( + public static global::Runway.CreateGenerateVideoResponseRouting? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Runway.CreateGenerateVideoResponseDiscriminator), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseDiscriminator; + typeof(global::Runway.CreateGenerateVideoResponseRouting), + jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRouting; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::Runway.CreateGenerateVideoResponseDiscriminator? FromJson( + public static global::Runway.CreateGenerateVideoResponseRouting? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Runway.CreateGenerateVideoResponseDiscriminator? FromJson( + public static global::Runway.CreateGenerateVideoResponseRouting? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseDiscriminator), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseDiscriminator; + typeof(global::Runway.CreateGenerateVideoResponseRouting), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRouting; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRouting.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRouting.g.cs similarity index 81% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRouting.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRouting.g.cs index 5ab77a3b..f233d24b 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRouting.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRouting.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// Metadata describing which model the router selected and why. /// - public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRouting + public sealed partial class CreateGenerateVideoResponseRouting { /// /// The public name of the model the router selected. @@ -34,27 +34,27 @@ public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRouting /// [global::System.Text.Json.Serialization.JsonPropertyName("resolvedSettings")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings ResolvedSettings { get; set; } + public required global::Runway.CreateGenerateVideoResponseRoutingResolvedSettings ResolvedSettings { get; set; } /// /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. /// [global::System.Text.Json.Serialization.JsonPropertyName("resolvedInput")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput ResolvedInput { get; set; } + public required global::Runway.CreateGenerateVideoResponseRoutingResolvedInput ResolvedInput { get; set; } /// /// Estimated cost, computed against current pricing. /// [global::System.Text.Json.Serialization.JsonPropertyName("estimatedCost")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost EstimatedCost { get; set; } + public required global::Runway.CreateGenerateVideoResponseRoutingEstimatedCost EstimatedCost { get; set; } /// /// Present only when the config enables fallback.onCapacity and capacity affected this request. /// [global::System.Text.Json.Serialization.JsonPropertyName("capacityFallback")] - public global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback? CapacityFallback { get; set; } + public global::Runway.CreateGenerateVideoResponseRoutingCapacityFallback? CapacityFallback { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -63,7 +63,7 @@ public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRouting public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The public name of the model the router selected. @@ -89,14 +89,14 @@ public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRouting #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateVideoResponseRoutedVideoDryRunRouting( + public CreateGenerateVideoResponseRouting( string model, string provider, string configId, - global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings resolvedSettings, - global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput resolvedInput, - global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost estimatedCost, - global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingCapacityFallback? capacityFallback) + global::Runway.CreateGenerateVideoResponseRoutingResolvedSettings resolvedSettings, + global::Runway.CreateGenerateVideoResponseRoutingResolvedInput resolvedInput, + global::Runway.CreateGenerateVideoResponseRoutingEstimatedCost estimatedCost, + global::Runway.CreateGenerateVideoResponseRoutingCapacityFallback? capacityFallback) { this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); this.Provider = provider ?? throw new global::System.ArgumentNullException(nameof(provider)); @@ -108,9 +108,9 @@ public CreateGenerateVideoResponseRoutedVideoDryRunRouting( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateVideoResponseRoutedVideoDryRunRouting() + public CreateGenerateVideoResponseRouting() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRouting.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingCapacityFallback.Json.g.cs similarity index 89% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRouting.Json.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingCapacityFallback.Json.g.cs index 7ee1d13e..b99f4cea 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRouting.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingCapacityFallback.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRouting + public sealed partial class CreateGenerateVideoResponseRoutingCapacityFallback { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRouting? FromJson( + public static global::Runway.CreateGenerateVideoResponseRoutingCapacityFallback? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRouting), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRouting; + typeof(global::Runway.CreateGenerateVideoResponseRoutingCapacityFallback), + jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutingCapacityFallback; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRouting? FromJson( + public static global::Runway.CreateGenerateVideoResponseRoutingCapacityFallback? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRouting? FromJson( + public static global::Runway.CreateGenerateVideoResponseRoutingCapacityFallback? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRouting), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRouting; + typeof(global::Runway.CreateGenerateVideoResponseRoutingCapacityFallback), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutingCapacityFallback; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingCapacityFallback.g.cs similarity index 85% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingCapacityFallback.g.cs index 6c0fe99b..a171d06b 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingCapacityFallback.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// Present only when the config enables fallback.onCapacity and capacity affected this request. /// - public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback + public sealed partial class CreateGenerateVideoResponseRoutingCapacityFallback { /// /// Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them. @@ -29,7 +29,7 @@ public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingC public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them. @@ -40,7 +40,7 @@ public sealed partial class CreateGenerateAudioResponseRoutedAudioDryRunRoutingC #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback( + public CreateGenerateVideoResponseRoutingCapacityFallback( global::System.Collections.Generic.IList skipped, bool allExhausted) { @@ -49,9 +49,9 @@ public CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateAudioResponseRoutedAudioDryRunRoutingCapacityFallback() + public CreateGenerateVideoResponseRoutingCapacityFallback() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRun.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingEstimatedCost.Json.g.cs similarity index 89% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRun.Json.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingEstimatedCost.Json.g.cs index 47f6fe55..e9d78bc5 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRun.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingEstimatedCost.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRun + public sealed partial class CreateGenerateVideoResponseRoutingEstimatedCost { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun? FromJson( + public static global::Runway.CreateGenerateVideoResponseRoutingEstimatedCost? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun; + typeof(global::Runway.CreateGenerateVideoResponseRoutingEstimatedCost), + jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutingEstimatedCost; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun? FromJson( + public static global::Runway.CreateGenerateVideoResponseRoutingEstimatedCost? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun? FromJson( + public static global::Runway.CreateGenerateVideoResponseRoutingEstimatedCost? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutedVideoDryRun; + typeof(global::Runway.CreateGenerateVideoResponseRoutingEstimatedCost), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutingEstimatedCost; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingEstimatedCost.g.cs similarity index 77% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingEstimatedCost.g.cs index 0a3f72f4..51a48801 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingEstimatedCost.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// Estimated cost, computed against current pricing. /// - public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost + public sealed partial class CreateGenerateVideoResponseRoutingEstimatedCost { /// /// Estimated cost of the generation in credits. @@ -22,7 +22,7 @@ public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingE public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Estimated cost of the generation in credits. @@ -30,16 +30,16 @@ public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingE #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost( + public CreateGenerateVideoResponseRoutingEstimatedCost( double credits) { this.Credits = credits; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateVideoResponseRoutedVideoDryRunRoutingEstimatedCost() + public CreateGenerateVideoResponseRoutingEstimatedCost() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreated.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedInput.Json.g.cs similarity index 89% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreated.Json.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedInput.Json.g.cs index 02200517..7fa63288 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoTaskCreated.Json.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedInput.Json.g.cs @@ -2,7 +2,7 @@ namespace Runway { - public sealed partial class CreateGenerateVideoResponseRoutedVideoTaskCreated + public sealed partial class CreateGenerateVideoResponseRoutingResolvedInput { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated? FromJson( + public static global::Runway.CreateGenerateVideoResponseRoutingResolvedInput? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated), - jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated; + typeof(global::Runway.CreateGenerateVideoResponseRoutingResolvedInput), + jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutingResolvedInput; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated? FromJson( + public static global::Runway.CreateGenerateVideoResponseRoutingResolvedInput? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated? FromJson( + public static global::Runway.CreateGenerateVideoResponseRoutingResolvedInput? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutedVideoTaskCreated; + typeof(global::Runway.CreateGenerateVideoResponseRoutingResolvedInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutingResolvedInput; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::Runway.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedInput.g.cs similarity index 87% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedInput.g.cs index 238e8327..dfe2f578 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedInput.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options. /// - public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput + public sealed partial class CreateGenerateVideoResponseRoutingResolvedInput { /// /// Duration in seconds used for routing display (request value or router default). @@ -36,7 +36,7 @@ public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingR public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Duration in seconds used for routing display (request value or router default). @@ -50,7 +50,7 @@ public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingR #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput( + public CreateGenerateVideoResponseRoutingResolvedInput( double duration, string ratio, string resolution) @@ -61,9 +61,9 @@ public CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedInput() + public CreateGenerateVideoResponseRoutingResolvedInput() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettings.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettings.Json.g.cs new file mode 100644 index 00000000..2f29e9f6 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettings.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateGenerateVideoResponseRoutingResolvedSettings + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Runway.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateGenerateVideoResponseRoutingResolvedSettings? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateGenerateVideoResponseRoutingResolvedSettings), + jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutingResolvedSettings; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateGenerateVideoResponseRoutingResolvedSettings? FromJson( + string json) + { + return FromJson( + json, + global::Runway.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Runway.CreateGenerateVideoResponseRoutingResolvedSettings? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Runway.CreateGenerateVideoResponseRoutingResolvedSettings), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutingResolvedSettings; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Runway.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettings.g.cs similarity index 76% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettings.g.cs index 3747d9b2..47b25769 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettings.g.cs @@ -6,15 +6,15 @@ namespace Runway /// /// The resolved config settings the router used for this request. /// - public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings + public sealed partial class CreateGenerateVideoResponseRoutingResolvedSettings { /// /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. /// [global::System.Text.Json.Serialization.JsonPropertyName("optimizeFor")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeForJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor OptimizeFor { get; set; } + public required global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor OptimizeFor { get; set; } /// /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. @@ -29,7 +29,7 @@ public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingR public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. @@ -40,8 +40,8 @@ public sealed partial class CreateGenerateVideoResponseRoutedVideoDryRunRoutingR #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings( - global::Runway.CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettingsOptimizeFor optimizeFor, + public CreateGenerateVideoResponseRoutingResolvedSettings( + global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor optimizeFor, double? priceCeiling) { this.OptimizeFor = optimizeFor; @@ -49,9 +49,9 @@ public CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateGenerateVideoResponseRoutedVideoDryRunRoutingResolvedSettings() + public CreateGenerateVideoResponseRoutingResolvedSettings() { } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor.g.cs new file mode 100644 index 00000000..f77ed973 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Runway +{ + /// + /// The single optimization preference the config selected, used as the soft weighting when scoring eligible models. + /// + public enum CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor + { + /// + /// + /// + Cost, + /// + /// + /// + Latency, + /// + /// + /// + Quality, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeForExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor value) + { + return value switch + { + CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor.Cost => "cost", + CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor.Latency => "latency", + CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor.Quality => "quality", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor? ToEnum(string value) + { + return value switch + { + "cost" => CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor.Cost, + "latency" => CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor.Latency, + "quality" => CreateGenerateVideoResponseRoutingResolvedSettingsOptimizeFor.Quality, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling.Json.g.cs new file mode 100644 index 00000000..18ce8bcc --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::Runway.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling), + jsonSerializerContext) as global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling? FromJson( + string json) + { + return FromJson( + json, + global::Runway.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::Runway.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling.g.cs similarity index 83% rename from src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling.g.cs rename to src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling.g.cs index 99f88026..b0ec9faf 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling.g.cs @@ -6,7 +6,7 @@ namespace Runway /// /// The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling. /// - public sealed partial class CreateGenerateImageResponseRoutedImageDryRunRoutingResolvedSettingsPriceCeiling + public sealed partial class CreateGenerateVideoResponseRoutingResolvedSettingsPriceCeiling { /// diff --git a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseVariant1.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseVariant1.g.cs index b83af05a..d10cf920 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseVariant1.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateGenerateVideoResponseVariant1.g.cs @@ -4,7 +4,7 @@ namespace Runway { /// - /// No model satisfies the config and request together. Returned identically for real and dry-run requests. + /// No model satisfies the config and request together. /// public sealed partial class CreateGenerateVideoResponseVariant1 { diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudio.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudio.g.cs index 83f0bf6a..c5a0d991 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudio.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudio.g.cs @@ -19,8 +19,7 @@ public sealed partial class CreateTextToSpeechRequestSeedAudio /// The voice to use for text-to-speech generation. If omitted, a default voice is used. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice4JsonConverter))] - public global::Runway.Voice4? Voice { get; set; } + public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? Voice { get; set; } /// /// Relative speech speed. Negative is slower, positive is faster; 0 is normal. @@ -96,7 +95,7 @@ public sealed partial class CreateTextToSpeechRequestSeedAudio #endif public CreateTextToSpeechRequestSeedAudio( string promptText, - global::Runway.Voice4? voice, + global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? voice, int? speechRate, int? loudnessRate, int? pitchRate, diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.g.cs index ecffa275..be380e81 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.g.cs @@ -12,10 +12,6 @@ public enum CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType /// /// ReferenceAudio, - /// - /// - /// - SeedPreset, } /// @@ -31,7 +27,6 @@ public static string ToValueString(this CreateTextToSpeechRequestSeedAudioVoiceD return value switch { CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.ReferenceAudio => "reference-audio", - CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.SeedPreset => "seed-preset", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -43,7 +38,6 @@ public static string ToValueString(this CreateTextToSpeechRequestSeedAudioVoiceD return value switch { "reference-audio" => CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.ReferenceAudio, - "seed-preset" => CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType.SeedPreset, _ => null, }; } diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice.Json.g.cs deleted file mode 100644 index b3850026..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public sealed partial class CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice), - jsonSerializerContext) as global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice.g.cs deleted file mode 100644 index 5d56d009..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice.g.cs +++ /dev/null @@ -1,70 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// A preset voice for Seed Audio text-to-speech. - /// - public sealed partial class CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice - { - /// - /// - /// - /// "seed-preset" - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string Type { get; set; } = "seed-preset"; - - /// - /// A Seed Audio preset voice id. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("presetId")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId PresetId { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// A Seed Audio preset voice id. - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice( - global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId presetId, - string type = "seed-preset") - { - this.Type = type; - this.PresetId = presetId; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice() - { - } - - /// - /// Creates a new from its single non-const required field, - /// hardcoding any const discriminator fields. - /// - public static CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice FromPresetId(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId presetId) - { - return new CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice - { - PresetId = presetId, - }; - } - - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.g.cs deleted file mode 100644 index e85d998d..00000000 --- a/src/libs/Runway/Generated/Runway.Models.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.g.cs +++ /dev/null @@ -1,159 +0,0 @@ - -#nullable enable - -namespace Runway -{ - /// - /// A Seed Audio preset voice id. - /// - public enum CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId - { - /// - /// - /// - CedricEnZh, - /// - /// - /// - CelesteZh, - /// - /// - /// - CorinneMixedEnZh, - /// - /// - /// - EstherMixedEnZh, - /// - /// - /// - FelixZh, - /// - /// - /// - JeanEnZh, - /// - /// - /// - KianEnZh, - /// - /// - /// - LylaMixedEnZh, - /// - /// - /// - MabelEnZh, - /// - /// - /// - MagnusEnZh, - /// - /// - /// - MindyEnEsIdPtZh, - /// - /// - /// - MonkeyKingZh, - /// - /// - /// - NadiaEnZh, - /// - /// - /// - OpalEnZh, - /// - /// - /// - PearlEnZh, - /// - /// - /// - QuentinEnZh, - /// - /// - /// - SandyEsMixedEnZh, - /// - /// - /// - SophieEnZh, - /// - /// - /// - TracyEsZh, - /// - /// - /// - ViviMixedEnZhJaEsId, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetIdExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId value) - { - return value switch - { - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.CedricEnZh => "cedric_en_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.CelesteZh => "celeste_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.CorinneMixedEnZh => "corinne_mixed_en_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.EstherMixedEnZh => "esther_mixed_en_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.FelixZh => "felix_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.JeanEnZh => "jean_en_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.KianEnZh => "kian_en_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.LylaMixedEnZh => "lyla_mixed_en_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.MabelEnZh => "mabel_en_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.MagnusEnZh => "magnus_en_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.MindyEnEsIdPtZh => "mindy_en_es_id_pt_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.MonkeyKingZh => "monkey_king_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.NadiaEnZh => "nadia_en_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.OpalEnZh => "opal_en_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.PearlEnZh => "pearl_en_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.QuentinEnZh => "quentin_en_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.SandyEsMixedEnZh => "sandy_es_mixed_en_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.SophieEnZh => "sophie_en_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.TracyEsZh => "tracy_es_zh", - CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.ViviMixedEnZhJaEsId => "vivi_mixed_en_zh_ja_es_id", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId? ToEnum(string value) - { - return value switch - { - "cedric_en_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.CedricEnZh, - "celeste_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.CelesteZh, - "corinne_mixed_en_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.CorinneMixedEnZh, - "esther_mixed_en_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.EstherMixedEnZh, - "felix_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.FelixZh, - "jean_en_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.JeanEnZh, - "kian_en_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.KianEnZh, - "lyla_mixed_en_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.LylaMixedEnZh, - "mabel_en_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.MabelEnZh, - "magnus_en_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.MagnusEnZh, - "mindy_en_es_id_pt_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.MindyEnEsIdPtZh, - "monkey_king_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.MonkeyKingZh, - "nadia_en_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.NadiaEnZh, - "opal_en_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.OpalEnZh, - "pearl_en_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.PearlEnZh, - "quentin_en_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.QuentinEnZh, - "sandy_es_mixed_en_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.SandyEsMixedEnZh, - "sophie_en_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.SophieEnZh, - "tracy_es_zh" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.TracyEsZh, - "vivi_mixed_en_zh_ja_es_id" => CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoicePresetId.ViviMixedEnZhJaEsId, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseAvatarFailed.g.cs b/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseAvatarFailed.g.cs index c8df02da..22fbd521 100644 --- a/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseAvatarFailed.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseAvatarFailed.g.cs @@ -39,9 +39,9 @@ public sealed partial class GetAvatarsResponseAvatarFailed /// The voice configured for this avatar. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice14JsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice13JsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.Voice14 Voice { get; set; } + public required global::Runway.Voice13 Voice { get; set; } /// /// A URI pointing to a low-resolution preview of the avatar's reference image. @@ -140,7 +140,7 @@ public GetAvatarsResponseAvatarFailed( global::System.Guid id, string name, string personality, - global::Runway.Voice14 voice, + global::Runway.Voice13 voice, global::System.Collections.Generic.IList documentIds, global::System.DateTime createdAt, global::System.DateTime updatedAt, diff --git a/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseAvatarProcessing.g.cs b/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseAvatarProcessing.g.cs index 2f6dde8f..7c660859 100644 --- a/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseAvatarProcessing.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseAvatarProcessing.g.cs @@ -39,9 +39,9 @@ public sealed partial class GetAvatarsResponseAvatarProcessing /// The voice configured for this avatar. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice12JsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice11JsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.Voice12 Voice { get; set; } + public required global::Runway.Voice11 Voice { get; set; } /// /// A URI pointing to a low-resolution preview of the avatar's reference image. @@ -130,7 +130,7 @@ public GetAvatarsResponseAvatarProcessing( global::System.Guid id, string name, string personality, - global::Runway.Voice12 voice, + global::Runway.Voice11 voice, global::System.Collections.Generic.IList documentIds, global::System.DateTime createdAt, global::System.DateTime updatedAt, diff --git a/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseAvatarReady.g.cs b/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseAvatarReady.g.cs index c77d7f5c..e007b4f8 100644 --- a/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseAvatarReady.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseAvatarReady.g.cs @@ -39,9 +39,9 @@ public sealed partial class GetAvatarsResponseAvatarReady /// The voice configured for this avatar. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice13JsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice12JsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.Voice13 Voice { get; set; } + public required global::Runway.Voice12 Voice { get; set; } /// /// A URI pointing to a low-resolution preview of the avatar's reference image. @@ -130,7 +130,7 @@ public GetAvatarsResponseAvatarReady( global::System.Guid id, string name, string personality, - global::Runway.Voice13 voice, + global::Runway.Voice12 voice, global::System.Collections.Generic.IList documentIds, global::System.DateTime createdAt, global::System.DateTime updatedAt, diff --git a/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseDataItemAvatarFailed.g.cs b/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseDataItemAvatarFailed.g.cs index 8760cae5..9f532d77 100644 --- a/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseDataItemAvatarFailed.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseDataItemAvatarFailed.g.cs @@ -39,9 +39,9 @@ public sealed partial class GetAvatarsResponseDataItemAvatarFailed /// The voice configured for this avatar. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice8JsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice7JsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.Voice8 Voice { get; set; } + public required global::Runway.Voice7 Voice { get; set; } /// /// A URI pointing to a low-resolution preview of the avatar's reference image. @@ -140,7 +140,7 @@ public GetAvatarsResponseDataItemAvatarFailed( global::System.Guid id, string name, string personality, - global::Runway.Voice8 voice, + global::Runway.Voice7 voice, global::System.Collections.Generic.IList documentIds, global::System.DateTime createdAt, global::System.DateTime updatedAt, diff --git a/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseDataItemAvatarProcessing.g.cs b/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseDataItemAvatarProcessing.g.cs index b765927d..8904d6fa 100644 --- a/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseDataItemAvatarProcessing.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseDataItemAvatarProcessing.g.cs @@ -39,9 +39,9 @@ public sealed partial class GetAvatarsResponseDataItemAvatarProcessing /// The voice configured for this avatar. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice6JsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice5JsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.Voice6 Voice { get; set; } + public required global::Runway.Voice5 Voice { get; set; } /// /// A URI pointing to a low-resolution preview of the avatar's reference image. @@ -130,7 +130,7 @@ public GetAvatarsResponseDataItemAvatarProcessing( global::System.Guid id, string name, string personality, - global::Runway.Voice6 voice, + global::Runway.Voice5 voice, global::System.Collections.Generic.IList documentIds, global::System.DateTime createdAt, global::System.DateTime updatedAt, diff --git a/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseDataItemAvatarReady.g.cs b/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseDataItemAvatarReady.g.cs index 46d0b816..af3d1d1c 100644 --- a/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseDataItemAvatarReady.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.GetAvatarsResponseDataItemAvatarReady.g.cs @@ -39,9 +39,9 @@ public sealed partial class GetAvatarsResponseDataItemAvatarReady /// The voice configured for this avatar. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice7JsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice6JsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.Voice7 Voice { get; set; } + public required global::Runway.Voice6 Voice { get; set; } /// /// A URI pointing to a low-resolution preview of the avatar's reference image. @@ -130,7 +130,7 @@ public GetAvatarsResponseDataItemAvatarReady( global::System.Guid id, string name, string personality, - global::Runway.Voice7 voice, + global::Runway.Voice6 voice, global::System.Collections.Generic.IList documentIds, global::System.DateTime createdAt, global::System.DateTime updatedAt, diff --git a/src/libs/Runway/Generated/Runway.Models.PatchAvatarsResponseAvatarFailed.g.cs b/src/libs/Runway/Generated/Runway.Models.PatchAvatarsResponseAvatarFailed.g.cs index b23b5ba2..29dab32c 100644 --- a/src/libs/Runway/Generated/Runway.Models.PatchAvatarsResponseAvatarFailed.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.PatchAvatarsResponseAvatarFailed.g.cs @@ -39,9 +39,9 @@ public sealed partial class PatchAvatarsResponseAvatarFailed /// The voice configured for this avatar. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice17JsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice16JsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.Voice17 Voice { get; set; } + public required global::Runway.Voice16 Voice { get; set; } /// /// A URI pointing to a low-resolution preview of the avatar's reference image. @@ -140,7 +140,7 @@ public PatchAvatarsResponseAvatarFailed( global::System.Guid id, string name, string personality, - global::Runway.Voice17 voice, + global::Runway.Voice16 voice, global::System.Collections.Generic.IList documentIds, global::System.DateTime createdAt, global::System.DateTime updatedAt, diff --git a/src/libs/Runway/Generated/Runway.Models.PatchAvatarsResponseAvatarProcessing.g.cs b/src/libs/Runway/Generated/Runway.Models.PatchAvatarsResponseAvatarProcessing.g.cs index 8fc5ad83..c293e0b4 100644 --- a/src/libs/Runway/Generated/Runway.Models.PatchAvatarsResponseAvatarProcessing.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.PatchAvatarsResponseAvatarProcessing.g.cs @@ -39,9 +39,9 @@ public sealed partial class PatchAvatarsResponseAvatarProcessing /// The voice configured for this avatar. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice15JsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice14JsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.Voice15 Voice { get; set; } + public required global::Runway.Voice14 Voice { get; set; } /// /// A URI pointing to a low-resolution preview of the avatar's reference image. @@ -130,7 +130,7 @@ public PatchAvatarsResponseAvatarProcessing( global::System.Guid id, string name, string personality, - global::Runway.Voice15 voice, + global::Runway.Voice14 voice, global::System.Collections.Generic.IList documentIds, global::System.DateTime createdAt, global::System.DateTime updatedAt, diff --git a/src/libs/Runway/Generated/Runway.Models.PatchAvatarsResponseAvatarReady.g.cs b/src/libs/Runway/Generated/Runway.Models.PatchAvatarsResponseAvatarReady.g.cs index d189ce86..847e60da 100644 --- a/src/libs/Runway/Generated/Runway.Models.PatchAvatarsResponseAvatarReady.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.PatchAvatarsResponseAvatarReady.g.cs @@ -39,9 +39,9 @@ public sealed partial class PatchAvatarsResponseAvatarReady /// The voice configured for this avatar. /// [global::System.Text.Json.Serialization.JsonPropertyName("voice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice16JsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.Voice15JsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Runway.Voice16 Voice { get; set; } + public required global::Runway.Voice15 Voice { get; set; } /// /// A URI pointing to a low-resolution preview of the avatar's reference image. @@ -130,7 +130,7 @@ public PatchAvatarsResponseAvatarReady( global::System.Guid id, string name, string personality, - global::Runway.Voice16 voice, + global::Runway.Voice15 voice, global::System.Collections.Generic.IList documentIds, global::System.DateTime createdAt, global::System.DateTime updatedAt, diff --git a/src/libs/Runway/Generated/Runway.Models.Voice10.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice10.g.cs index d6b4c4b2..7e45e30a 100644 --- a/src/libs/Runway/Generated/Runway.Models.Voice10.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.Voice10.g.cs @@ -12,15 +12,15 @@ namespace Runway /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type { get; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type { get; } /// /// A preset voice from the Runway API. /// #if NET6_0_OR_GREATER - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } #else - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickRunwayLivePreset( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) + out global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) { value = RunwayLivePreset; return IsRunwayLivePreset; @@ -47,7 +47,7 @@ public bool TryPickRunwayLivePreset( /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset ? RunwayLivePreset! : throw new global::System.InvalidOperationException($"Expected union variant 'RunwayLivePreset' but the value was {ToString()}."); @@ -55,9 +55,9 @@ public bool TryPickRunwayLivePreset( /// A custom voice created via the Voices API. /// #if NET6_0_OR_GREATER - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Custom { get; init; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Custom { get; init; } #else - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Custom { get; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Custom { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickCustom( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) + out global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) { value = Custom; return IsCustom; @@ -84,23 +84,23 @@ public bool TryPickCustom( /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse PickCustom() => IsCustom + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse PickCustom() => IsCustom ? Custom! : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); /// /// /// - public static implicit operator Voice10(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse value) => new Voice10((global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse?)value); + public static implicit operator Voice10(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse value) => new Voice10((global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse?(Voice10 @this) => @this.RunwayLivePreset; + public static implicit operator global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse?(Voice10 @this) => @this.RunwayLivePreset; /// /// /// - public Voice10(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) + public Voice10(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) { RunwayLivePreset = value; } @@ -108,22 +108,22 @@ public Voice10(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePre /// /// /// - public static Voice10 FromRunwayLivePreset(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) => new Voice10(value); + public static Voice10 FromRunwayLivePreset(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) => new Voice10(value); /// /// /// - public static implicit operator Voice10(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse value) => new Voice10((global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse?)value); + public static implicit operator Voice10(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse value) => new Voice10((global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse?(Voice10 @this) => @this.Custom; + public static implicit operator global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse?(Voice10 @this) => @this.Custom; /// /// /// - public Voice10(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) + public Voice10(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) { Custom = value; } @@ -131,15 +131,15 @@ public Voice10(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceRe /// /// /// - public static Voice10 FromCustom(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) => new Voice10(value); + public static Voice10 FromCustom(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) => new Voice10(value); /// /// /// public Voice10( - global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType? type, - global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, - global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? custom + global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType? type, + global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, + global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? custom ) { Type = type; @@ -176,8 +176,8 @@ public bool Validate() /// /// public TResult? Match( - global::System.Func? runwayLivePreset = null, - global::System.Func? custom = null, + global::System.Func? runwayLivePreset = null, + global::System.Func? custom = null, bool validate = true) { if (validate) @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? runwayLivePreset = null, + global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? runwayLivePreset = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { RunwayLivePreset, - typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), + typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), Custom, - typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), + typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(Voice10 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) + global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) ; } diff --git a/src/libs/Runway/Generated/Runway.Models.Voice11.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice11.g.cs index 4e6c40a8..f5c3f203 100644 --- a/src/libs/Runway/Generated/Runway.Models.Voice11.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.Voice11.g.cs @@ -12,15 +12,15 @@ namespace Runway /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type { get; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type { get; } /// /// A preset voice from the Runway API. /// #if NET6_0_OR_GREATER - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } #else - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickRunwayLivePreset( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) + out global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) { value = RunwayLivePreset; return IsRunwayLivePreset; @@ -47,7 +47,7 @@ public bool TryPickRunwayLivePreset( /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset ? RunwayLivePreset! : throw new global::System.InvalidOperationException($"Expected union variant 'RunwayLivePreset' but the value was {ToString()}."); @@ -55,9 +55,9 @@ public bool TryPickRunwayLivePreset( /// A custom voice created via the Voices API. /// #if NET6_0_OR_GREATER - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Custom { get; init; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Custom { get; init; } #else - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Custom { get; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Custom { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickCustom( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) + out global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) { value = Custom; return IsCustom; @@ -84,23 +84,23 @@ public bool TryPickCustom( /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse PickCustom() => IsCustom + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse PickCustom() => IsCustom ? Custom! : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); /// /// /// - public static implicit operator Voice11(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse value) => new Voice11((global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse?)value); + public static implicit operator Voice11(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse value) => new Voice11((global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse?(Voice11 @this) => @this.RunwayLivePreset; + public static implicit operator global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse?(Voice11 @this) => @this.RunwayLivePreset; /// /// /// - public Voice11(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) + public Voice11(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) { RunwayLivePreset = value; } @@ -108,22 +108,22 @@ public Voice11(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePr /// /// /// - public static Voice11 FromRunwayLivePreset(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) => new Voice11(value); + public static Voice11 FromRunwayLivePreset(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) => new Voice11(value); /// /// /// - public static implicit operator Voice11(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse value) => new Voice11((global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse?)value); + public static implicit operator Voice11(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse value) => new Voice11((global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse?(Voice11 @this) => @this.Custom; + public static implicit operator global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse?(Voice11 @this) => @this.Custom; /// /// /// - public Voice11(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) + public Voice11(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) { Custom = value; } @@ -131,15 +131,15 @@ public Voice11(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceR /// /// /// - public static Voice11 FromCustom(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) => new Voice11(value); + public static Voice11 FromCustom(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) => new Voice11(value); /// /// /// public Voice11( - global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType? type, - global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, - global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? custom + global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType? type, + global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, + global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? custom ) { Type = type; @@ -176,8 +176,8 @@ public bool Validate() /// /// public TResult? Match( - global::System.Func? runwayLivePreset = null, - global::System.Func? custom = null, + global::System.Func? runwayLivePreset = null, + global::System.Func? custom = null, bool validate = true) { if (validate) @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? runwayLivePreset = null, + global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? runwayLivePreset = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { RunwayLivePreset, - typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), + typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), Custom, - typeof(global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), + typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(Voice11 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) + global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) ; } diff --git a/src/libs/Runway/Generated/Runway.Models.Voice12.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice12.g.cs index f5eb4322..e39b41a2 100644 --- a/src/libs/Runway/Generated/Runway.Models.Voice12.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.Voice12.g.cs @@ -12,15 +12,15 @@ namespace Runway /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type { get; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type { get; } /// /// A preset voice from the Runway API. /// #if NET6_0_OR_GREATER - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } #else - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickRunwayLivePreset( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) + out global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) { value = RunwayLivePreset; return IsRunwayLivePreset; @@ -47,7 +47,7 @@ public bool TryPickRunwayLivePreset( /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset + public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset ? RunwayLivePreset! : throw new global::System.InvalidOperationException($"Expected union variant 'RunwayLivePreset' but the value was {ToString()}."); @@ -55,9 +55,9 @@ public bool TryPickRunwayLivePreset( /// A custom voice created via the Voices API. /// #if NET6_0_OR_GREATER - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Custom { get; init; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Custom { get; init; } #else - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Custom { get; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Custom { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickCustom( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) + out global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) { value = Custom; return IsCustom; @@ -84,23 +84,23 @@ public bool TryPickCustom( /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse PickCustom() => IsCustom + public global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse PickCustom() => IsCustom ? Custom! : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); /// /// /// - public static implicit operator Voice12(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse value) => new Voice12((global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse?)value); + public static implicit operator Voice12(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse value) => new Voice12((global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse?(Voice12 @this) => @this.RunwayLivePreset; + public static implicit operator global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse?(Voice12 @this) => @this.RunwayLivePreset; /// /// /// - public Voice12(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) + public Voice12(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) { RunwayLivePreset = value; } @@ -108,22 +108,22 @@ public Voice12(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLiveP /// /// /// - public static Voice12 FromRunwayLivePreset(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) => new Voice12(value); + public static Voice12 FromRunwayLivePreset(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) => new Voice12(value); /// /// /// - public static implicit operator Voice12(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse value) => new Voice12((global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse?)value); + public static implicit operator Voice12(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse value) => new Voice12((global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse?(Voice12 @this) => @this.Custom; + public static implicit operator global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse?(Voice12 @this) => @this.Custom; /// /// /// - public Voice12(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) + public Voice12(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) { Custom = value; } @@ -131,15 +131,15 @@ public Voice12(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoice /// /// /// - public static Voice12 FromCustom(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) => new Voice12(value); + public static Voice12 FromCustom(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) => new Voice12(value); /// /// /// public Voice12( - global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType? type, - global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, - global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? custom + global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType? type, + global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, + global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? custom ) { Type = type; @@ -176,8 +176,8 @@ public bool Validate() /// /// public TResult? Match( - global::System.Func? runwayLivePreset = null, - global::System.Func? custom = null, + global::System.Func? runwayLivePreset = null, + global::System.Func? custom = null, bool validate = true) { if (validate) @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? runwayLivePreset = null, + global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? runwayLivePreset = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { RunwayLivePreset, - typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), + typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), Custom, - typeof(global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), + typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(Voice12 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) + global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) ; } diff --git a/src/libs/Runway/Generated/Runway.Models.Voice13.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice13.g.cs index 4a147555..f1c3902f 100644 --- a/src/libs/Runway/Generated/Runway.Models.Voice13.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.Voice13.g.cs @@ -12,15 +12,15 @@ namespace Runway /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type { get; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type { get; } /// /// A preset voice from the Runway API. /// #if NET6_0_OR_GREATER - public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } #else - public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickRunwayLivePreset( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) + out global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) { value = RunwayLivePreset; return IsRunwayLivePreset; @@ -47,7 +47,7 @@ public bool TryPickRunwayLivePreset( /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset + public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset ? RunwayLivePreset! : throw new global::System.InvalidOperationException($"Expected union variant 'RunwayLivePreset' but the value was {ToString()}."); @@ -55,9 +55,9 @@ public bool TryPickRunwayLivePreset( /// A custom voice created via the Voices API. /// #if NET6_0_OR_GREATER - public global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Custom { get; init; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Custom { get; init; } #else - public global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Custom { get; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Custom { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickCustom( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) + out global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) { value = Custom; return IsCustom; @@ -84,23 +84,23 @@ public bool TryPickCustom( /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse PickCustom() => IsCustom + public global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse PickCustom() => IsCustom ? Custom! : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); /// /// /// - public static implicit operator Voice13(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse value) => new Voice13((global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse?)value); + public static implicit operator Voice13(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse value) => new Voice13((global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse?(Voice13 @this) => @this.RunwayLivePreset; + public static implicit operator global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse?(Voice13 @this) => @this.RunwayLivePreset; /// /// /// - public Voice13(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) + public Voice13(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) { RunwayLivePreset = value; } @@ -108,22 +108,22 @@ public Voice13(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePreset /// /// /// - public static Voice13 FromRunwayLivePreset(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) => new Voice13(value); + public static Voice13 FromRunwayLivePreset(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) => new Voice13(value); /// /// /// - public static implicit operator Voice13(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse value) => new Voice13((global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse?)value); + public static implicit operator Voice13(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse value) => new Voice13((global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse?(Voice13 @this) => @this.Custom; + public static implicit operator global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse?(Voice13 @this) => @this.Custom; /// /// /// - public Voice13(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) + public Voice13(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) { Custom = value; } @@ -131,15 +131,15 @@ public Voice13(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceRespo /// /// /// - public static Voice13 FromCustom(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) => new Voice13(value); + public static Voice13 FromCustom(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) => new Voice13(value); /// /// /// public Voice13( - global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType? type, - global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, - global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? custom + global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType? type, + global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, + global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? custom ) { Type = type; @@ -176,8 +176,8 @@ public bool Validate() /// /// public TResult? Match( - global::System.Func? runwayLivePreset = null, - global::System.Func? custom = null, + global::System.Func? runwayLivePreset = null, + global::System.Func? custom = null, bool validate = true) { if (validate) @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? runwayLivePreset = null, + global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? runwayLivePreset = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { RunwayLivePreset, - typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), + typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), Custom, - typeof(global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), + typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(Voice13 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) + global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) ; } diff --git a/src/libs/Runway/Generated/Runway.Models.Voice14.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice14.g.cs index 84b0f3af..0d512b33 100644 --- a/src/libs/Runway/Generated/Runway.Models.Voice14.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.Voice14.g.cs @@ -12,15 +12,15 @@ namespace Runway /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type { get; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type { get; } /// /// A preset voice from the Runway API. /// #if NET6_0_OR_GREATER - public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } #else - public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickRunwayLivePreset( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) + out global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) { value = RunwayLivePreset; return IsRunwayLivePreset; @@ -47,7 +47,7 @@ public bool TryPickRunwayLivePreset( /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset ? RunwayLivePreset! : throw new global::System.InvalidOperationException($"Expected union variant 'RunwayLivePreset' but the value was {ToString()}."); @@ -55,9 +55,9 @@ public bool TryPickRunwayLivePreset( /// A custom voice created via the Voices API. /// #if NET6_0_OR_GREATER - public global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Custom { get; init; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Custom { get; init; } #else - public global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Custom { get; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Custom { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickCustom( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) + out global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) { value = Custom; return IsCustom; @@ -84,23 +84,23 @@ public bool TryPickCustom( /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse PickCustom() => IsCustom + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse PickCustom() => IsCustom ? Custom! : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); /// /// /// - public static implicit operator Voice14(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse value) => new Voice14((global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse?)value); + public static implicit operator Voice14(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse value) => new Voice14((global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse?(Voice14 @this) => @this.RunwayLivePreset; + public static implicit operator global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse?(Voice14 @this) => @this.RunwayLivePreset; /// /// /// - public Voice14(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) + public Voice14(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) { RunwayLivePreset = value; } @@ -108,22 +108,22 @@ public Voice14(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePrese /// /// /// - public static Voice14 FromRunwayLivePreset(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) => new Voice14(value); + public static Voice14 FromRunwayLivePreset(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) => new Voice14(value); /// /// /// - public static implicit operator Voice14(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse value) => new Voice14((global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse?)value); + public static implicit operator Voice14(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse value) => new Voice14((global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse?(Voice14 @this) => @this.Custom; + public static implicit operator global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse?(Voice14 @this) => @this.Custom; /// /// /// - public Voice14(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) + public Voice14(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) { Custom = value; } @@ -131,15 +131,15 @@ public Voice14(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResp /// /// /// - public static Voice14 FromCustom(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) => new Voice14(value); + public static Voice14 FromCustom(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) => new Voice14(value); /// /// /// public Voice14( - global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType? type, - global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, - global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? custom + global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType? type, + global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, + global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? custom ) { Type = type; @@ -176,8 +176,8 @@ public bool Validate() /// /// public TResult? Match( - global::System.Func? runwayLivePreset = null, - global::System.Func? custom = null, + global::System.Func? runwayLivePreset = null, + global::System.Func? custom = null, bool validate = true) { if (validate) @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? runwayLivePreset = null, + global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? runwayLivePreset = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { RunwayLivePreset, - typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), + typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), Custom, - typeof(global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), + typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(Voice14 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) + global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) ; } diff --git a/src/libs/Runway/Generated/Runway.Models.Voice15.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice15.g.cs index 7c6e8430..eabdaf0c 100644 --- a/src/libs/Runway/Generated/Runway.Models.Voice15.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.Voice15.g.cs @@ -12,15 +12,15 @@ namespace Runway /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type { get; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type { get; } /// /// A preset voice from the Runway API. /// #if NET6_0_OR_GREATER - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } #else - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickRunwayLivePreset( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) + out global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) { value = RunwayLivePreset; return IsRunwayLivePreset; @@ -47,7 +47,7 @@ public bool TryPickRunwayLivePreset( /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset ? RunwayLivePreset! : throw new global::System.InvalidOperationException($"Expected union variant 'RunwayLivePreset' but the value was {ToString()}."); @@ -55,9 +55,9 @@ public bool TryPickRunwayLivePreset( /// A custom voice created via the Voices API. /// #if NET6_0_OR_GREATER - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Custom { get; init; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Custom { get; init; } #else - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Custom { get; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Custom { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickCustom( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) + out global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) { value = Custom; return IsCustom; @@ -84,23 +84,23 @@ public bool TryPickCustom( /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse PickCustom() => IsCustom + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse PickCustom() => IsCustom ? Custom! : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); /// /// /// - public static implicit operator Voice15(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse value) => new Voice15((global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse?)value); + public static implicit operator Voice15(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse value) => new Voice15((global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse?(Voice15 @this) => @this.RunwayLivePreset; + public static implicit operator global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse?(Voice15 @this) => @this.RunwayLivePreset; /// /// /// - public Voice15(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) + public Voice15(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) { RunwayLivePreset = value; } @@ -108,22 +108,22 @@ public Voice15(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLiv /// /// /// - public static Voice15 FromRunwayLivePreset(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) => new Voice15(value); + public static Voice15 FromRunwayLivePreset(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) => new Voice15(value); /// /// /// - public static implicit operator Voice15(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse value) => new Voice15((global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse?)value); + public static implicit operator Voice15(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse value) => new Voice15((global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse?(Voice15 @this) => @this.Custom; + public static implicit operator global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse?(Voice15 @this) => @this.Custom; /// /// /// - public Voice15(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) + public Voice15(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) { Custom = value; } @@ -131,15 +131,15 @@ public Voice15(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoi /// /// /// - public static Voice15 FromCustom(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) => new Voice15(value); + public static Voice15 FromCustom(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) => new Voice15(value); /// /// /// public Voice15( - global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType? type, - global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, - global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? custom + global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType? type, + global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, + global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? custom ) { Type = type; @@ -176,8 +176,8 @@ public bool Validate() /// /// public TResult? Match( - global::System.Func? runwayLivePreset = null, - global::System.Func? custom = null, + global::System.Func? runwayLivePreset = null, + global::System.Func? custom = null, bool validate = true) { if (validate) @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? runwayLivePreset = null, + global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? runwayLivePreset = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { RunwayLivePreset, - typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), + typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), Custom, - typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), + typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(Voice15 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) + global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) ; } diff --git a/src/libs/Runway/Generated/Runway.Models.Voice16.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice16.g.cs index 67f21da1..131b1648 100644 --- a/src/libs/Runway/Generated/Runway.Models.Voice16.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.Voice16.g.cs @@ -12,15 +12,15 @@ namespace Runway /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type { get; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type { get; } /// /// A preset voice from the Runway API. /// #if NET6_0_OR_GREATER - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } #else - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickRunwayLivePreset( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) + out global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) { value = RunwayLivePreset; return IsRunwayLivePreset; @@ -47,7 +47,7 @@ public bool TryPickRunwayLivePreset( /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset ? RunwayLivePreset! : throw new global::System.InvalidOperationException($"Expected union variant 'RunwayLivePreset' but the value was {ToString()}."); @@ -55,9 +55,9 @@ public bool TryPickRunwayLivePreset( /// A custom voice created via the Voices API. /// #if NET6_0_OR_GREATER - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Custom { get; init; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Custom { get; init; } #else - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Custom { get; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Custom { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickCustom( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) + out global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) { value = Custom; return IsCustom; @@ -84,23 +84,23 @@ public bool TryPickCustom( /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse PickCustom() => IsCustom + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse PickCustom() => IsCustom ? Custom! : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); /// /// /// - public static implicit operator Voice16(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse value) => new Voice16((global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse?)value); + public static implicit operator Voice16(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse value) => new Voice16((global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse?(Voice16 @this) => @this.RunwayLivePreset; + public static implicit operator global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse?(Voice16 @this) => @this.RunwayLivePreset; /// /// /// - public Voice16(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) + public Voice16(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) { RunwayLivePreset = value; } @@ -108,22 +108,22 @@ public Voice16(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePres /// /// /// - public static Voice16 FromRunwayLivePreset(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) => new Voice16(value); + public static Voice16 FromRunwayLivePreset(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) => new Voice16(value); /// /// /// - public static implicit operator Voice16(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse value) => new Voice16((global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse?)value); + public static implicit operator Voice16(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse value) => new Voice16((global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse?(Voice16 @this) => @this.Custom; + public static implicit operator global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse?(Voice16 @this) => @this.Custom; /// /// /// - public Voice16(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) + public Voice16(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) { Custom = value; } @@ -131,15 +131,15 @@ public Voice16(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceRes /// /// /// - public static Voice16 FromCustom(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) => new Voice16(value); + public static Voice16 FromCustom(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) => new Voice16(value); /// /// /// public Voice16( - global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType? type, - global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, - global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? custom + global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType? type, + global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, + global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? custom ) { Type = type; @@ -176,8 +176,8 @@ public bool Validate() /// /// public TResult? Match( - global::System.Func? runwayLivePreset = null, - global::System.Func? custom = null, + global::System.Func? runwayLivePreset = null, + global::System.Func? custom = null, bool validate = true) { if (validate) @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? runwayLivePreset = null, + global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? runwayLivePreset = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { RunwayLivePreset, - typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), + typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), Custom, - typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), + typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(Voice16 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) + global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) ; } diff --git a/src/libs/Runway/Generated/Runway.Models.Voice17.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice17.Json.g.cs deleted file mode 100644 index 4b70e445..00000000 --- a/src/libs/Runway/Generated/Runway.Models.Voice17.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Runway -{ - public readonly partial struct Voice17 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Runway.Voice17? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Runway.Voice17), - jsonSerializerContext) as global::Runway.Voice17?; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Runway.Voice17? FromJson( - string json) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Runway.Voice17? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Runway.Voice17), - jsonSerializerContext).ConfigureAwait(false)) as global::Runway.Voice17?; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Runway.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.Voice17.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice17.g.cs deleted file mode 100644 index b9c3086c..00000000 --- a/src/libs/Runway/Generated/Runway.Models.Voice17.g.cs +++ /dev/null @@ -1,303 +0,0 @@ -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace Runway -{ - /// - /// The voice configured for this avatar. - /// - public readonly partial struct Voice17 : global::System.IEquatable - { - /// - /// - /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type { get; } - - /// - /// A preset voice from the Runway API. - /// -#if NET6_0_OR_GREATER - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } -#else - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(RunwayLivePreset))] -#endif - public bool IsRunwayLivePreset => RunwayLivePreset != null; - - /// - /// - /// - public bool TryPickRunwayLivePreset( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) - { - value = RunwayLivePreset; - return IsRunwayLivePreset; - } - - /// - /// - /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset - ? RunwayLivePreset! - : throw new global::System.InvalidOperationException($"Expected union variant 'RunwayLivePreset' but the value was {ToString()}."); - - /// - /// A custom voice created via the Voices API. - /// -#if NET6_0_OR_GREATER - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Custom { get; init; } -#else - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Custom { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Custom))] -#endif - public bool IsCustom => Custom != null; - - /// - /// - /// - public bool TryPickCustom( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) - { - value = Custom; - return IsCustom; - } - - /// - /// - /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse PickCustom() => IsCustom - ? Custom! - : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator Voice17(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse value) => new Voice17((global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse?)value); - - /// - /// - /// - public static implicit operator global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse?(Voice17 @this) => @this.RunwayLivePreset; - - /// - /// - /// - public Voice17(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) - { - RunwayLivePreset = value; - } - - /// - /// - /// - public static Voice17 FromRunwayLivePreset(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) => new Voice17(value); - - /// - /// - /// - public static implicit operator Voice17(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse value) => new Voice17((global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse?)value); - - /// - /// - /// - public static implicit operator global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse?(Voice17 @this) => @this.Custom; - - /// - /// - /// - public Voice17(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) - { - Custom = value; - } - - /// - /// - /// - public static Voice17 FromCustom(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? value) => new Voice17(value); - - /// - /// - /// - public Voice17( - global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType? type, - global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, - global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? custom - ) - { - Type = type; - - RunwayLivePreset = runwayLivePreset; - Custom = custom; - } - - /// - /// - /// - public object? Object => - Custom as object ?? - RunwayLivePreset as object - ; - - /// - /// - /// - public override string? ToString() => - RunwayLivePreset?.ToString() ?? - Custom?.ToString() - ; - - /// - /// - /// - public bool Validate() - { - return IsRunwayLivePreset && !IsCustom || !IsRunwayLivePreset && IsCustom; - } - - /// - /// - /// - public TResult? Match( - global::System.Func? runwayLivePreset = null, - global::System.Func? custom = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsRunwayLivePreset && runwayLivePreset != null) - { - return runwayLivePreset(RunwayLivePreset!); - } - else if (IsCustom && custom != null) - { - return custom(Custom!); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? runwayLivePreset = null, - - global::System.Action? custom = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsRunwayLivePreset) - { - runwayLivePreset?.Invoke(RunwayLivePreset!); - } - else if (IsCustom) - { - custom?.Invoke(Custom!); - } - } - - /// - /// - /// - public void Switch( - global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsRunwayLivePreset) - { - runwayLivePreset?.Invoke(RunwayLivePreset!); - } - else if (IsCustom) - { - custom?.Invoke(Custom!); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - RunwayLivePreset, - typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse), - Custom, - typeof(global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse), - }; - const int offset = unchecked((int)2166136261); - const int prime = 16777619; - static int HashCodeAggregator(int hashCode, object? value) => value == null - ? (hashCode ^ 0) * prime - : (hashCode ^ value.GetHashCode()) * prime; - - return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(Voice17 other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) - ; - } - - /// - /// - /// - public static bool operator ==(Voice17 obj1, Voice17 obj2) - { - return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(Voice17 obj1, Voice17 obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is Voice17 o && Equals(o); - } - } -} diff --git a/src/libs/Runway/Generated/Runway.Models.Voice4.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice4.g.cs index be7d04ed..945973a0 100644 --- a/src/libs/Runway/Generated/Runway.Models.Voice4.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.Voice4.g.cs @@ -5,59 +5,59 @@ namespace Runway { /// - /// The voice to use for text-to-speech generation. If omitted, a default voice is used. + /// The voice to speak with. When omitted, models that support a default voice remain eligible. /// public readonly partial struct Voice4 : global::System.IEquatable { /// /// /// - public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType? Type { get; } + public global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminatorType? Type { get; } /// - /// A preset voice for Seed Audio text-to-speech. + /// A preset voice. /// #if NET6_0_OR_GREATER - public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice? SeedPreset { get; init; } + public global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? Preset { get; init; } #else - public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice? SeedPreset { get; } + public global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? Preset { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SeedPreset))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Preset))] #endif - public bool IsSeedPreset => SeedPreset != null; + public bool IsPreset => Preset != null; /// /// /// - public bool TryPickSeedPreset( + public bool TryPickPreset( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice? value) + out global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? value) { - value = SeedPreset; - return IsSeedPreset; + value = Preset; + return IsPreset; } /// /// /// - public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice PickSeedPreset() => IsSeedPreset - ? SeedPreset! - : throw new global::System.InvalidOperationException($"Expected union variant 'SeedPreset' but the value was {ToString()}."); + public global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice PickPreset() => IsPreset + ? Preset! + : throw new global::System.InvalidOperationException($"Expected union variant 'Preset' but the value was {ToString()}."); /// - /// Clone from a single reference audio clip, then speak promptText in that voice. + /// Clone a voice from a reference audio clip, then speak promptText in that voice. Routes only to models that support voice cloning. /// #if NET6_0_OR_GREATER - public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? ReferenceAudio { get; init; } + public global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? ReferenceAudio { get; init; } #else - public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? ReferenceAudio { get; } + public global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? ReferenceAudio { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickReferenceAudio( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? value) + out global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? value) { value = ReferenceAudio; return IsReferenceAudio; @@ -84,46 +84,46 @@ public bool TryPickReferenceAudio( /// /// /// - public global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice PickReferenceAudio() => IsReferenceAudio + public global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice PickReferenceAudio() => IsReferenceAudio ? ReferenceAudio! : throw new global::System.InvalidOperationException($"Expected union variant 'ReferenceAudio' but the value was {ToString()}."); /// /// /// - public static implicit operator Voice4(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice value) => new Voice4((global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice?)value); + public static implicit operator Voice4(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice value) => new Voice4((global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice?)value); /// /// /// - public static implicit operator global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice?(Voice4 @this) => @this.SeedPreset; + public static implicit operator global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice?(Voice4 @this) => @this.Preset; /// /// /// - public Voice4(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice? value) + public Voice4(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? value) { - SeedPreset = value; + Preset = value; } /// /// /// - public static Voice4 FromSeedPreset(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice? value) => new Voice4(value); + public static Voice4 FromPreset(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? value) => new Voice4(value); /// /// /// - public static implicit operator Voice4(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice value) => new Voice4((global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice?)value); + public static implicit operator Voice4(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice value) => new Voice4((global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice?)value); /// /// /// - public static implicit operator global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice?(Voice4 @this) => @this.ReferenceAudio; + public static implicit operator global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice?(Voice4 @this) => @this.ReferenceAudio; /// /// /// - public Voice4(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? value) + public Voice4(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? value) { ReferenceAudio = value; } @@ -131,20 +131,20 @@ public Voice4(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenc /// /// /// - public static Voice4 FromReferenceAudio(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? value) => new Voice4(value); + public static Voice4 FromReferenceAudio(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? value) => new Voice4(value); /// /// /// public Voice4( - global::Runway.CreateTextToSpeechRequestSeedAudioVoiceDiscriminatorType? type, - global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice? seedPreset, - global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice? referenceAudio + global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminatorType? type, + global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? preset, + global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? referenceAudio ) { Type = type; - SeedPreset = seedPreset; + Preset = preset; ReferenceAudio = referenceAudio; } @@ -153,14 +153,14 @@ public Voice4( /// public object? Object => ReferenceAudio as object ?? - SeedPreset as object + Preset as object ; /// /// /// public override string? ToString() => - SeedPreset?.ToString() ?? + Preset?.ToString() ?? ReferenceAudio?.ToString() ; @@ -169,15 +169,15 @@ SeedPreset as object /// public bool Validate() { - return IsSeedPreset && !IsReferenceAudio || !IsSeedPreset && IsReferenceAudio; + return IsPreset && !IsReferenceAudio || !IsPreset && IsReferenceAudio; } /// /// /// public TResult? Match( - global::System.Func? seedPreset = null, - global::System.Func? referenceAudio = null, + global::System.Func? preset = null, + global::System.Func? referenceAudio = null, bool validate = true) { if (validate) @@ -185,9 +185,9 @@ public bool Validate() Validate(); } - if (IsSeedPreset && seedPreset != null) + if (IsPreset && preset != null) { - return seedPreset(SeedPreset!); + return preset(Preset!); } else if (IsReferenceAudio && referenceAudio != null) { @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? seedPreset = null, + global::System.Action? preset = null, - global::System.Action? referenceAudio = null, + global::System.Action? referenceAudio = null, bool validate = true) { if (validate) @@ -211,9 +211,9 @@ public void Match( Validate(); } - if (IsSeedPreset) + if (IsPreset) { - seedPreset?.Invoke(SeedPreset!); + preset?.Invoke(Preset!); } else if (IsReferenceAudio) { @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? seedPreset = null, - global::System.Action? referenceAudio = null, + global::System.Action? preset = null, + global::System.Action? referenceAudio = null, bool validate = true) { if (validate) @@ -234,9 +234,9 @@ public void Switch( Validate(); } - if (IsSeedPreset) + if (IsPreset) { - seedPreset?.Invoke(SeedPreset!); + preset?.Invoke(Preset!); } else if (IsReferenceAudio) { @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - SeedPreset, - typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedPresetVoice), + Preset, + typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice), ReferenceAudio, - typeof(global::Runway.CreateTextToSpeechRequestSeedAudioVoiceSeedReferenceVoice), + typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(Voice4 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SeedPreset, other.SeedPreset) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ReferenceAudio, other.ReferenceAudio) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Preset, other.Preset) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ReferenceAudio, other.ReferenceAudio) ; } diff --git a/src/libs/Runway/Generated/Runway.Models.Voice5.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice5.g.cs index af594c76..9b2a9056 100644 --- a/src/libs/Runway/Generated/Runway.Models.Voice5.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.Voice5.g.cs @@ -5,163 +5,163 @@ namespace Runway { /// - /// The voice to speak with. When omitted, models that support a default voice remain eligible. + /// The voice configured for this avatar. /// public readonly partial struct Voice5 : global::System.IEquatable { /// /// /// - public global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminatorType? Type { get; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType? Type { get; } /// - /// A preset voice. + /// A preset voice from the Runway API. /// #if NET6_0_OR_GREATER - public global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? Preset { get; init; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } #else - public global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? Preset { get; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Preset))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(RunwayLivePreset))] #endif - public bool IsPreset => Preset != null; + public bool IsRunwayLivePreset => RunwayLivePreset != null; /// /// /// - public bool TryPickPreset( + public bool TryPickRunwayLivePreset( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? value) + out global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) { - value = Preset; - return IsPreset; + value = RunwayLivePreset; + return IsRunwayLivePreset; } /// /// /// - public global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice PickPreset() => IsPreset - ? Preset! - : throw new global::System.InvalidOperationException($"Expected union variant 'Preset' but the value was {ToString()}."); + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset + ? RunwayLivePreset! + : throw new global::System.InvalidOperationException($"Expected union variant 'RunwayLivePreset' but the value was {ToString()}."); /// - /// Clone a voice from a reference audio clip, then speak promptText in that voice. Routes only to models that support voice cloning. + /// A custom voice created via the Voices API. /// #if NET6_0_OR_GREATER - public global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? ReferenceAudio { get; init; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? Custom { get; init; } #else - public global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? ReferenceAudio { get; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? Custom { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ReferenceAudio))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Custom))] #endif - public bool IsReferenceAudio => ReferenceAudio != null; + public bool IsCustom => Custom != null; /// /// /// - public bool TryPickReferenceAudio( + public bool TryPickCustom( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? value) + out global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? value) { - value = ReferenceAudio; - return IsReferenceAudio; + value = Custom; + return IsCustom; } /// /// /// - public global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice PickReferenceAudio() => IsReferenceAudio - ? ReferenceAudio! - : throw new global::System.InvalidOperationException($"Expected union variant 'ReferenceAudio' but the value was {ToString()}."); + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse PickCustom() => IsCustom + ? Custom! + : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); /// /// /// - public static implicit operator Voice5(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice value) => new Voice5((global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice?)value); + public static implicit operator Voice5(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse value) => new Voice5((global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice?(Voice5 @this) => @this.Preset; + public static implicit operator global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse?(Voice5 @this) => @this.RunwayLivePreset; /// /// /// - public Voice5(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? value) + public Voice5(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) { - Preset = value; + RunwayLivePreset = value; } /// /// /// - public static Voice5 FromPreset(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? value) => new Voice5(value); + public static Voice5 FromRunwayLivePreset(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) => new Voice5(value); /// /// /// - public static implicit operator Voice5(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice value) => new Voice5((global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice?)value); + public static implicit operator Voice5(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse value) => new Voice5((global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice?(Voice5 @this) => @this.ReferenceAudio; + public static implicit operator global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse?(Voice5 @this) => @this.Custom; /// /// /// - public Voice5(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? value) + public Voice5(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? value) { - ReferenceAudio = value; + Custom = value; } /// /// /// - public static Voice5 FromReferenceAudio(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? value) => new Voice5(value); + public static Voice5 FromCustom(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? value) => new Voice5(value); /// /// /// public Voice5( - global::Runway.CreateGenerateAudioRequestInputVoiceDiscriminatorType? type, - global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice? preset, - global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice? referenceAudio + global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType? type, + global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, + global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? custom ) { Type = type; - Preset = preset; - ReferenceAudio = referenceAudio; + RunwayLivePreset = runwayLivePreset; + Custom = custom; } /// /// /// public object? Object => - ReferenceAudio as object ?? - Preset as object + Custom as object ?? + RunwayLivePreset as object ; /// /// /// public override string? ToString() => - Preset?.ToString() ?? - ReferenceAudio?.ToString() + RunwayLivePreset?.ToString() ?? + Custom?.ToString() ; /// @@ -169,15 +169,15 @@ Preset as object /// public bool Validate() { - return IsPreset && !IsReferenceAudio || !IsPreset && IsReferenceAudio; + return IsRunwayLivePreset && !IsCustom || !IsRunwayLivePreset && IsCustom; } /// /// /// public TResult? Match( - global::System.Func? preset = null, - global::System.Func? referenceAudio = null, + global::System.Func? runwayLivePreset = null, + global::System.Func? custom = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (IsPreset && preset != null) + if (IsRunwayLivePreset && runwayLivePreset != null) { - return preset(Preset!); + return runwayLivePreset(RunwayLivePreset!); } - else if (IsReferenceAudio && referenceAudio != null) + else if (IsCustom && custom != null) { - return referenceAudio(ReferenceAudio!); + return custom(Custom!); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? preset = null, + global::System.Action? runwayLivePreset = null, - global::System.Action? referenceAudio = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (IsPreset) + if (IsRunwayLivePreset) { - preset?.Invoke(Preset!); + runwayLivePreset?.Invoke(RunwayLivePreset!); } - else if (IsReferenceAudio) + else if (IsCustom) { - referenceAudio?.Invoke(ReferenceAudio!); + custom?.Invoke(Custom!); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? preset = null, - global::System.Action? referenceAudio = null, + global::System.Action? runwayLivePreset = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (IsPreset) + if (IsRunwayLivePreset) { - preset?.Invoke(Preset!); + runwayLivePreset?.Invoke(RunwayLivePreset!); } - else if (IsReferenceAudio) + else if (IsCustom) { - referenceAudio?.Invoke(ReferenceAudio!); + custom?.Invoke(Custom!); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - Preset, - typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioPresetVoice), - ReferenceAudio, - typeof(global::Runway.CreateGenerateAudioRequestInputVoiceAudioReferenceVoice), + RunwayLivePreset, + typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse), + Custom, + typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(Voice5 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Preset, other.Preset) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ReferenceAudio, other.ReferenceAudio) + global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) ; } diff --git a/src/libs/Runway/Generated/Runway.Models.Voice6.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice6.g.cs index ede3b590..9fd8c1b7 100644 --- a/src/libs/Runway/Generated/Runway.Models.Voice6.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.Voice6.g.cs @@ -12,15 +12,15 @@ namespace Runway /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType? Type { get; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType? Type { get; } /// /// A preset voice from the Runway API. /// #if NET6_0_OR_GREATER - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } #else - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickRunwayLivePreset( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) + out global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) { value = RunwayLivePreset; return IsRunwayLivePreset; @@ -47,7 +47,7 @@ public bool TryPickRunwayLivePreset( /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset ? RunwayLivePreset! : throw new global::System.InvalidOperationException($"Expected union variant 'RunwayLivePreset' but the value was {ToString()}."); @@ -55,9 +55,9 @@ public bool TryPickRunwayLivePreset( /// A custom voice created via the Voices API. /// #if NET6_0_OR_GREATER - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? Custom { get; init; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? Custom { get; init; } #else - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? Custom { get; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? Custom { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickCustom( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? value) + out global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? value) { value = Custom; return IsCustom; @@ -84,23 +84,23 @@ public bool TryPickCustom( /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse PickCustom() => IsCustom + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse PickCustom() => IsCustom ? Custom! : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); /// /// /// - public static implicit operator Voice6(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse value) => new Voice6((global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse?)value); + public static implicit operator Voice6(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse value) => new Voice6((global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse?(Voice6 @this) => @this.RunwayLivePreset; + public static implicit operator global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse?(Voice6 @this) => @this.RunwayLivePreset; /// /// /// - public Voice6(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) + public Voice6(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) { RunwayLivePreset = value; } @@ -108,22 +108,22 @@ public Voice6(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunw /// /// /// - public static Voice6 FromRunwayLivePreset(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) => new Voice6(value); + public static Voice6 FromRunwayLivePreset(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) => new Voice6(value); /// /// /// - public static implicit operator Voice6(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse value) => new Voice6((global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse?)value); + public static implicit operator Voice6(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse value) => new Voice6((global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse?(Voice6 @this) => @this.Custom; + public static implicit operator global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse?(Voice6 @this) => @this.Custom; /// /// /// - public Voice6(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? value) + public Voice6(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? value) { Custom = value; } @@ -131,15 +131,15 @@ public Voice6(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCust /// /// /// - public static Voice6 FromCustom(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? value) => new Voice6(value); + public static Voice6 FromCustom(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? value) => new Voice6(value); /// /// /// public Voice6( - global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType? type, - global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, - global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? custom + global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType? type, + global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, + global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? custom ) { Type = type; @@ -176,8 +176,8 @@ public bool Validate() /// /// public TResult? Match( - global::System.Func? runwayLivePreset = null, - global::System.Func? custom = null, + global::System.Func? runwayLivePreset = null, + global::System.Func? custom = null, bool validate = true) { if (validate) @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? runwayLivePreset = null, + global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? runwayLivePreset = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { RunwayLivePreset, - typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse), + typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse), Custom, - typeof(global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse), + typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(Voice6 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) + global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) ; } diff --git a/src/libs/Runway/Generated/Runway.Models.Voice7.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice7.g.cs index 6fdfd1ef..98176338 100644 --- a/src/libs/Runway/Generated/Runway.Models.Voice7.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.Voice7.g.cs @@ -12,15 +12,15 @@ namespace Runway /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType? Type { get; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType? Type { get; } /// /// A preset voice from the Runway API. /// #if NET6_0_OR_GREATER - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } #else - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickRunwayLivePreset( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) + out global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) { value = RunwayLivePreset; return IsRunwayLivePreset; @@ -47,7 +47,7 @@ public bool TryPickRunwayLivePreset( /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset ? RunwayLivePreset! : throw new global::System.InvalidOperationException($"Expected union variant 'RunwayLivePreset' but the value was {ToString()}."); @@ -55,9 +55,9 @@ public bool TryPickRunwayLivePreset( /// A custom voice created via the Voices API. /// #if NET6_0_OR_GREATER - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? Custom { get; init; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? Custom { get; init; } #else - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? Custom { get; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? Custom { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickCustom( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? value) + out global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? value) { value = Custom; return IsCustom; @@ -84,23 +84,23 @@ public bool TryPickCustom( /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse PickCustom() => IsCustom + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse PickCustom() => IsCustom ? Custom! : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); /// /// /// - public static implicit operator Voice7(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse value) => new Voice7((global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse?)value); + public static implicit operator Voice7(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse value) => new Voice7((global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse?(Voice7 @this) => @this.RunwayLivePreset; + public static implicit operator global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse?(Voice7 @this) => @this.RunwayLivePreset; /// /// /// - public Voice7(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) + public Voice7(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) { RunwayLivePreset = value; } @@ -108,22 +108,22 @@ public Voice7(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLiv /// /// /// - public static Voice7 FromRunwayLivePreset(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) => new Voice7(value); + public static Voice7 FromRunwayLivePreset(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) => new Voice7(value); /// /// /// - public static implicit operator Voice7(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse value) => new Voice7((global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse?)value); + public static implicit operator Voice7(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse value) => new Voice7((global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse?(Voice7 @this) => @this.Custom; + public static implicit operator global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse?(Voice7 @this) => @this.Custom; /// /// /// - public Voice7(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? value) + public Voice7(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? value) { Custom = value; } @@ -131,15 +131,15 @@ public Voice7(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoi /// /// /// - public static Voice7 FromCustom(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? value) => new Voice7(value); + public static Voice7 FromCustom(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? value) => new Voice7(value); /// /// /// public Voice7( - global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType? type, - global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, - global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? custom + global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType? type, + global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, + global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? custom ) { Type = type; @@ -176,8 +176,8 @@ public bool Validate() /// /// public TResult? Match( - global::System.Func? runwayLivePreset = null, - global::System.Func? custom = null, + global::System.Func? runwayLivePreset = null, + global::System.Func? custom = null, bool validate = true) { if (validate) @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? runwayLivePreset = null, + global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? runwayLivePreset = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { RunwayLivePreset, - typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse), + typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse), Custom, - typeof(global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse), + typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(Voice7 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) + global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) ; } diff --git a/src/libs/Runway/Generated/Runway.Models.Voice8.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice8.g.cs index 24a2e5b1..c0bbce1d 100644 --- a/src/libs/Runway/Generated/Runway.Models.Voice8.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.Voice8.g.cs @@ -12,15 +12,15 @@ namespace Runway /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType? Type { get; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type { get; } /// /// A preset voice from the Runway API. /// #if NET6_0_OR_GREATER - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } #else - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickRunwayLivePreset( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) + out global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) { value = RunwayLivePreset; return IsRunwayLivePreset; @@ -47,7 +47,7 @@ public bool TryPickRunwayLivePreset( /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset ? RunwayLivePreset! : throw new global::System.InvalidOperationException($"Expected union variant 'RunwayLivePreset' but the value was {ToString()}."); @@ -55,9 +55,9 @@ public bool TryPickRunwayLivePreset( /// A custom voice created via the Voices API. /// #if NET6_0_OR_GREATER - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? Custom { get; init; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Custom { get; init; } #else - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? Custom { get; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Custom { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickCustom( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? value) + out global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) { value = Custom; return IsCustom; @@ -84,23 +84,23 @@ public bool TryPickCustom( /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse PickCustom() => IsCustom + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse PickCustom() => IsCustom ? Custom! : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); /// /// /// - public static implicit operator Voice8(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse value) => new Voice8((global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse?)value); + public static implicit operator Voice8(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse value) => new Voice8((global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse?(Voice8 @this) => @this.RunwayLivePreset; + public static implicit operator global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse?(Voice8 @this) => @this.RunwayLivePreset; /// /// /// - public Voice8(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) + public Voice8(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) { RunwayLivePreset = value; } @@ -108,22 +108,22 @@ public Voice8(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLi /// /// /// - public static Voice8 FromRunwayLivePreset(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? value) => new Voice8(value); + public static Voice8 FromRunwayLivePreset(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) => new Voice8(value); /// /// /// - public static implicit operator Voice8(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse value) => new Voice8((global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse?)value); + public static implicit operator Voice8(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse value) => new Voice8((global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse?(Voice8 @this) => @this.Custom; + public static implicit operator global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse?(Voice8 @this) => @this.Custom; /// /// /// - public Voice8(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? value) + public Voice8(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) { Custom = value; } @@ -131,15 +131,15 @@ public Voice8(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVo /// /// /// - public static Voice8 FromCustom(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? value) => new Voice8(value); + public static Voice8 FromCustom(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) => new Voice8(value); /// /// /// public Voice8( - global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType? type, - global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, - global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? custom + global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType? type, + global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, + global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? custom ) { Type = type; @@ -176,8 +176,8 @@ public bool Validate() /// /// public TResult? Match( - global::System.Func? runwayLivePreset = null, - global::System.Func? custom = null, + global::System.Func? runwayLivePreset = null, + global::System.Func? custom = null, bool validate = true) { if (validate) @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? runwayLivePreset = null, + global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? runwayLivePreset = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { RunwayLivePreset, - typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse), + typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), Custom, - typeof(global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse), + typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(Voice8 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) + global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) ; } diff --git a/src/libs/Runway/Generated/Runway.Models.Voice9.g.cs b/src/libs/Runway/Generated/Runway.Models.Voice9.g.cs index ae2a94a6..bb75a158 100644 --- a/src/libs/Runway/Generated/Runway.Models.Voice9.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.Voice9.g.cs @@ -12,15 +12,15 @@ namespace Runway /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type { get; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type { get; } /// /// A preset voice from the Runway API. /// #if NET6_0_OR_GREATER - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; init; } #else - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? RunwayLivePreset { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickRunwayLivePreset( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) + out global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) { value = RunwayLivePreset; return IsRunwayLivePreset; @@ -47,7 +47,7 @@ public bool TryPickRunwayLivePreset( /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse PickRunwayLivePreset() => IsRunwayLivePreset ? RunwayLivePreset! : throw new global::System.InvalidOperationException($"Expected union variant 'RunwayLivePreset' but the value was {ToString()}."); @@ -55,9 +55,9 @@ public bool TryPickRunwayLivePreset( /// A custom voice created via the Voices API. /// #if NET6_0_OR_GREATER - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Custom { get; init; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Custom { get; init; } #else - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Custom { get; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Custom { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickCustom( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) + out global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) { value = Custom; return IsCustom; @@ -84,23 +84,23 @@ public bool TryPickCustom( /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse PickCustom() => IsCustom + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse PickCustom() => IsCustom ? Custom! : throw new global::System.InvalidOperationException($"Expected union variant 'Custom' but the value was {ToString()}."); /// /// /// - public static implicit operator Voice9(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse value) => new Voice9((global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse?)value); + public static implicit operator Voice9(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse value) => new Voice9((global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse?(Voice9 @this) => @this.RunwayLivePreset; + public static implicit operator global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse?(Voice9 @this) => @this.RunwayLivePreset; /// /// /// - public Voice9(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) + public Voice9(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) { RunwayLivePreset = value; } @@ -108,22 +108,22 @@ public Voice9(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLiv /// /// /// - public static Voice9 FromRunwayLivePreset(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? value) => new Voice9(value); + public static Voice9 FromRunwayLivePreset(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? value) => new Voice9(value); /// /// /// - public static implicit operator Voice9(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse value) => new Voice9((global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse?)value); + public static implicit operator Voice9(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse value) => new Voice9((global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse?)value); /// /// /// - public static implicit operator global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse?(Voice9 @this) => @this.Custom; + public static implicit operator global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse?(Voice9 @this) => @this.Custom; /// /// /// - public Voice9(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) + public Voice9(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) { Custom = value; } @@ -131,15 +131,15 @@ public Voice9(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoi /// /// /// - public static Voice9 FromCustom(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? value) => new Voice9(value); + public static Voice9 FromCustom(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? value) => new Voice9(value); /// /// /// public Voice9( - global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType? type, - global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, - global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? custom + global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType? type, + global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? runwayLivePreset, + global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? custom ) { Type = type; @@ -176,8 +176,8 @@ public bool Validate() /// /// public TResult? Match( - global::System.Func? runwayLivePreset = null, - global::System.Func? custom = null, + global::System.Func? runwayLivePreset = null, + global::System.Func? custom = null, bool validate = true) { if (validate) @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? runwayLivePreset = null, + global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? runwayLivePreset = null, - global::System.Action? custom = null, + global::System.Action? runwayLivePreset = null, + global::System.Action? custom = null, bool validate = true) { if (validate) @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { RunwayLivePreset, - typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse), + typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse), Custom, - typeof(global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse), + typeof(global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(Voice9 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) + global::System.Collections.Generic.EqualityComparer.Default.Equals(RunwayLivePreset, other.RunwayLivePreset) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Custom, other.Custom) ; } diff --git a/src/libs/Runway/openapi.json b/src/libs/Runway/openapi.json index 4c149ef3..531c0981 100644 --- a/src/libs/Runway/openapi.json +++ b/src/libs/Runway/openapi.json @@ -12851,44 +12851,6 @@ "voice": { "description": "The voice to use for text-to-speech generation. If omitted, a default voice is used.", "oneOf": [ - { - "title": "SeedPresetVoice", - "description": "A preset voice for Seed Audio text-to-speech.", - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "seed-preset" - }, - "presetId": { - "description": "A Seed Audio preset voice id.", - "type": "string", - "enum": [ - "vivi_mixed_en_zh_ja_es_id", - "mindy_en_es_id_pt_zh", - "kian_en_zh", - "cedric_en_zh", - "sophie_en_zh", - "jean_en_zh", - "magnus_en_zh", - "mabel_en_zh", - "nadia_en_zh", - "opal_en_zh", - "pearl_en_zh", - "quentin_en_zh", - "corinne_mixed_en_zh", - "esther_mixed_en_zh", - "lyla_mixed_en_zh", - "tracy_es_zh", - "sandy_es_mixed_en_zh", - "felix_zh", - "celeste_zh", - "monkey_king_zh" - ] - } - }, - "required": ["type", "presetId"] - }, { "title": "SeedReferenceVoice", "description": "Clone from a single reference audio clip, then speak promptText in that voice.", @@ -13705,10 +13667,6 @@ "type": "string", "pattern": "^[a-z][a-z0-9_-]{0,63}$" }, - "dryRun": { - "description": "When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced.", - "type": "boolean" - }, "input": { "title": "UniversalVideoInput", "description": "Model-agnostic video generation input. Fields are optional; the router selects a model and maps these options to it.", @@ -14040,229 +13998,118 @@ }, "responses": { "200": { - "description": "The routing decision. Includes a task `id` for real requests; dry runs return the decision only.", + "description": "The created task and routing decision. Poll GET /v1/tasks/:id for the result.", "content": { "application/json": { "schema": { - "oneOf": [ - { - "title": "RoutedVideoTaskCreated", + "title": "RoutedVideoTaskCreated", + "type": "object", + "properties": { + "id": { + "description": "The ID of the created task. Poll GET /v1/tasks/:id for the result.", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$" + }, + "routing": { + "description": "Metadata describing which model the router selected and why.", "type": "object", "properties": { - "dryRun": { "type": "boolean", "const": false }, - "id": { - "description": "The ID of the created task. Poll GET /v1/tasks/:id for the result.", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$" + "model": { + "description": "The public name of the model the router selected.", + "type": "string" + }, + "provider": { + "description": "The provider of the selected model.", + "type": "string" }, - "routing": { - "description": "Metadata describing which model the router selected and why.", + "configId": { + "description": "The slug of the router config that was applied to this request.", + "type": "string" + }, + "resolvedSettings": { + "description": "The resolved config settings the router used for this request.", "type": "object", "properties": { - "model": { - "description": "The public name of the model the router selected.", - "type": "string" - }, - "provider": { - "description": "The provider of the selected model.", - "type": "string" - }, - "configId": { - "description": "The slug of the router config that was applied to this request.", - "type": "string" - }, - "resolvedSettings": { - "description": "The resolved config settings the router used for this request.", - "type": "object", - "properties": { - "optimizeFor": { - "description": "The single optimization preference the config selected, used as the soft weighting when scoring eligible models.", - "type": "string", - "enum": ["cost", "latency", "quality"] - }, - "priceCeiling": { - "description": "The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling.", - "anyOf": [ - { "type": "number" }, - { "type": "null" } - ] - } - }, - "required": ["optimizeFor", "priceCeiling"], - "additionalProperties": false - }, - "resolvedInput": { - "description": "Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options.", - "type": "object", - "properties": { - "duration": { - "description": "Duration in seconds used for routing display (request value or router default).", - "type": "number" - }, - "ratio": { - "description": "Concrete output ratio derived from aspectRatio (e.g. \"1280:720\"), or the router default.", - "type": "string" - }, - "resolution": { - "description": "Resolution tier from the request, or the router default when omitted.", - "type": "string" - } - }, - "required": ["duration", "ratio", "resolution"], - "additionalProperties": false - }, - "estimatedCost": { - "description": "Estimated cost, computed against current pricing.", - "type": "object", - "properties": { - "credits": { - "description": "Estimated cost of the generation in credits.", - "type": "number" - } - }, - "required": ["credits"], - "additionalProperties": false + "optimizeFor": { + "description": "The single optimization preference the config selected, used as the soft weighting when scoring eligible models.", + "type": "string", + "enum": ["cost", "latency", "quality"] }, - "capacityFallback": { - "description": "Present only when the config enables fallback.onCapacity and capacity affected this request.", - "type": "object", - "properties": { - "skipped": { - "description": "Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them.", - "type": "array", - "items": { "type": "string" } - }, - "allExhausted": { - "description": "True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue.", - "type": "boolean" - } - }, - "required": ["skipped", "allExhausted"], - "additionalProperties": false + "priceCeiling": { + "description": "The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling.", + "anyOf": [ + { "type": "number" }, + { "type": "null" } + ] } }, - "required": [ - "model", - "provider", - "configId", - "resolvedSettings", - "resolvedInput", - "estimatedCost" - ], + "required": ["optimizeFor", "priceCeiling"], "additionalProperties": false - } - }, - "required": ["dryRun", "id", "routing"], - "additionalProperties": false - }, - { - "title": "RoutedVideoDryRun", - "type": "object", - "properties": { - "dryRun": { "type": "boolean", "const": true }, - "routing": { - "description": "Metadata describing which model the router selected and why.", + }, + "resolvedInput": { + "description": "Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options.", "type": "object", "properties": { - "model": { - "description": "The public name of the model the router selected.", - "type": "string" + "duration": { + "description": "Duration in seconds used for routing display (request value or router default).", + "type": "number" }, - "provider": { - "description": "The provider of the selected model.", + "ratio": { + "description": "Concrete output ratio derived from aspectRatio (e.g. \"1280:720\"), or the router default.", "type": "string" }, - "configId": { - "description": "The slug of the router config that was applied to this request.", + "resolution": { + "description": "Resolution tier from the request, or the router default when omitted.", "type": "string" + } + }, + "required": ["duration", "ratio", "resolution"], + "additionalProperties": false + }, + "estimatedCost": { + "description": "Estimated cost, computed against current pricing.", + "type": "object", + "properties": { + "credits": { + "description": "Estimated cost of the generation in credits.", + "type": "number" + } + }, + "required": ["credits"], + "additionalProperties": false + }, + "capacityFallback": { + "description": "Present only when the config enables fallback.onCapacity and capacity affected this request.", + "type": "object", + "properties": { + "skipped": { + "description": "Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them.", + "type": "array", + "items": { "type": "string" } }, - "resolvedSettings": { - "description": "The resolved config settings the router used for this request.", - "type": "object", - "properties": { - "optimizeFor": { - "description": "The single optimization preference the config selected, used as the soft weighting when scoring eligible models.", - "type": "string", - "enum": ["cost", "latency", "quality"] - }, - "priceCeiling": { - "description": "The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling.", - "anyOf": [ - { "type": "number" }, - { "type": "null" } - ] - } - }, - "required": ["optimizeFor", "priceCeiling"], - "additionalProperties": false - }, - "resolvedInput": { - "description": "Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options.", - "type": "object", - "properties": { - "duration": { - "description": "Duration in seconds used for routing display (request value or router default).", - "type": "number" - }, - "ratio": { - "description": "Concrete output ratio derived from aspectRatio (e.g. \"1280:720\"), or the router default.", - "type": "string" - }, - "resolution": { - "description": "Resolution tier from the request, or the router default when omitted.", - "type": "string" - } - }, - "required": ["duration", "ratio", "resolution"], - "additionalProperties": false - }, - "estimatedCost": { - "description": "Estimated cost, computed against current pricing.", - "type": "object", - "properties": { - "credits": { - "description": "Estimated cost of the generation in credits.", - "type": "number" - } - }, - "required": ["credits"], - "additionalProperties": false - }, - "capacityFallback": { - "description": "Present only when the config enables fallback.onCapacity and capacity affected this request.", - "type": "object", - "properties": { - "skipped": { - "description": "Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them.", - "type": "array", - "items": { "type": "string" } - }, - "allExhausted": { - "description": "True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue.", - "type": "boolean" - } - }, - "required": ["skipped", "allExhausted"], - "additionalProperties": false + "allExhausted": { + "description": "True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue.", + "type": "boolean" } }, - "required": [ - "model", - "provider", - "configId", - "resolvedSettings", - "resolvedInput", - "estimatedCost" - ], + "required": ["skipped", "allExhausted"], "additionalProperties": false } }, - "required": ["dryRun", "routing"], + "required": [ + "model", + "provider", + "configId", + "resolvedSettings", + "resolvedInput", + "estimatedCost" + ], "additionalProperties": false } - ], - "discriminator": { "propertyName": "dryRun" } + }, + "required": ["id", "routing"], + "additionalProperties": false } } } @@ -14274,7 +14121,7 @@ "schema": { "anyOf": [ { - "description": "No model satisfies the config and request together. Returned identically for real and dry-run requests.", + "description": "No model satisfies the config and request together. ", "type": "object", "properties": { "error": { "type": "string" }, @@ -14408,10 +14255,6 @@ "type": "string", "pattern": "^[a-z][a-z0-9_-]{0,63}$" }, - "dryRun": { - "description": "When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced.", - "type": "boolean" - }, "input": { "title": "UniversalImageInput", "description": "Model-agnostic image generation input. The router selects a model and maps these options to it.", @@ -14524,237 +14367,118 @@ }, "responses": { "200": { - "description": "The routing decision. Includes a task `id` for real requests; dry runs return the decision only.", + "description": "The created task and routing decision. Poll GET /v1/tasks/:id for the result.", "content": { "application/json": { "schema": { - "oneOf": [ - { - "title": "RoutedImageTaskCreated", + "title": "RoutedImageTaskCreated", + "type": "object", + "properties": { + "id": { + "description": "The ID of the created task. Poll GET /v1/tasks/:id for the result.", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$" + }, + "routing": { + "description": "Metadata describing which model the router selected and why.", "type": "object", "properties": { - "dryRun": { "type": "boolean", "const": false }, - "id": { - "description": "The ID of the created task. Poll GET /v1/tasks/:id for the result.", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$" + "model": { + "description": "The public name of the model the router selected.", + "type": "string" + }, + "provider": { + "description": "The provider of the selected model.", + "type": "string" }, - "routing": { - "description": "Metadata describing which model the router selected and why.", + "configId": { + "description": "The slug of the router config that was applied to this request.", + "type": "string" + }, + "resolvedSettings": { + "description": "The resolved config settings the router used for this request.", "type": "object", "properties": { - "model": { - "description": "The public name of the model the router selected.", - "type": "string" - }, - "provider": { - "description": "The provider of the selected model.", - "type": "string" - }, - "configId": { - "description": "The slug of the router config that was applied to this request.", - "type": "string" - }, - "resolvedSettings": { - "description": "The resolved config settings the router used for this request.", - "type": "object", - "properties": { - "optimizeFor": { - "description": "The single optimization preference the config selected, used as the soft weighting when scoring eligible models.", - "type": "string", - "enum": ["cost", "latency", "quality"] - }, - "priceCeiling": { - "description": "The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling.", - "anyOf": [ - { "type": "number" }, - { "type": "null" } - ] - } - }, - "required": ["optimizeFor", "priceCeiling"], - "additionalProperties": false - }, - "resolvedInput": { - "description": "Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options.", - "type": "object", - "properties": { - "ratio": { - "description": "Concrete output ratio derived from aspectRatio and resolution for the selected model.", - "type": "string" - }, - "aspectRatio": { - "description": "Aspect ratio used for routing display.", - "type": "string" - }, - "resolution": { - "description": "Megapixel tier used for routing display.", - "type": "string" - } - }, - "required": [ - "ratio", - "aspectRatio", - "resolution" - ], - "additionalProperties": false - }, - "estimatedCost": { - "description": "Estimated cost, computed against current pricing.", - "type": "object", - "properties": { - "credits": { - "description": "Estimated cost of the generation in credits.", - "type": "number" - } - }, - "required": ["credits"], - "additionalProperties": false + "optimizeFor": { + "description": "The single optimization preference the config selected, used as the soft weighting when scoring eligible models.", + "type": "string", + "enum": ["cost", "latency", "quality"] }, - "capacityFallback": { - "description": "Present only when the config enables fallback.onCapacity and capacity affected this request.", - "type": "object", - "properties": { - "skipped": { - "description": "Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them.", - "type": "array", - "items": { "type": "string" } - }, - "allExhausted": { - "description": "True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue.", - "type": "boolean" - } - }, - "required": ["skipped", "allExhausted"], - "additionalProperties": false + "priceCeiling": { + "description": "The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling.", + "anyOf": [ + { "type": "number" }, + { "type": "null" } + ] } }, - "required": [ - "model", - "provider", - "configId", - "resolvedSettings", - "resolvedInput", - "estimatedCost" - ], + "required": ["optimizeFor", "priceCeiling"], "additionalProperties": false - } - }, - "required": ["dryRun", "id", "routing"], - "additionalProperties": false - }, - { - "title": "RoutedImageDryRun", - "type": "object", - "properties": { - "dryRun": { "type": "boolean", "const": true }, - "routing": { - "description": "Metadata describing which model the router selected and why.", + }, + "resolvedInput": { + "description": "Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options.", "type": "object", "properties": { - "model": { - "description": "The public name of the model the router selected.", + "ratio": { + "description": "Concrete output ratio derived from aspectRatio and resolution for the selected model.", "type": "string" }, - "provider": { - "description": "The provider of the selected model.", + "aspectRatio": { + "description": "Aspect ratio used for routing display.", "type": "string" }, - "configId": { - "description": "The slug of the router config that was applied to this request.", + "resolution": { + "description": "Megapixel tier used for routing display.", "type": "string" + } + }, + "required": ["ratio", "aspectRatio", "resolution"], + "additionalProperties": false + }, + "estimatedCost": { + "description": "Estimated cost, computed against current pricing.", + "type": "object", + "properties": { + "credits": { + "description": "Estimated cost of the generation in credits.", + "type": "number" + } + }, + "required": ["credits"], + "additionalProperties": false + }, + "capacityFallback": { + "description": "Present only when the config enables fallback.onCapacity and capacity affected this request.", + "type": "object", + "properties": { + "skipped": { + "description": "Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them.", + "type": "array", + "items": { "type": "string" } }, - "resolvedSettings": { - "description": "The resolved config settings the router used for this request.", - "type": "object", - "properties": { - "optimizeFor": { - "description": "The single optimization preference the config selected, used as the soft weighting when scoring eligible models.", - "type": "string", - "enum": ["cost", "latency", "quality"] - }, - "priceCeiling": { - "description": "The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling.", - "anyOf": [ - { "type": "number" }, - { "type": "null" } - ] - } - }, - "required": ["optimizeFor", "priceCeiling"], - "additionalProperties": false - }, - "resolvedInput": { - "description": "Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options.", - "type": "object", - "properties": { - "ratio": { - "description": "Concrete output ratio derived from aspectRatio and resolution for the selected model.", - "type": "string" - }, - "aspectRatio": { - "description": "Aspect ratio used for routing display.", - "type": "string" - }, - "resolution": { - "description": "Megapixel tier used for routing display.", - "type": "string" - } - }, - "required": [ - "ratio", - "aspectRatio", - "resolution" - ], - "additionalProperties": false - }, - "estimatedCost": { - "description": "Estimated cost, computed against current pricing.", - "type": "object", - "properties": { - "credits": { - "description": "Estimated cost of the generation in credits.", - "type": "number" - } - }, - "required": ["credits"], - "additionalProperties": false - }, - "capacityFallback": { - "description": "Present only when the config enables fallback.onCapacity and capacity affected this request.", - "type": "object", - "properties": { - "skipped": { - "description": "Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them.", - "type": "array", - "items": { "type": "string" } - }, - "allExhausted": { - "description": "True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue.", - "type": "boolean" - } - }, - "required": ["skipped", "allExhausted"], - "additionalProperties": false + "allExhausted": { + "description": "True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue.", + "type": "boolean" } }, - "required": [ - "model", - "provider", - "configId", - "resolvedSettings", - "resolvedInput", - "estimatedCost" - ], + "required": ["skipped", "allExhausted"], "additionalProperties": false } }, - "required": ["dryRun", "routing"], + "required": [ + "model", + "provider", + "configId", + "resolvedSettings", + "resolvedInput", + "estimatedCost" + ], "additionalProperties": false } - ], - "discriminator": { "propertyName": "dryRun" } + }, + "required": ["id", "routing"], + "additionalProperties": false } } } @@ -14766,7 +14490,7 @@ "schema": { "anyOf": [ { - "description": "No model satisfies the config and request together. Returned identically for real and dry-run requests.", + "description": "No model satisfies the config and request together. ", "type": "object", "properties": { "error": { "type": "string" }, @@ -14900,10 +14624,6 @@ "type": "string", "pattern": "^[a-z][a-z0-9_-]{0,63}$" }, - "dryRun": { - "description": "When true, run the full routing pipeline and return the decision and estimated cost without generating. No task is created, nothing is billed, and no asset is produced.", - "type": "boolean" - }, "input": { "title": "UniversalAudioInput", "description": "Model-agnostic audio generation input. The router selects a model and maps these options to it.", @@ -15102,235 +14822,121 @@ }, "responses": { "200": { - "description": "The routing decision. Includes a task `id` for real requests; dry runs return the decision only.", + "description": "The created task and routing decision. Poll GET /v1/tasks/:id for the result.", "content": { "application/json": { "schema": { - "oneOf": [ - { - "title": "RoutedAudioTaskCreated", + "title": "RoutedAudioTaskCreated", + "type": "object", + "properties": { + "id": { + "description": "The ID of the created task. Poll GET /v1/tasks/:id for the result.", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$" + }, + "routing": { + "description": "Metadata describing which model the router selected and why.", "type": "object", "properties": { - "dryRun": { "type": "boolean", "const": false }, - "id": { - "description": "The ID of the created task. Poll GET /v1/tasks/:id for the result.", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$" + "model": { + "description": "The public name of the model the router selected.", + "type": "string" + }, + "provider": { + "description": "The provider of the selected model.", + "type": "string" }, - "routing": { - "description": "Metadata describing which model the router selected and why.", + "configId": { + "description": "The slug of the router config that was applied to this request.", + "type": "string" + }, + "resolvedSettings": { + "description": "The resolved config settings the router used for this request.", "type": "object", "properties": { - "model": { - "description": "The public name of the model the router selected.", - "type": "string" - }, - "provider": { - "description": "The provider of the selected model.", - "type": "string" - }, - "configId": { - "description": "The slug of the router config that was applied to this request.", - "type": "string" - }, - "resolvedSettings": { - "description": "The resolved config settings the router used for this request.", - "type": "object", - "properties": { - "optimizeFor": { - "description": "The single optimization preference the config selected, used as the soft weighting when scoring eligible models.", - "type": "string", - "enum": ["cost", "latency", "quality"] - }, - "priceCeiling": { - "description": "The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling.", - "anyOf": [ - { "type": "number" }, - { "type": "null" } - ] - } - }, - "required": ["optimizeFor", "priceCeiling"], - "additionalProperties": false - }, - "resolvedInput": { - "description": "Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options.", - "type": "object", - "properties": { - "type": { - "description": "The prompt mode the router routed for.", - "type": "string", - "enum": ["speech", "audio"] - }, - "voice": { - "description": "How the selected model resolves the voice: the requested preset or reference-audio clone, the model default for voiceless speech, or none for general audio.", - "type": "string", - "enum": [ - "preset", - "reference-audio", - "default", - "none" - ] - } - }, - "required": ["type", "voice"], - "additionalProperties": false - }, - "estimatedCost": { - "description": "Estimated cost, computed against current pricing.", - "type": "object", - "properties": { - "credits": { - "description": "Estimated cost of the generation in credits.", - "type": "number" - } - }, - "required": ["credits"], - "additionalProperties": false + "optimizeFor": { + "description": "The single optimization preference the config selected, used as the soft weighting when scoring eligible models.", + "type": "string", + "enum": ["cost", "latency", "quality"] }, - "capacityFallback": { - "description": "Present only when the config enables fallback.onCapacity and capacity affected this request.", - "type": "object", - "properties": { - "skipped": { - "description": "Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them.", - "type": "array", - "items": { "type": "string" } - }, - "allExhausted": { - "description": "True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue.", - "type": "boolean" - } - }, - "required": ["skipped", "allExhausted"], - "additionalProperties": false + "priceCeiling": { + "description": "The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling.", + "anyOf": [ + { "type": "number" }, + { "type": "null" } + ] } }, - "required": [ - "model", - "provider", - "configId", - "resolvedSettings", - "resolvedInput", - "estimatedCost" - ], + "required": ["optimizeFor", "priceCeiling"], "additionalProperties": false - } - }, - "required": ["dryRun", "id", "routing"], - "additionalProperties": false - }, - { - "title": "RoutedAudioDryRun", - "type": "object", - "properties": { - "dryRun": { "type": "boolean", "const": true }, - "routing": { - "description": "Metadata describing which model the router selected and why.", + }, + "resolvedInput": { + "description": "Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options.", "type": "object", "properties": { - "model": { - "description": "The public name of the model the router selected.", - "type": "string" - }, - "provider": { - "description": "The provider of the selected model.", - "type": "string" - }, - "configId": { - "description": "The slug of the router config that was applied to this request.", - "type": "string" - }, - "resolvedSettings": { - "description": "The resolved config settings the router used for this request.", - "type": "object", - "properties": { - "optimizeFor": { - "description": "The single optimization preference the config selected, used as the soft weighting when scoring eligible models.", - "type": "string", - "enum": ["cost", "latency", "quality"] - }, - "priceCeiling": { - "description": "The applied maximum credits per generation for this request's modality, or null if the config sets no ceiling.", - "anyOf": [ - { "type": "number" }, - { "type": "null" } - ] - } - }, - "required": ["optimizeFor", "priceCeiling"], - "additionalProperties": false - }, - "resolvedInput": { - "description": "Request-side defaults resolved for the routing response. Not necessarily identical to prepared model options.", - "type": "object", - "properties": { - "type": { - "description": "The prompt mode the router routed for.", - "type": "string", - "enum": ["speech", "audio"] - }, - "voice": { - "description": "How the selected model resolves the voice: the requested preset or reference-audio clone, the model default for voiceless speech, or none for general audio.", - "type": "string", - "enum": [ - "preset", - "reference-audio", - "default", - "none" - ] - } - }, - "required": ["type", "voice"], - "additionalProperties": false + "type": { + "description": "The prompt mode the router routed for.", + "type": "string", + "enum": ["speech", "audio"] }, - "estimatedCost": { - "description": "Estimated cost, computed against current pricing.", - "type": "object", - "properties": { - "credits": { - "description": "Estimated cost of the generation in credits.", - "type": "number" - } - }, - "required": ["credits"], - "additionalProperties": false + "voice": { + "description": "How the selected model resolves the voice: the requested preset or reference-audio clone, the model default for voiceless speech, or none for general audio.", + "type": "string", + "enum": [ + "preset", + "reference-audio", + "default", + "none" + ] + } + }, + "required": ["type", "voice"], + "additionalProperties": false + }, + "estimatedCost": { + "description": "Estimated cost, computed against current pricing.", + "type": "object", + "properties": { + "credits": { + "description": "Estimated cost of the generation in credits.", + "type": "number" + } + }, + "required": ["credits"], + "additionalProperties": false + }, + "capacityFallback": { + "description": "Present only when the config enables fallback.onCapacity and capacity affected this request.", + "type": "object", + "properties": { + "skipped": { + "description": "Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them.", + "type": "array", + "items": { "type": "string" } }, - "capacityFallback": { - "description": "Present only when the config enables fallback.onCapacity and capacity affected this request.", - "type": "object", - "properties": { - "skipped": { - "description": "Eligible models that were considered for this request but not selected because this account is at its concurrency limit for them.", - "type": "array", - "items": { "type": "string" } - }, - "allExhausted": { - "description": "True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue.", - "type": "boolean" - } - }, - "required": ["skipped", "allExhausted"], - "additionalProperties": false + "allExhausted": { + "description": "True when every eligible model was at its concurrency limit, so the best-ranked model was used and the task will queue.", + "type": "boolean" } }, - "required": [ - "model", - "provider", - "configId", - "resolvedSettings", - "resolvedInput", - "estimatedCost" - ], + "required": ["skipped", "allExhausted"], "additionalProperties": false } }, - "required": ["dryRun", "routing"], + "required": [ + "model", + "provider", + "configId", + "resolvedSettings", + "resolvedInput", + "estimatedCost" + ], "additionalProperties": false } - ], - "discriminator": { "propertyName": "dryRun" } + }, + "required": ["id", "routing"], + "additionalProperties": false } } } @@ -15342,7 +14948,7 @@ "schema": { "anyOf": [ { - "description": "No model satisfies the config and request together. Returned identically for real and dry-run requests.", + "description": "No model satisfies the config and request together. ", "type": "object", "properties": { "error": { "type": "string" },