diff --git a/src/libs/Descript/Generated/Descript.JsonConverters.OneOf2.g.cs b/src/libs/Descript/Generated/Descript.JsonConverters.OneOf2.g.cs index fc604c8..6f083b8 100644 --- a/src/libs/Descript/Generated/Descript.JsonConverters.OneOf2.g.cs +++ b/src/libs/Descript/Generated/Descript.JsonConverters.OneOf2.g.cs @@ -3,7 +3,7 @@ namespace Descript.JsonConverters { /// - public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> + public class OneOfJsonConverter<[global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] T1, [global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] T2> : global::System.Text.Json.Serialization.JsonConverter> { /// public override global::Descript.OneOf Read( diff --git a/src/libs/Descript/Generated/Descript.JsonSerializerContextTypes.g.cs b/src/libs/Descript/Generated/Descript.JsonSerializerContextTypes.g.cs index feb520f..f62f2b7 100644 --- a/src/libs/Descript/Generated/Descript.JsonSerializerContextTypes.g.cs +++ b/src/libs/Descript/Generated/Descript.JsonSerializerContextTypes.g.cs @@ -288,83 +288,79 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.Dictionary>? Type65 { get; set; } + public global::Descript.OneOf? Type65 { get; set; } /// /// /// - public global::Descript.OneOf? Type66 { get; set; } + public global::Descript.ImportProjectMediaRequestAddMediaUrlImport? Type66 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaRequestAddMediaUrlImport? Type67 { get; set; } + public global::Descript.ImportProjectMediaRequestAddMediaMultitrackSequence? Type67 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaRequestAddMediaMultitrackSequence? Type68 { get; set; } + public global::System.Collections.Generic.IList? Type68 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type69 { get; set; } + public global::Descript.ImportProjectMediaRequestAddMediaMultitrackSequenceTrack? Type69 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaRequestAddMediaMultitrackSequenceTrack? Type70 { get; set; } + public global::System.Collections.Generic.IList? Type70 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type71 { get; set; } + public global::Descript.ImportProjectMediaRequestAddComposition? Type71 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaRequestAddComposition? Type72 { get; set; } + public global::System.Collections.Generic.IList? Type72 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type73 { get; set; } + public global::Descript.ImportProjectMediaRequestAddCompositionClip? Type73 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaRequestAddCompositionClip? Type74 { get; set; } + public global::Descript.AgentEditJobRequest? Type74 { get; set; } /// /// /// - public global::Descript.AgentEditJobRequest? Type75 { get; set; } + public global::Descript.AgentEditJobRequestTeamAccess? Type75 { get; set; } /// /// /// - public global::Descript.AgentEditJobRequestTeamAccess? Type76 { get; set; } + public global::Descript.ListJobsType? Type76 { get; set; } /// /// /// - public global::Descript.ListJobsType? Type77 { get; set; } + public global::Descript.ImportProjectMediaResponse? Type77 { get; set; } /// /// /// - public global::Descript.ImportProjectMediaResponse? Type78 { get; set; } + public global::Descript.AgentEditJobResponse? Type78 { get; set; } /// /// /// - public global::Descript.AgentEditJobResponse? Type79 { get; set; } + public global::Descript.ListJobsResponse? Type79 { get; set; } /// /// /// - public global::Descript.ListJobsResponse? Type80 { get; set; } + public global::System.Collections.Generic.IList? Type80 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type81 { get; set; } + public global::Descript.ListJobsResponsePagination? Type81 { get; set; } /// /// /// - public global::Descript.ListJobsResponsePagination? Type82 { get; set; } + public global::Descript.GetStatusResponse? Type82 { get; set; } /// /// /// - public global::Descript.GetStatusResponse? Type83 { get; set; } - /// - /// - /// - public global::Descript.GetStatusResponseStatus? Type84 { get; set; } + public global::Descript.GetStatusResponseStatus? Type83 { get; set; } /// /// diff --git a/src/libs/Descript/Generated/Descript.Polyfills.g.cs b/src/libs/Descript/Generated/Descript.Polyfills.g.cs index 773fb40..ce0786b 100644 --- a/src/libs/Descript/Generated/Descript.Polyfills.g.cs +++ b/src/libs/Descript/Generated/Descript.Polyfills.g.cs @@ -53,6 +53,10 @@ public static partial class AutoSdkPolyfills /// /// Creates a JSON request content instance. /// +#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.Net.Http.HttpContent CreateJsonContent( T inputValue, string mediaType, @@ -124,6 +128,10 @@ public static partial class AutoSdkPolyfills /// /// Reads JSON content into the specified type using serializer options. /// +#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 async global::System.Threading.Tasks.Task ReadFromJsonAsync( this global::System.Net.Http.HttpContent content, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions,