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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ public class AgentsPostRequestBodyContentApplicationJsonSchemaDynamicVariablesJs
catch (global::System.InvalidOperationException)
{
}
}

if (agentsPostRequestBodyContentApplicationJsonSchemaDynamicVariablesVariant1 == null && agentsPostRequestBodyContentApplicationJsonSchemaDynamicVariablesVariant2 == null && agentsPostRequestBodyContentApplicationJsonSchemaDynamicVariablesVariant3 == null)
{
try
{

Expand All @@ -152,7 +155,10 @@ public class AgentsPostRequestBodyContentApplicationJsonSchemaDynamicVariablesJs
catch (global::System.InvalidOperationException)
{
}
}

if (agentsPostRequestBodyContentApplicationJsonSchemaDynamicVariablesVariant1 == null && agentsPostRequestBodyContentApplicationJsonSchemaDynamicVariablesVariant2 == null && agentsPostRequestBodyContentApplicationJsonSchemaDynamicVariablesVariant3 == null)
{
try
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public class DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDesc
{
try
{

var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<string> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}");
detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
Expand All @@ -114,9 +115,13 @@ public class DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDesc
catch (global::System.InvalidOperationException)
{
}
}

if (detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 == null && detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 == null)
{
try
{

var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1).Name}");
detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceD
{
try
{

var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<string> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}");
detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
Expand All @@ -114,9 +115,13 @@ public class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceD
catch (global::System.InvalidOperationException)
{
}
}

if (detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 == null && detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 == null)
{
try
{

var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1).Name}");
detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ public class OneOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
catch (global::System.InvalidOperationException)
{
}
}

if (value1 == null && value2 == null)
{
try
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ public class WatermarkDetectUuidResultGetResponsesContentApplicationJsonSchemaIt
catch (global::System.InvalidOperationException)
{
}
}

if (watermarkDetectUuidResultGetResponsesContentApplicationJsonSchemaItemMetricsHasWatermarkVariant1 == null && watermarkDetectUuidResultGetResponsesContentApplicationJsonSchemaItemMetricsHasWatermarkVariant2 == null)
{
try
{

Expand Down