diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.FlatPricePerMonthActorPricingInfo.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.FlatPricePerMonthActorPricingInfo.g.cs index 3a9fc10..c12d9b9 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.FlatPricePerMonthActorPricingInfo.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.FlatPricePerMonthActorPricingInfo.g.cs @@ -43,7 +43,7 @@ public class FlatPricePerMonthActorPricingInfoJsonConverter : global::System.Tex if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.CommonActorPricingInfo? commonActorPricingInfo = default; - global::Apify.FlatPricePerMonthActorPricingInfoVariant2? value2 = default; + global::Apify.FlatPricePerMonthActorPricingInfoVariant2? flatPricePerMonthActorPricingInfoVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -67,7 +67,7 @@ public class FlatPricePerMonthActorPricingInfoJsonConverter : global::System.Tex { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.FlatPricePerMonthActorPricingInfoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.FlatPricePerMonthActorPricingInfoVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + flatPricePerMonthActorPricingInfoVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -78,7 +78,7 @@ public class FlatPricePerMonthActorPricingInfoJsonConverter : global::System.Tex } } - if (commonActorPricingInfo == null && value2 == null) + if (commonActorPricingInfo == null && flatPricePerMonthActorPricingInfoVariant2 == null) { try { @@ -97,7 +97,7 @@ public class FlatPricePerMonthActorPricingInfoJsonConverter : global::System.Tex { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.FlatPricePerMonthActorPricingInfoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.FlatPricePerMonthActorPricingInfoVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + flatPricePerMonthActorPricingInfoVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -110,7 +110,7 @@ public class FlatPricePerMonthActorPricingInfoJsonConverter : global::System.Tex var __value = new global::Apify.FlatPricePerMonthActorPricingInfo( commonActorPricingInfo, - value2 + flatPricePerMonthActorPricingInfoVariant2 ); return __value; @@ -131,11 +131,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.CommonActorPricingInfo).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.CommonActorPricingInfo!, typeInfo); } - else if (value.IsValue2) + else if (value.IsFlatPricePerMonthActorPricingInfoVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.FlatPricePerMonthActorPricingInfoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.FlatPricePerMonthActorPricingInfoVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.FlatPricePerMonthActorPricingInfoVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.FreeActorPricingInfo.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.FreeActorPricingInfo.g.cs index 3a22df1..8f68ff8 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.FreeActorPricingInfo.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.FreeActorPricingInfo.g.cs @@ -41,7 +41,7 @@ public class FreeActorPricingInfoJsonConverter : global::System.Text.Json.Serial if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.CommonActorPricingInfo? commonActorPricingInfo = default; - global::Apify.FreeActorPricingInfoVariant2? value2 = default; + global::Apify.FreeActorPricingInfoVariant2? freeActorPricingInfoVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -65,7 +65,7 @@ public class FreeActorPricingInfoJsonConverter : global::System.Text.Json.Serial { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.FreeActorPricingInfoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.FreeActorPricingInfoVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + freeActorPricingInfoVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -76,7 +76,7 @@ public class FreeActorPricingInfoJsonConverter : global::System.Text.Json.Serial } } - if (commonActorPricingInfo == null && value2 == null) + if (commonActorPricingInfo == null && freeActorPricingInfoVariant2 == null) { try { @@ -95,7 +95,7 @@ public class FreeActorPricingInfoJsonConverter : global::System.Text.Json.Serial { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.FreeActorPricingInfoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.FreeActorPricingInfoVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + freeActorPricingInfoVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -108,7 +108,7 @@ public class FreeActorPricingInfoJsonConverter : global::System.Text.Json.Serial var __value = new global::Apify.FreeActorPricingInfo( commonActorPricingInfo, - value2 + freeActorPricingInfoVariant2 ); return __value; @@ -129,11 +129,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.CommonActorPricingInfo).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.CommonActorPricingInfo!, typeInfo); } - else if (value.IsValue2) + else if (value.IsFreeActorPricingInfoVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.FreeActorPricingInfoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.FreeActorPricingInfoVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.FreeActorPricingInfoVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfActors.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfActors.g.cs index fa8ae3d..dd5f8d3 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfActors.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfActors.g.cs @@ -40,7 +40,7 @@ public class ListOfActorsJsonConverter : global::System.Text.Json.Serialization. if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.PaginationResponse? paginationResponse = default; - global::Apify.ListOfActorsVariant2? value2 = default; + global::Apify.ListOfActorsVariant2? listOfActorsVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -64,7 +64,7 @@ public class ListOfActorsJsonConverter : global::System.Text.Json.Serialization. { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfActorsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfActorsVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfActorsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -75,7 +75,7 @@ public class ListOfActorsJsonConverter : global::System.Text.Json.Serialization. } } - if (paginationResponse == null && value2 == null) + if (paginationResponse == null && listOfActorsVariant2 == null) { try { @@ -94,7 +94,7 @@ public class ListOfActorsJsonConverter : global::System.Text.Json.Serialization. { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfActorsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfActorsVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfActorsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -107,7 +107,7 @@ public class ListOfActorsJsonConverter : global::System.Text.Json.Serialization. var __value = new global::Apify.ListOfActors( paginationResponse, - value2 + listOfActorsVariant2 ); return __value; @@ -128,11 +128,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PaginationResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo); } - else if (value.IsValue2) + else if (value.IsListOfActorsVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfActorsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfActorsVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ListOfActorsVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfBuilds.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfBuilds.g.cs index 72baf6b..a0a4453 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfBuilds.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfBuilds.g.cs @@ -40,7 +40,7 @@ public class ListOfBuildsJsonConverter : global::System.Text.Json.Serialization. if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.PaginationResponse? paginationResponse = default; - global::Apify.ListOfBuildsVariant2? value2 = default; + global::Apify.ListOfBuildsVariant2? listOfBuildsVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -64,7 +64,7 @@ public class ListOfBuildsJsonConverter : global::System.Text.Json.Serialization. { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfBuildsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfBuildsVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfBuildsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -75,7 +75,7 @@ public class ListOfBuildsJsonConverter : global::System.Text.Json.Serialization. } } - if (paginationResponse == null && value2 == null) + if (paginationResponse == null && listOfBuildsVariant2 == null) { try { @@ -94,7 +94,7 @@ public class ListOfBuildsJsonConverter : global::System.Text.Json.Serialization. { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfBuildsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfBuildsVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfBuildsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -107,7 +107,7 @@ public class ListOfBuildsJsonConverter : global::System.Text.Json.Serialization. var __value = new global::Apify.ListOfBuilds( paginationResponse, - value2 + listOfBuildsVariant2 ); return __value; @@ -128,11 +128,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PaginationResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo); } - else if (value.IsValue2) + else if (value.IsListOfBuildsVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfBuildsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfBuildsVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ListOfBuildsVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfDatasets.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfDatasets.g.cs index 13d4eb3..174a577 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfDatasets.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfDatasets.g.cs @@ -40,7 +40,7 @@ public class ListOfDatasetsJsonConverter : global::System.Text.Json.Serializatio if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.PaginationResponse? paginationResponse = default; - global::Apify.ListOfDatasetsVariant2? value2 = default; + global::Apify.ListOfDatasetsVariant2? listOfDatasetsVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -64,7 +64,7 @@ public class ListOfDatasetsJsonConverter : global::System.Text.Json.Serializatio { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfDatasetsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfDatasetsVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfDatasetsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -75,7 +75,7 @@ public class ListOfDatasetsJsonConverter : global::System.Text.Json.Serializatio } } - if (paginationResponse == null && value2 == null) + if (paginationResponse == null && listOfDatasetsVariant2 == null) { try { @@ -94,7 +94,7 @@ public class ListOfDatasetsJsonConverter : global::System.Text.Json.Serializatio { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfDatasetsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfDatasetsVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfDatasetsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -107,7 +107,7 @@ public class ListOfDatasetsJsonConverter : global::System.Text.Json.Serializatio var __value = new global::Apify.ListOfDatasets( paginationResponse, - value2 + listOfDatasetsVariant2 ); return __value; @@ -128,11 +128,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PaginationResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo); } - else if (value.IsValue2) + else if (value.IsListOfDatasetsVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfDatasetsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfDatasetsVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ListOfDatasetsVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfKeyValueStores.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfKeyValueStores.g.cs index ee6aa6c..3c4ded9 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfKeyValueStores.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfKeyValueStores.g.cs @@ -40,7 +40,7 @@ public class ListOfKeyValueStoresJsonConverter : global::System.Text.Json.Serial if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.PaginationResponse? paginationResponse = default; - global::Apify.ListOfKeyValueStoresVariant2? value2 = default; + global::Apify.ListOfKeyValueStoresVariant2? listOfKeyValueStoresVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -64,7 +64,7 @@ public class ListOfKeyValueStoresJsonConverter : global::System.Text.Json.Serial { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfKeyValueStoresVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfKeyValueStoresVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfKeyValueStoresVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -75,7 +75,7 @@ public class ListOfKeyValueStoresJsonConverter : global::System.Text.Json.Serial } } - if (paginationResponse == null && value2 == null) + if (paginationResponse == null && listOfKeyValueStoresVariant2 == null) { try { @@ -94,7 +94,7 @@ public class ListOfKeyValueStoresJsonConverter : global::System.Text.Json.Serial { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfKeyValueStoresVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfKeyValueStoresVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfKeyValueStoresVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -107,7 +107,7 @@ public class ListOfKeyValueStoresJsonConverter : global::System.Text.Json.Serial var __value = new global::Apify.ListOfKeyValueStores( paginationResponse, - value2 + listOfKeyValueStoresVariant2 ); return __value; @@ -128,11 +128,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PaginationResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo); } - else if (value.IsValue2) + else if (value.IsListOfKeyValueStoresVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfKeyValueStoresVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfKeyValueStoresVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ListOfKeyValueStoresVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfRequestQueues.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfRequestQueues.g.cs index 6bb411a..9e98708 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfRequestQueues.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfRequestQueues.g.cs @@ -40,7 +40,7 @@ public class ListOfRequestQueuesJsonConverter : global::System.Text.Json.Seriali if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.PaginationResponse? paginationResponse = default; - global::Apify.ListOfRequestQueuesVariant2? value2 = default; + global::Apify.ListOfRequestQueuesVariant2? listOfRequestQueuesVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -64,7 +64,7 @@ public class ListOfRequestQueuesJsonConverter : global::System.Text.Json.Seriali { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfRequestQueuesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfRequestQueuesVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfRequestQueuesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -75,7 +75,7 @@ public class ListOfRequestQueuesJsonConverter : global::System.Text.Json.Seriali } } - if (paginationResponse == null && value2 == null) + if (paginationResponse == null && listOfRequestQueuesVariant2 == null) { try { @@ -94,7 +94,7 @@ public class ListOfRequestQueuesJsonConverter : global::System.Text.Json.Seriali { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfRequestQueuesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfRequestQueuesVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfRequestQueuesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -107,7 +107,7 @@ public class ListOfRequestQueuesJsonConverter : global::System.Text.Json.Seriali var __value = new global::Apify.ListOfRequestQueues( paginationResponse, - value2 + listOfRequestQueuesVariant2 ); return __value; @@ -128,11 +128,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PaginationResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo); } - else if (value.IsValue2) + else if (value.IsListOfRequestQueuesVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfRequestQueuesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfRequestQueuesVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ListOfRequestQueuesVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfRuns.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfRuns.g.cs index 611252c..ce7ad36 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfRuns.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfRuns.g.cs @@ -40,7 +40,7 @@ public class ListOfRunsJsonConverter : global::System.Text.Json.Serialization.Js if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.PaginationResponse? paginationResponse = default; - global::Apify.ListOfRunsVariant2? value2 = default; + global::Apify.ListOfRunsVariant2? listOfRunsVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -64,7 +64,7 @@ public class ListOfRunsJsonConverter : global::System.Text.Json.Serialization.Js { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfRunsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfRunsVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfRunsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -75,7 +75,7 @@ public class ListOfRunsJsonConverter : global::System.Text.Json.Serialization.Js } } - if (paginationResponse == null && value2 == null) + if (paginationResponse == null && listOfRunsVariant2 == null) { try { @@ -94,7 +94,7 @@ public class ListOfRunsJsonConverter : global::System.Text.Json.Serialization.Js { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfRunsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfRunsVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfRunsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -107,7 +107,7 @@ public class ListOfRunsJsonConverter : global::System.Text.Json.Serialization.Js var __value = new global::Apify.ListOfRuns( paginationResponse, - value2 + listOfRunsVariant2 ); return __value; @@ -128,11 +128,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PaginationResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo); } - else if (value.IsValue2) + else if (value.IsListOfRunsVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfRunsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfRunsVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ListOfRunsVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfSchedules.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfSchedules.g.cs index c08e038..9e8b1f0 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfSchedules.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfSchedules.g.cs @@ -40,7 +40,7 @@ public class ListOfSchedulesJsonConverter : global::System.Text.Json.Serializati if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.PaginationResponse? paginationResponse = default; - global::Apify.ListOfSchedulesVariant2? value2 = default; + global::Apify.ListOfSchedulesVariant2? listOfSchedulesVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -64,7 +64,7 @@ public class ListOfSchedulesJsonConverter : global::System.Text.Json.Serializati { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfSchedulesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfSchedulesVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfSchedulesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -75,7 +75,7 @@ public class ListOfSchedulesJsonConverter : global::System.Text.Json.Serializati } } - if (paginationResponse == null && value2 == null) + if (paginationResponse == null && listOfSchedulesVariant2 == null) { try { @@ -94,7 +94,7 @@ public class ListOfSchedulesJsonConverter : global::System.Text.Json.Serializati { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfSchedulesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfSchedulesVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfSchedulesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -107,7 +107,7 @@ public class ListOfSchedulesJsonConverter : global::System.Text.Json.Serializati var __value = new global::Apify.ListOfSchedules( paginationResponse, - value2 + listOfSchedulesVariant2 ); return __value; @@ -128,11 +128,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PaginationResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo); } - else if (value.IsValue2) + else if (value.IsListOfSchedulesVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfSchedulesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfSchedulesVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ListOfSchedulesVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfStoreActors.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfStoreActors.g.cs index 90c1700..1016f27 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfStoreActors.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfStoreActors.g.cs @@ -40,7 +40,7 @@ public class ListOfStoreActorsJsonConverter : global::System.Text.Json.Serializa if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.PaginationResponse? paginationResponse = default; - global::Apify.ListOfStoreActorsVariant2? value2 = default; + global::Apify.ListOfStoreActorsVariant2? listOfStoreActorsVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -64,7 +64,7 @@ public class ListOfStoreActorsJsonConverter : global::System.Text.Json.Serializa { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfStoreActorsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfStoreActorsVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfStoreActorsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -75,7 +75,7 @@ public class ListOfStoreActorsJsonConverter : global::System.Text.Json.Serializa } } - if (paginationResponse == null && value2 == null) + if (paginationResponse == null && listOfStoreActorsVariant2 == null) { try { @@ -94,7 +94,7 @@ public class ListOfStoreActorsJsonConverter : global::System.Text.Json.Serializa { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfStoreActorsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfStoreActorsVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfStoreActorsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -107,7 +107,7 @@ public class ListOfStoreActorsJsonConverter : global::System.Text.Json.Serializa var __value = new global::Apify.ListOfStoreActors( paginationResponse, - value2 + listOfStoreActorsVariant2 ); return __value; @@ -128,11 +128,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PaginationResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo); } - else if (value.IsValue2) + else if (value.IsListOfStoreActorsVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfStoreActorsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfStoreActorsVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ListOfStoreActorsVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfTasks.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfTasks.g.cs index d9e72d5..e16925b 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfTasks.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfTasks.g.cs @@ -40,7 +40,7 @@ public class ListOfTasksJsonConverter : global::System.Text.Json.Serialization.J if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.PaginationResponse? paginationResponse = default; - global::Apify.ListOfTasksVariant2? value2 = default; + global::Apify.ListOfTasksVariant2? listOfTasksVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -64,7 +64,7 @@ public class ListOfTasksJsonConverter : global::System.Text.Json.Serialization.J { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfTasksVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfTasksVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfTasksVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -75,7 +75,7 @@ public class ListOfTasksJsonConverter : global::System.Text.Json.Serialization.J } } - if (paginationResponse == null && value2 == null) + if (paginationResponse == null && listOfTasksVariant2 == null) { try { @@ -94,7 +94,7 @@ public class ListOfTasksJsonConverter : global::System.Text.Json.Serialization.J { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfTasksVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfTasksVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfTasksVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -107,7 +107,7 @@ public class ListOfTasksJsonConverter : global::System.Text.Json.Serialization.J var __value = new global::Apify.ListOfTasks( paginationResponse, - value2 + listOfTasksVariant2 ); return __value; @@ -128,11 +128,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PaginationResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo); } - else if (value.IsValue2) + else if (value.IsListOfTasksVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfTasksVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfTasksVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ListOfTasksVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfWebhookDispatches.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfWebhookDispatches.g.cs index 4b63087..fc3a374 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfWebhookDispatches.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfWebhookDispatches.g.cs @@ -40,7 +40,7 @@ public class ListOfWebhookDispatchesJsonConverter : global::System.Text.Json.Ser if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.PaginationResponse? paginationResponse = default; - global::Apify.ListOfWebhookDispatchesVariant2? value2 = default; + global::Apify.ListOfWebhookDispatchesVariant2? listOfWebhookDispatchesVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -64,7 +64,7 @@ public class ListOfWebhookDispatchesJsonConverter : global::System.Text.Json.Ser { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfWebhookDispatchesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfWebhookDispatchesVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfWebhookDispatchesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -75,7 +75,7 @@ public class ListOfWebhookDispatchesJsonConverter : global::System.Text.Json.Ser } } - if (paginationResponse == null && value2 == null) + if (paginationResponse == null && listOfWebhookDispatchesVariant2 == null) { try { @@ -94,7 +94,7 @@ public class ListOfWebhookDispatchesJsonConverter : global::System.Text.Json.Ser { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfWebhookDispatchesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfWebhookDispatchesVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfWebhookDispatchesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -107,7 +107,7 @@ public class ListOfWebhookDispatchesJsonConverter : global::System.Text.Json.Ser var __value = new global::Apify.ListOfWebhookDispatches( paginationResponse, - value2 + listOfWebhookDispatchesVariant2 ); return __value; @@ -128,11 +128,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PaginationResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo); } - else if (value.IsValue2) + else if (value.IsListOfWebhookDispatchesVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfWebhookDispatchesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfWebhookDispatchesVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ListOfWebhookDispatchesVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfWebhooks.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfWebhooks.g.cs index fb2be0b..4ad4a36 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.ListOfWebhooks.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.ListOfWebhooks.g.cs @@ -40,7 +40,7 @@ public class ListOfWebhooksJsonConverter : global::System.Text.Json.Serializatio if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.PaginationResponse? paginationResponse = default; - global::Apify.ListOfWebhooksVariant2? value2 = default; + global::Apify.ListOfWebhooksVariant2? listOfWebhooksVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -64,7 +64,7 @@ public class ListOfWebhooksJsonConverter : global::System.Text.Json.Serializatio { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfWebhooksVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfWebhooksVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfWebhooksVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -75,7 +75,7 @@ public class ListOfWebhooksJsonConverter : global::System.Text.Json.Serializatio } } - if (paginationResponse == null && value2 == null) + if (paginationResponse == null && listOfWebhooksVariant2 == null) { try { @@ -94,7 +94,7 @@ public class ListOfWebhooksJsonConverter : global::System.Text.Json.Serializatio { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfWebhooksVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfWebhooksVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + listOfWebhooksVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -107,7 +107,7 @@ public class ListOfWebhooksJsonConverter : global::System.Text.Json.Serializatio var __value = new global::Apify.ListOfWebhooks( paginationResponse, - value2 + listOfWebhooksVariant2 ); return __value; @@ -128,11 +128,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PaginationResponse).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo); } - else if (value.IsValue2) + else if (value.IsListOfWebhooksVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfWebhooksVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ListOfWebhooksVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ListOfWebhooksVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.PayPerEventActorPricingInfo.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.PayPerEventActorPricingInfo.g.cs index 2f2c450..140ef80 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.PayPerEventActorPricingInfo.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.PayPerEventActorPricingInfo.g.cs @@ -43,7 +43,7 @@ public class PayPerEventActorPricingInfoJsonConverter : global::System.Text.Json if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.CommonActorPricingInfo? commonActorPricingInfo = default; - global::Apify.PayPerEventActorPricingInfoVariant2? value2 = default; + global::Apify.PayPerEventActorPricingInfoVariant2? payPerEventActorPricingInfoVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -67,7 +67,7 @@ public class PayPerEventActorPricingInfoJsonConverter : global::System.Text.Json { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.PayPerEventActorPricingInfoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PayPerEventActorPricingInfoVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + payPerEventActorPricingInfoVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -78,7 +78,7 @@ public class PayPerEventActorPricingInfoJsonConverter : global::System.Text.Json } } - if (commonActorPricingInfo == null && value2 == null) + if (commonActorPricingInfo == null && payPerEventActorPricingInfoVariant2 == null) { try { @@ -97,7 +97,7 @@ public class PayPerEventActorPricingInfoJsonConverter : global::System.Text.Json { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.PayPerEventActorPricingInfoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PayPerEventActorPricingInfoVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + payPerEventActorPricingInfoVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -110,7 +110,7 @@ public class PayPerEventActorPricingInfoJsonConverter : global::System.Text.Json var __value = new global::Apify.PayPerEventActorPricingInfo( commonActorPricingInfo, - value2 + payPerEventActorPricingInfoVariant2 ); return __value; @@ -131,11 +131,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.CommonActorPricingInfo).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.CommonActorPricingInfo!, typeInfo); } - else if (value.IsValue2) + else if (value.IsPayPerEventActorPricingInfoVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.PayPerEventActorPricingInfoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PayPerEventActorPricingInfoVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PayPerEventActorPricingInfoVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.PricePerDatasetItemActorPricingInfo.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.PricePerDatasetItemActorPricingInfo.g.cs index 9b008ac..404643f 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.PricePerDatasetItemActorPricingInfo.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.PricePerDatasetItemActorPricingInfo.g.cs @@ -43,7 +43,7 @@ public class PricePerDatasetItemActorPricingInfoJsonConverter : global::System.T if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.CommonActorPricingInfo? commonActorPricingInfo = default; - global::Apify.PricePerDatasetItemActorPricingInfoVariant2? value2 = default; + global::Apify.PricePerDatasetItemActorPricingInfoVariant2? pricePerDatasetItemActorPricingInfoVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -67,7 +67,7 @@ public class PricePerDatasetItemActorPricingInfoJsonConverter : global::System.T { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.PricePerDatasetItemActorPricingInfoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PricePerDatasetItemActorPricingInfoVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + pricePerDatasetItemActorPricingInfoVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -78,7 +78,7 @@ public class PricePerDatasetItemActorPricingInfoJsonConverter : global::System.T } } - if (commonActorPricingInfo == null && value2 == null) + if (commonActorPricingInfo == null && pricePerDatasetItemActorPricingInfoVariant2 == null) { try { @@ -97,7 +97,7 @@ public class PricePerDatasetItemActorPricingInfoJsonConverter : global::System.T { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.PricePerDatasetItemActorPricingInfoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PricePerDatasetItemActorPricingInfoVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + pricePerDatasetItemActorPricingInfoVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -110,7 +110,7 @@ public class PricePerDatasetItemActorPricingInfoJsonConverter : global::System.T var __value = new global::Apify.PricePerDatasetItemActorPricingInfo( commonActorPricingInfo, - value2 + pricePerDatasetItemActorPricingInfoVariant2 ); return __value; @@ -131,11 +131,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.CommonActorPricingInfo).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.CommonActorPricingInfo!, typeInfo); } - else if (value.IsValue2) + else if (value.IsPricePerDatasetItemActorPricingInfoVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.PricePerDatasetItemActorPricingInfoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PricePerDatasetItemActorPricingInfoVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PricePerDatasetItemActorPricingInfoVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.Request.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.Request.g.cs index 2883c3f..b3f1836 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.Request.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.Request.g.cs @@ -46,7 +46,7 @@ public class RequestJsonConverter : global::System.Text.Json.Serialization.JsonC if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.RequestBase? requestBase = default; - global::Apify.RequestVariant2? value2 = default; + global::Apify.RequestVariant2? requestVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -70,7 +70,7 @@ public class RequestJsonConverter : global::System.Text.Json.Serialization.JsonC { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.RequestVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.RequestVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + requestVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -81,7 +81,7 @@ public class RequestJsonConverter : global::System.Text.Json.Serialization.JsonC } } - if (requestBase == null && value2 == null) + if (requestBase == null && requestVariant2 == null) { try { @@ -100,7 +100,7 @@ public class RequestJsonConverter : global::System.Text.Json.Serialization.JsonC { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.RequestVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.RequestVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + requestVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -113,7 +113,7 @@ public class RequestJsonConverter : global::System.Text.Json.Serialization.JsonC var __value = new global::Apify.Request( requestBase, - value2 + requestVariant2 ); return __value; @@ -134,11 +134,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.RequestBase).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.RequestBase!, typeInfo); } - else if (value.IsValue2) + else if (value.IsRequestVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.RequestVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.RequestVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.RequestVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.Schedule.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.Schedule.g.cs index a4a3f8a..b939b33 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.Schedule.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.Schedule.g.cs @@ -48,7 +48,7 @@ public class ScheduleJsonConverter : global::System.Text.Json.Serialization.Json if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.ScheduleBase? scheduleBase = default; - global::Apify.ScheduleVariant2? value2 = default; + global::Apify.ScheduleVariant2? scheduleVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -72,7 +72,7 @@ public class ScheduleJsonConverter : global::System.Text.Json.Serialization.Json { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ScheduleVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ScheduleVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + scheduleVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -83,7 +83,7 @@ public class ScheduleJsonConverter : global::System.Text.Json.Serialization.Json } } - if (scheduleBase == null && value2 == null) + if (scheduleBase == null && scheduleVariant2 == null) { try { @@ -102,7 +102,7 @@ public class ScheduleJsonConverter : global::System.Text.Json.Serialization.Json { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ScheduleVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ScheduleVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + scheduleVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -115,7 +115,7 @@ public class ScheduleJsonConverter : global::System.Text.Json.Serialization.Json var __value = new global::Apify.Schedule( scheduleBase, - value2 + scheduleVariant2 ); return __value; @@ -136,11 +136,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ScheduleBase).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.ScheduleBase!, typeInfo); } - else if (value.IsValue2) + else if (value.IsScheduleVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ScheduleVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ScheduleVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ScheduleVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.JsonConverters.ScheduleShort.g.cs b/src/libs/Apify/Generated/Apify.JsonConverters.ScheduleShort.g.cs index 83e0922..9c09062 100644 --- a/src/libs/Apify/Generated/Apify.JsonConverters.ScheduleShort.g.cs +++ b/src/libs/Apify/Generated/Apify.JsonConverters.ScheduleShort.g.cs @@ -46,7 +46,7 @@ public class ScheduleShortJsonConverter : global::System.Text.Json.Serialization if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } global::Apify.ScheduleBase? scheduleBase = default; - global::Apify.ScheduleShortVariant2? value2 = default; + global::Apify.ScheduleShortVariant2? scheduleShortVariant2 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -70,7 +70,7 @@ public class ScheduleShortJsonConverter : global::System.Text.Json.Serialization { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ScheduleShortVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ScheduleShortVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + scheduleShortVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -81,7 +81,7 @@ public class ScheduleShortJsonConverter : global::System.Text.Json.Serialization } } - if (scheduleBase == null && value2 == null) + if (scheduleBase == null && scheduleShortVariant2 == null) { try { @@ -100,7 +100,7 @@ public class ScheduleShortJsonConverter : global::System.Text.Json.Serialization { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ScheduleShortVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ScheduleShortVariant2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + scheduleShortVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -113,7 +113,7 @@ public class ScheduleShortJsonConverter : global::System.Text.Json.Serialization var __value = new global::Apify.ScheduleShort( scheduleBase, - value2 + scheduleShortVariant2 ); return __value; @@ -134,11 +134,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ScheduleBase).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.ScheduleBase!, typeInfo); } - else if (value.IsValue2) + else if (value.IsScheduleShortVariant2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ScheduleShortVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.ScheduleShortVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ScheduleShortVariant2!, typeInfo); } } } diff --git a/src/libs/Apify/Generated/Apify.Models.FlatPricePerMonthActorPricingInfo.g.cs b/src/libs/Apify/Generated/Apify.Models.FlatPricePerMonthActorPricingInfo.g.cs index 555c4c6..bc86b44 100644 --- a/src/libs/Apify/Generated/Apify.Models.FlatPricePerMonthActorPricingInfo.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.FlatPricePerMonthActorPricingInfo.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.FlatPricePerMonthActorPricingInfoVariant2? Value2 { get; init; } + public global::Apify.FlatPricePerMonthActorPricingInfoVariant2? FlatPricePerMonthActorPricingInfoVariant2 { get; init; } #else - public global::Apify.FlatPricePerMonthActorPricingInfoVariant2? Value2 { get; } + public global::Apify.FlatPricePerMonthActorPricingInfoVariant2? FlatPricePerMonthActorPricingInfoVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(FlatPricePerMonthActorPricingInfoVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsFlatPricePerMonthActorPricingInfoVariant2 => FlatPricePerMonthActorPricingInfoVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public FlatPricePerMonthActorPricingInfo(global::Apify.CommonActorPricingInfo? v /// /// /// - public static implicit operator global::Apify.FlatPricePerMonthActorPricingInfoVariant2?(FlatPricePerMonthActorPricingInfo @this) => @this.Value2; + public static implicit operator global::Apify.FlatPricePerMonthActorPricingInfoVariant2?(FlatPricePerMonthActorPricingInfo @this) => @this.FlatPricePerMonthActorPricingInfoVariant2; /// /// /// public FlatPricePerMonthActorPricingInfo(global::Apify.FlatPricePerMonthActorPricingInfoVariant2? value) { - Value2 = value; + FlatPricePerMonthActorPricingInfoVariant2 = value; } /// @@ -83,18 +83,18 @@ public FlatPricePerMonthActorPricingInfo(global::Apify.FlatPricePerMonthActorPri /// public FlatPricePerMonthActorPricingInfo( global::Apify.CommonActorPricingInfo? commonActorPricingInfo, - global::Apify.FlatPricePerMonthActorPricingInfoVariant2? value2 + global::Apify.FlatPricePerMonthActorPricingInfoVariant2? flatPricePerMonthActorPricingInfoVariant2 ) { CommonActorPricingInfo = commonActorPricingInfo; - Value2 = value2; + FlatPricePerMonthActorPricingInfoVariant2 = flatPricePerMonthActorPricingInfoVariant2; } /// /// /// public object? Object => - Value2 as object ?? + FlatPricePerMonthActorPricingInfoVariant2 as object ?? CommonActorPricingInfo as object ; @@ -103,7 +103,7 @@ CommonActorPricingInfo as object /// public override string? ToString() => CommonActorPricingInfo?.ToString() ?? - Value2?.ToString() + FlatPricePerMonthActorPricingInfoVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ CommonActorPricingInfo as object /// public bool Validate() { - return IsCommonActorPricingInfo && IsValue2; + return IsCommonActorPricingInfo && IsFlatPricePerMonthActorPricingInfoVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? commonActorPricingInfo = null, - global::System.Func? value2 = null, + global::System.Func? flatPricePerMonthActorPricingInfoVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return commonActorPricingInfo(CommonActorPricingInfo!); } - else if (IsValue2 && value2 != null) + else if (IsFlatPricePerMonthActorPricingInfoVariant2 && flatPricePerMonthActorPricingInfoVariant2 != null) { - return value2(Value2!); + return flatPricePerMonthActorPricingInfoVariant2(FlatPricePerMonthActorPricingInfoVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? commonActorPricingInfo = null, - global::System.Action? value2 = null, + global::System.Action? flatPricePerMonthActorPricingInfoVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { commonActorPricingInfo?.Invoke(CommonActorPricingInfo!); } - else if (IsValue2) + else if (IsFlatPricePerMonthActorPricingInfoVariant2) { - value2?.Invoke(Value2!); + flatPricePerMonthActorPricingInfoVariant2?.Invoke(FlatPricePerMonthActorPricingInfoVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { CommonActorPricingInfo, typeof(global::Apify.CommonActorPricingInfo), - Value2, + FlatPricePerMonthActorPricingInfoVariant2, typeof(global::Apify.FlatPricePerMonthActorPricingInfoVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(FlatPricePerMonthActorPricingInfo other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(CommonActorPricingInfo, other.CommonActorPricingInfo) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(FlatPricePerMonthActorPricingInfoVariant2, other.FlatPricePerMonthActorPricingInfoVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.FreeActorPricingInfo.g.cs b/src/libs/Apify/Generated/Apify.Models.FreeActorPricingInfo.g.cs index 5ef0a98..39fffab 100644 --- a/src/libs/Apify/Generated/Apify.Models.FreeActorPricingInfo.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.FreeActorPricingInfo.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.FreeActorPricingInfoVariant2? Value2 { get; init; } + public global::Apify.FreeActorPricingInfoVariant2? FreeActorPricingInfoVariant2 { get; init; } #else - public global::Apify.FreeActorPricingInfoVariant2? Value2 { get; } + public global::Apify.FreeActorPricingInfoVariant2? FreeActorPricingInfoVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(FreeActorPricingInfoVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsFreeActorPricingInfoVariant2 => FreeActorPricingInfoVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public FreeActorPricingInfo(global::Apify.CommonActorPricingInfo? value) /// /// /// - public static implicit operator global::Apify.FreeActorPricingInfoVariant2?(FreeActorPricingInfo @this) => @this.Value2; + public static implicit operator global::Apify.FreeActorPricingInfoVariant2?(FreeActorPricingInfo @this) => @this.FreeActorPricingInfoVariant2; /// /// /// public FreeActorPricingInfo(global::Apify.FreeActorPricingInfoVariant2? value) { - Value2 = value; + FreeActorPricingInfoVariant2 = value; } /// @@ -83,18 +83,18 @@ public FreeActorPricingInfo(global::Apify.FreeActorPricingInfoVariant2? value) /// public FreeActorPricingInfo( global::Apify.CommonActorPricingInfo? commonActorPricingInfo, - global::Apify.FreeActorPricingInfoVariant2? value2 + global::Apify.FreeActorPricingInfoVariant2? freeActorPricingInfoVariant2 ) { CommonActorPricingInfo = commonActorPricingInfo; - Value2 = value2; + FreeActorPricingInfoVariant2 = freeActorPricingInfoVariant2; } /// /// /// public object? Object => - Value2 as object ?? + FreeActorPricingInfoVariant2 as object ?? CommonActorPricingInfo as object ; @@ -103,7 +103,7 @@ CommonActorPricingInfo as object /// public override string? ToString() => CommonActorPricingInfo?.ToString() ?? - Value2?.ToString() + FreeActorPricingInfoVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ CommonActorPricingInfo as object /// public bool Validate() { - return IsCommonActorPricingInfo && IsValue2; + return IsCommonActorPricingInfo && IsFreeActorPricingInfoVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? commonActorPricingInfo = null, - global::System.Func? value2 = null, + global::System.Func? freeActorPricingInfoVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return commonActorPricingInfo(CommonActorPricingInfo!); } - else if (IsValue2 && value2 != null) + else if (IsFreeActorPricingInfoVariant2 && freeActorPricingInfoVariant2 != null) { - return value2(Value2!); + return freeActorPricingInfoVariant2(FreeActorPricingInfoVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? commonActorPricingInfo = null, - global::System.Action? value2 = null, + global::System.Action? freeActorPricingInfoVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { commonActorPricingInfo?.Invoke(CommonActorPricingInfo!); } - else if (IsValue2) + else if (IsFreeActorPricingInfoVariant2) { - value2?.Invoke(Value2!); + freeActorPricingInfoVariant2?.Invoke(FreeActorPricingInfoVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { CommonActorPricingInfo, typeof(global::Apify.CommonActorPricingInfo), - Value2, + FreeActorPricingInfoVariant2, typeof(global::Apify.FreeActorPricingInfoVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(FreeActorPricingInfo other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(CommonActorPricingInfo, other.CommonActorPricingInfo) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(FreeActorPricingInfoVariant2, other.FreeActorPricingInfoVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.ListOfActors.g.cs b/src/libs/Apify/Generated/Apify.Models.ListOfActors.g.cs index 49b579f..c1bb5ef 100644 --- a/src/libs/Apify/Generated/Apify.Models.ListOfActors.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.ListOfActors.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.ListOfActorsVariant2? Value2 { get; init; } + public global::Apify.ListOfActorsVariant2? ListOfActorsVariant2 { get; init; } #else - public global::Apify.ListOfActorsVariant2? Value2 { get; } + public global::Apify.ListOfActorsVariant2? ListOfActorsVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ListOfActorsVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsListOfActorsVariant2 => ListOfActorsVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public ListOfActors(global::Apify.PaginationResponse? value) /// /// /// - public static implicit operator global::Apify.ListOfActorsVariant2?(ListOfActors @this) => @this.Value2; + public static implicit operator global::Apify.ListOfActorsVariant2?(ListOfActors @this) => @this.ListOfActorsVariant2; /// /// /// public ListOfActors(global::Apify.ListOfActorsVariant2? value) { - Value2 = value; + ListOfActorsVariant2 = value; } /// @@ -83,18 +83,18 @@ public ListOfActors(global::Apify.ListOfActorsVariant2? value) /// public ListOfActors( global::Apify.PaginationResponse? paginationResponse, - global::Apify.ListOfActorsVariant2? value2 + global::Apify.ListOfActorsVariant2? listOfActorsVariant2 ) { PaginationResponse = paginationResponse; - Value2 = value2; + ListOfActorsVariant2 = listOfActorsVariant2; } /// /// /// public object? Object => - Value2 as object ?? + ListOfActorsVariant2 as object ?? PaginationResponse as object ; @@ -103,7 +103,7 @@ PaginationResponse as object /// public override string? ToString() => PaginationResponse?.ToString() ?? - Value2?.ToString() + ListOfActorsVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ PaginationResponse as object /// public bool Validate() { - return IsPaginationResponse && IsValue2; + return IsPaginationResponse && IsListOfActorsVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? paginationResponse = null, - global::System.Func? value2 = null, + global::System.Func? listOfActorsVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return paginationResponse(PaginationResponse!); } - else if (IsValue2 && value2 != null) + else if (IsListOfActorsVariant2 && listOfActorsVariant2 != null) { - return value2(Value2!); + return listOfActorsVariant2(ListOfActorsVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? paginationResponse = null, - global::System.Action? value2 = null, + global::System.Action? listOfActorsVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { paginationResponse?.Invoke(PaginationResponse!); } - else if (IsValue2) + else if (IsListOfActorsVariant2) { - value2?.Invoke(Value2!); + listOfActorsVariant2?.Invoke(ListOfActorsVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { PaginationResponse, typeof(global::Apify.PaginationResponse), - Value2, + ListOfActorsVariant2, typeof(global::Apify.ListOfActorsVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(ListOfActors other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(PaginationResponse, other.PaginationResponse) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ListOfActorsVariant2, other.ListOfActorsVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.ListOfBuilds.g.cs b/src/libs/Apify/Generated/Apify.Models.ListOfBuilds.g.cs index dbbef61..84defd4 100644 --- a/src/libs/Apify/Generated/Apify.Models.ListOfBuilds.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.ListOfBuilds.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.ListOfBuildsVariant2? Value2 { get; init; } + public global::Apify.ListOfBuildsVariant2? ListOfBuildsVariant2 { get; init; } #else - public global::Apify.ListOfBuildsVariant2? Value2 { get; } + public global::Apify.ListOfBuildsVariant2? ListOfBuildsVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ListOfBuildsVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsListOfBuildsVariant2 => ListOfBuildsVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public ListOfBuilds(global::Apify.PaginationResponse? value) /// /// /// - public static implicit operator global::Apify.ListOfBuildsVariant2?(ListOfBuilds @this) => @this.Value2; + public static implicit operator global::Apify.ListOfBuildsVariant2?(ListOfBuilds @this) => @this.ListOfBuildsVariant2; /// /// /// public ListOfBuilds(global::Apify.ListOfBuildsVariant2? value) { - Value2 = value; + ListOfBuildsVariant2 = value; } /// @@ -83,18 +83,18 @@ public ListOfBuilds(global::Apify.ListOfBuildsVariant2? value) /// public ListOfBuilds( global::Apify.PaginationResponse? paginationResponse, - global::Apify.ListOfBuildsVariant2? value2 + global::Apify.ListOfBuildsVariant2? listOfBuildsVariant2 ) { PaginationResponse = paginationResponse; - Value2 = value2; + ListOfBuildsVariant2 = listOfBuildsVariant2; } /// /// /// public object? Object => - Value2 as object ?? + ListOfBuildsVariant2 as object ?? PaginationResponse as object ; @@ -103,7 +103,7 @@ PaginationResponse as object /// public override string? ToString() => PaginationResponse?.ToString() ?? - Value2?.ToString() + ListOfBuildsVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ PaginationResponse as object /// public bool Validate() { - return IsPaginationResponse && IsValue2; + return IsPaginationResponse && IsListOfBuildsVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? paginationResponse = null, - global::System.Func? value2 = null, + global::System.Func? listOfBuildsVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return paginationResponse(PaginationResponse!); } - else if (IsValue2 && value2 != null) + else if (IsListOfBuildsVariant2 && listOfBuildsVariant2 != null) { - return value2(Value2!); + return listOfBuildsVariant2(ListOfBuildsVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? paginationResponse = null, - global::System.Action? value2 = null, + global::System.Action? listOfBuildsVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { paginationResponse?.Invoke(PaginationResponse!); } - else if (IsValue2) + else if (IsListOfBuildsVariant2) { - value2?.Invoke(Value2!); + listOfBuildsVariant2?.Invoke(ListOfBuildsVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { PaginationResponse, typeof(global::Apify.PaginationResponse), - Value2, + ListOfBuildsVariant2, typeof(global::Apify.ListOfBuildsVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(ListOfBuilds other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(PaginationResponse, other.PaginationResponse) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ListOfBuildsVariant2, other.ListOfBuildsVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.ListOfDatasets.g.cs b/src/libs/Apify/Generated/Apify.Models.ListOfDatasets.g.cs index a388189..4d615ad 100644 --- a/src/libs/Apify/Generated/Apify.Models.ListOfDatasets.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.ListOfDatasets.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.ListOfDatasetsVariant2? Value2 { get; init; } + public global::Apify.ListOfDatasetsVariant2? ListOfDatasetsVariant2 { get; init; } #else - public global::Apify.ListOfDatasetsVariant2? Value2 { get; } + public global::Apify.ListOfDatasetsVariant2? ListOfDatasetsVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ListOfDatasetsVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsListOfDatasetsVariant2 => ListOfDatasetsVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public ListOfDatasets(global::Apify.PaginationResponse? value) /// /// /// - public static implicit operator global::Apify.ListOfDatasetsVariant2?(ListOfDatasets @this) => @this.Value2; + public static implicit operator global::Apify.ListOfDatasetsVariant2?(ListOfDatasets @this) => @this.ListOfDatasetsVariant2; /// /// /// public ListOfDatasets(global::Apify.ListOfDatasetsVariant2? value) { - Value2 = value; + ListOfDatasetsVariant2 = value; } /// @@ -83,18 +83,18 @@ public ListOfDatasets(global::Apify.ListOfDatasetsVariant2? value) /// public ListOfDatasets( global::Apify.PaginationResponse? paginationResponse, - global::Apify.ListOfDatasetsVariant2? value2 + global::Apify.ListOfDatasetsVariant2? listOfDatasetsVariant2 ) { PaginationResponse = paginationResponse; - Value2 = value2; + ListOfDatasetsVariant2 = listOfDatasetsVariant2; } /// /// /// public object? Object => - Value2 as object ?? + ListOfDatasetsVariant2 as object ?? PaginationResponse as object ; @@ -103,7 +103,7 @@ PaginationResponse as object /// public override string? ToString() => PaginationResponse?.ToString() ?? - Value2?.ToString() + ListOfDatasetsVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ PaginationResponse as object /// public bool Validate() { - return IsPaginationResponse && IsValue2; + return IsPaginationResponse && IsListOfDatasetsVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? paginationResponse = null, - global::System.Func? value2 = null, + global::System.Func? listOfDatasetsVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return paginationResponse(PaginationResponse!); } - else if (IsValue2 && value2 != null) + else if (IsListOfDatasetsVariant2 && listOfDatasetsVariant2 != null) { - return value2(Value2!); + return listOfDatasetsVariant2(ListOfDatasetsVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? paginationResponse = null, - global::System.Action? value2 = null, + global::System.Action? listOfDatasetsVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { paginationResponse?.Invoke(PaginationResponse!); } - else if (IsValue2) + else if (IsListOfDatasetsVariant2) { - value2?.Invoke(Value2!); + listOfDatasetsVariant2?.Invoke(ListOfDatasetsVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { PaginationResponse, typeof(global::Apify.PaginationResponse), - Value2, + ListOfDatasetsVariant2, typeof(global::Apify.ListOfDatasetsVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(ListOfDatasets other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(PaginationResponse, other.PaginationResponse) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ListOfDatasetsVariant2, other.ListOfDatasetsVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.ListOfKeyValueStores.g.cs b/src/libs/Apify/Generated/Apify.Models.ListOfKeyValueStores.g.cs index 054e45f..24733bc 100644 --- a/src/libs/Apify/Generated/Apify.Models.ListOfKeyValueStores.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.ListOfKeyValueStores.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.ListOfKeyValueStoresVariant2? Value2 { get; init; } + public global::Apify.ListOfKeyValueStoresVariant2? ListOfKeyValueStoresVariant2 { get; init; } #else - public global::Apify.ListOfKeyValueStoresVariant2? Value2 { get; } + public global::Apify.ListOfKeyValueStoresVariant2? ListOfKeyValueStoresVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ListOfKeyValueStoresVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsListOfKeyValueStoresVariant2 => ListOfKeyValueStoresVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public ListOfKeyValueStores(global::Apify.PaginationResponse? value) /// /// /// - public static implicit operator global::Apify.ListOfKeyValueStoresVariant2?(ListOfKeyValueStores @this) => @this.Value2; + public static implicit operator global::Apify.ListOfKeyValueStoresVariant2?(ListOfKeyValueStores @this) => @this.ListOfKeyValueStoresVariant2; /// /// /// public ListOfKeyValueStores(global::Apify.ListOfKeyValueStoresVariant2? value) { - Value2 = value; + ListOfKeyValueStoresVariant2 = value; } /// @@ -83,18 +83,18 @@ public ListOfKeyValueStores(global::Apify.ListOfKeyValueStoresVariant2? value) /// public ListOfKeyValueStores( global::Apify.PaginationResponse? paginationResponse, - global::Apify.ListOfKeyValueStoresVariant2? value2 + global::Apify.ListOfKeyValueStoresVariant2? listOfKeyValueStoresVariant2 ) { PaginationResponse = paginationResponse; - Value2 = value2; + ListOfKeyValueStoresVariant2 = listOfKeyValueStoresVariant2; } /// /// /// public object? Object => - Value2 as object ?? + ListOfKeyValueStoresVariant2 as object ?? PaginationResponse as object ; @@ -103,7 +103,7 @@ PaginationResponse as object /// public override string? ToString() => PaginationResponse?.ToString() ?? - Value2?.ToString() + ListOfKeyValueStoresVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ PaginationResponse as object /// public bool Validate() { - return IsPaginationResponse && IsValue2; + return IsPaginationResponse && IsListOfKeyValueStoresVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? paginationResponse = null, - global::System.Func? value2 = null, + global::System.Func? listOfKeyValueStoresVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return paginationResponse(PaginationResponse!); } - else if (IsValue2 && value2 != null) + else if (IsListOfKeyValueStoresVariant2 && listOfKeyValueStoresVariant2 != null) { - return value2(Value2!); + return listOfKeyValueStoresVariant2(ListOfKeyValueStoresVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? paginationResponse = null, - global::System.Action? value2 = null, + global::System.Action? listOfKeyValueStoresVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { paginationResponse?.Invoke(PaginationResponse!); } - else if (IsValue2) + else if (IsListOfKeyValueStoresVariant2) { - value2?.Invoke(Value2!); + listOfKeyValueStoresVariant2?.Invoke(ListOfKeyValueStoresVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { PaginationResponse, typeof(global::Apify.PaginationResponse), - Value2, + ListOfKeyValueStoresVariant2, typeof(global::Apify.ListOfKeyValueStoresVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(ListOfKeyValueStores other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(PaginationResponse, other.PaginationResponse) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ListOfKeyValueStoresVariant2, other.ListOfKeyValueStoresVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.ListOfRequestQueues.g.cs b/src/libs/Apify/Generated/Apify.Models.ListOfRequestQueues.g.cs index 05ae6a7..bd3b128 100644 --- a/src/libs/Apify/Generated/Apify.Models.ListOfRequestQueues.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.ListOfRequestQueues.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.ListOfRequestQueuesVariant2? Value2 { get; init; } + public global::Apify.ListOfRequestQueuesVariant2? ListOfRequestQueuesVariant2 { get; init; } #else - public global::Apify.ListOfRequestQueuesVariant2? Value2 { get; } + public global::Apify.ListOfRequestQueuesVariant2? ListOfRequestQueuesVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ListOfRequestQueuesVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsListOfRequestQueuesVariant2 => ListOfRequestQueuesVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public ListOfRequestQueues(global::Apify.PaginationResponse? value) /// /// /// - public static implicit operator global::Apify.ListOfRequestQueuesVariant2?(ListOfRequestQueues @this) => @this.Value2; + public static implicit operator global::Apify.ListOfRequestQueuesVariant2?(ListOfRequestQueues @this) => @this.ListOfRequestQueuesVariant2; /// /// /// public ListOfRequestQueues(global::Apify.ListOfRequestQueuesVariant2? value) { - Value2 = value; + ListOfRequestQueuesVariant2 = value; } /// @@ -83,18 +83,18 @@ public ListOfRequestQueues(global::Apify.ListOfRequestQueuesVariant2? value) /// public ListOfRequestQueues( global::Apify.PaginationResponse? paginationResponse, - global::Apify.ListOfRequestQueuesVariant2? value2 + global::Apify.ListOfRequestQueuesVariant2? listOfRequestQueuesVariant2 ) { PaginationResponse = paginationResponse; - Value2 = value2; + ListOfRequestQueuesVariant2 = listOfRequestQueuesVariant2; } /// /// /// public object? Object => - Value2 as object ?? + ListOfRequestQueuesVariant2 as object ?? PaginationResponse as object ; @@ -103,7 +103,7 @@ PaginationResponse as object /// public override string? ToString() => PaginationResponse?.ToString() ?? - Value2?.ToString() + ListOfRequestQueuesVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ PaginationResponse as object /// public bool Validate() { - return IsPaginationResponse && IsValue2; + return IsPaginationResponse && IsListOfRequestQueuesVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? paginationResponse = null, - global::System.Func? value2 = null, + global::System.Func? listOfRequestQueuesVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return paginationResponse(PaginationResponse!); } - else if (IsValue2 && value2 != null) + else if (IsListOfRequestQueuesVariant2 && listOfRequestQueuesVariant2 != null) { - return value2(Value2!); + return listOfRequestQueuesVariant2(ListOfRequestQueuesVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? paginationResponse = null, - global::System.Action? value2 = null, + global::System.Action? listOfRequestQueuesVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { paginationResponse?.Invoke(PaginationResponse!); } - else if (IsValue2) + else if (IsListOfRequestQueuesVariant2) { - value2?.Invoke(Value2!); + listOfRequestQueuesVariant2?.Invoke(ListOfRequestQueuesVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { PaginationResponse, typeof(global::Apify.PaginationResponse), - Value2, + ListOfRequestQueuesVariant2, typeof(global::Apify.ListOfRequestQueuesVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(ListOfRequestQueues other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(PaginationResponse, other.PaginationResponse) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ListOfRequestQueuesVariant2, other.ListOfRequestQueuesVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.ListOfRuns.g.cs b/src/libs/Apify/Generated/Apify.Models.ListOfRuns.g.cs index b79a168..0407c50 100644 --- a/src/libs/Apify/Generated/Apify.Models.ListOfRuns.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.ListOfRuns.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.ListOfRunsVariant2? Value2 { get; init; } + public global::Apify.ListOfRunsVariant2? ListOfRunsVariant2 { get; init; } #else - public global::Apify.ListOfRunsVariant2? Value2 { get; } + public global::Apify.ListOfRunsVariant2? ListOfRunsVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ListOfRunsVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsListOfRunsVariant2 => ListOfRunsVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public ListOfRuns(global::Apify.PaginationResponse? value) /// /// /// - public static implicit operator global::Apify.ListOfRunsVariant2?(ListOfRuns @this) => @this.Value2; + public static implicit operator global::Apify.ListOfRunsVariant2?(ListOfRuns @this) => @this.ListOfRunsVariant2; /// /// /// public ListOfRuns(global::Apify.ListOfRunsVariant2? value) { - Value2 = value; + ListOfRunsVariant2 = value; } /// @@ -83,18 +83,18 @@ public ListOfRuns(global::Apify.ListOfRunsVariant2? value) /// public ListOfRuns( global::Apify.PaginationResponse? paginationResponse, - global::Apify.ListOfRunsVariant2? value2 + global::Apify.ListOfRunsVariant2? listOfRunsVariant2 ) { PaginationResponse = paginationResponse; - Value2 = value2; + ListOfRunsVariant2 = listOfRunsVariant2; } /// /// /// public object? Object => - Value2 as object ?? + ListOfRunsVariant2 as object ?? PaginationResponse as object ; @@ -103,7 +103,7 @@ PaginationResponse as object /// public override string? ToString() => PaginationResponse?.ToString() ?? - Value2?.ToString() + ListOfRunsVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ PaginationResponse as object /// public bool Validate() { - return IsPaginationResponse && IsValue2; + return IsPaginationResponse && IsListOfRunsVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? paginationResponse = null, - global::System.Func? value2 = null, + global::System.Func? listOfRunsVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return paginationResponse(PaginationResponse!); } - else if (IsValue2 && value2 != null) + else if (IsListOfRunsVariant2 && listOfRunsVariant2 != null) { - return value2(Value2!); + return listOfRunsVariant2(ListOfRunsVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? paginationResponse = null, - global::System.Action? value2 = null, + global::System.Action? listOfRunsVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { paginationResponse?.Invoke(PaginationResponse!); } - else if (IsValue2) + else if (IsListOfRunsVariant2) { - value2?.Invoke(Value2!); + listOfRunsVariant2?.Invoke(ListOfRunsVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { PaginationResponse, typeof(global::Apify.PaginationResponse), - Value2, + ListOfRunsVariant2, typeof(global::Apify.ListOfRunsVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(ListOfRuns other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(PaginationResponse, other.PaginationResponse) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ListOfRunsVariant2, other.ListOfRunsVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.ListOfSchedules.g.cs b/src/libs/Apify/Generated/Apify.Models.ListOfSchedules.g.cs index eee5fa4..8205d06 100644 --- a/src/libs/Apify/Generated/Apify.Models.ListOfSchedules.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.ListOfSchedules.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.ListOfSchedulesVariant2? Value2 { get; init; } + public global::Apify.ListOfSchedulesVariant2? ListOfSchedulesVariant2 { get; init; } #else - public global::Apify.ListOfSchedulesVariant2? Value2 { get; } + public global::Apify.ListOfSchedulesVariant2? ListOfSchedulesVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ListOfSchedulesVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsListOfSchedulesVariant2 => ListOfSchedulesVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public ListOfSchedules(global::Apify.PaginationResponse? value) /// /// /// - public static implicit operator global::Apify.ListOfSchedulesVariant2?(ListOfSchedules @this) => @this.Value2; + public static implicit operator global::Apify.ListOfSchedulesVariant2?(ListOfSchedules @this) => @this.ListOfSchedulesVariant2; /// /// /// public ListOfSchedules(global::Apify.ListOfSchedulesVariant2? value) { - Value2 = value; + ListOfSchedulesVariant2 = value; } /// @@ -83,18 +83,18 @@ public ListOfSchedules(global::Apify.ListOfSchedulesVariant2? value) /// public ListOfSchedules( global::Apify.PaginationResponse? paginationResponse, - global::Apify.ListOfSchedulesVariant2? value2 + global::Apify.ListOfSchedulesVariant2? listOfSchedulesVariant2 ) { PaginationResponse = paginationResponse; - Value2 = value2; + ListOfSchedulesVariant2 = listOfSchedulesVariant2; } /// /// /// public object? Object => - Value2 as object ?? + ListOfSchedulesVariant2 as object ?? PaginationResponse as object ; @@ -103,7 +103,7 @@ PaginationResponse as object /// public override string? ToString() => PaginationResponse?.ToString() ?? - Value2?.ToString() + ListOfSchedulesVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ PaginationResponse as object /// public bool Validate() { - return IsPaginationResponse && IsValue2; + return IsPaginationResponse && IsListOfSchedulesVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? paginationResponse = null, - global::System.Func? value2 = null, + global::System.Func? listOfSchedulesVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return paginationResponse(PaginationResponse!); } - else if (IsValue2 && value2 != null) + else if (IsListOfSchedulesVariant2 && listOfSchedulesVariant2 != null) { - return value2(Value2!); + return listOfSchedulesVariant2(ListOfSchedulesVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? paginationResponse = null, - global::System.Action? value2 = null, + global::System.Action? listOfSchedulesVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { paginationResponse?.Invoke(PaginationResponse!); } - else if (IsValue2) + else if (IsListOfSchedulesVariant2) { - value2?.Invoke(Value2!); + listOfSchedulesVariant2?.Invoke(ListOfSchedulesVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { PaginationResponse, typeof(global::Apify.PaginationResponse), - Value2, + ListOfSchedulesVariant2, typeof(global::Apify.ListOfSchedulesVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(ListOfSchedules other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(PaginationResponse, other.PaginationResponse) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ListOfSchedulesVariant2, other.ListOfSchedulesVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.ListOfStoreActors.g.cs b/src/libs/Apify/Generated/Apify.Models.ListOfStoreActors.g.cs index 58f1d13..3960a67 100644 --- a/src/libs/Apify/Generated/Apify.Models.ListOfStoreActors.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.ListOfStoreActors.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.ListOfStoreActorsVariant2? Value2 { get; init; } + public global::Apify.ListOfStoreActorsVariant2? ListOfStoreActorsVariant2 { get; init; } #else - public global::Apify.ListOfStoreActorsVariant2? Value2 { get; } + public global::Apify.ListOfStoreActorsVariant2? ListOfStoreActorsVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ListOfStoreActorsVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsListOfStoreActorsVariant2 => ListOfStoreActorsVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public ListOfStoreActors(global::Apify.PaginationResponse? value) /// /// /// - public static implicit operator global::Apify.ListOfStoreActorsVariant2?(ListOfStoreActors @this) => @this.Value2; + public static implicit operator global::Apify.ListOfStoreActorsVariant2?(ListOfStoreActors @this) => @this.ListOfStoreActorsVariant2; /// /// /// public ListOfStoreActors(global::Apify.ListOfStoreActorsVariant2? value) { - Value2 = value; + ListOfStoreActorsVariant2 = value; } /// @@ -83,18 +83,18 @@ public ListOfStoreActors(global::Apify.ListOfStoreActorsVariant2? value) /// public ListOfStoreActors( global::Apify.PaginationResponse? paginationResponse, - global::Apify.ListOfStoreActorsVariant2? value2 + global::Apify.ListOfStoreActorsVariant2? listOfStoreActorsVariant2 ) { PaginationResponse = paginationResponse; - Value2 = value2; + ListOfStoreActorsVariant2 = listOfStoreActorsVariant2; } /// /// /// public object? Object => - Value2 as object ?? + ListOfStoreActorsVariant2 as object ?? PaginationResponse as object ; @@ -103,7 +103,7 @@ PaginationResponse as object /// public override string? ToString() => PaginationResponse?.ToString() ?? - Value2?.ToString() + ListOfStoreActorsVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ PaginationResponse as object /// public bool Validate() { - return IsPaginationResponse && IsValue2; + return IsPaginationResponse && IsListOfStoreActorsVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? paginationResponse = null, - global::System.Func? value2 = null, + global::System.Func? listOfStoreActorsVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return paginationResponse(PaginationResponse!); } - else if (IsValue2 && value2 != null) + else if (IsListOfStoreActorsVariant2 && listOfStoreActorsVariant2 != null) { - return value2(Value2!); + return listOfStoreActorsVariant2(ListOfStoreActorsVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? paginationResponse = null, - global::System.Action? value2 = null, + global::System.Action? listOfStoreActorsVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { paginationResponse?.Invoke(PaginationResponse!); } - else if (IsValue2) + else if (IsListOfStoreActorsVariant2) { - value2?.Invoke(Value2!); + listOfStoreActorsVariant2?.Invoke(ListOfStoreActorsVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { PaginationResponse, typeof(global::Apify.PaginationResponse), - Value2, + ListOfStoreActorsVariant2, typeof(global::Apify.ListOfStoreActorsVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(ListOfStoreActors other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(PaginationResponse, other.PaginationResponse) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ListOfStoreActorsVariant2, other.ListOfStoreActorsVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.ListOfTasks.g.cs b/src/libs/Apify/Generated/Apify.Models.ListOfTasks.g.cs index 7b7c36c..493e633 100644 --- a/src/libs/Apify/Generated/Apify.Models.ListOfTasks.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.ListOfTasks.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.ListOfTasksVariant2? Value2 { get; init; } + public global::Apify.ListOfTasksVariant2? ListOfTasksVariant2 { get; init; } #else - public global::Apify.ListOfTasksVariant2? Value2 { get; } + public global::Apify.ListOfTasksVariant2? ListOfTasksVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ListOfTasksVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsListOfTasksVariant2 => ListOfTasksVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public ListOfTasks(global::Apify.PaginationResponse? value) /// /// /// - public static implicit operator global::Apify.ListOfTasksVariant2?(ListOfTasks @this) => @this.Value2; + public static implicit operator global::Apify.ListOfTasksVariant2?(ListOfTasks @this) => @this.ListOfTasksVariant2; /// /// /// public ListOfTasks(global::Apify.ListOfTasksVariant2? value) { - Value2 = value; + ListOfTasksVariant2 = value; } /// @@ -83,18 +83,18 @@ public ListOfTasks(global::Apify.ListOfTasksVariant2? value) /// public ListOfTasks( global::Apify.PaginationResponse? paginationResponse, - global::Apify.ListOfTasksVariant2? value2 + global::Apify.ListOfTasksVariant2? listOfTasksVariant2 ) { PaginationResponse = paginationResponse; - Value2 = value2; + ListOfTasksVariant2 = listOfTasksVariant2; } /// /// /// public object? Object => - Value2 as object ?? + ListOfTasksVariant2 as object ?? PaginationResponse as object ; @@ -103,7 +103,7 @@ PaginationResponse as object /// public override string? ToString() => PaginationResponse?.ToString() ?? - Value2?.ToString() + ListOfTasksVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ PaginationResponse as object /// public bool Validate() { - return IsPaginationResponse && IsValue2; + return IsPaginationResponse && IsListOfTasksVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? paginationResponse = null, - global::System.Func? value2 = null, + global::System.Func? listOfTasksVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return paginationResponse(PaginationResponse!); } - else if (IsValue2 && value2 != null) + else if (IsListOfTasksVariant2 && listOfTasksVariant2 != null) { - return value2(Value2!); + return listOfTasksVariant2(ListOfTasksVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? paginationResponse = null, - global::System.Action? value2 = null, + global::System.Action? listOfTasksVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { paginationResponse?.Invoke(PaginationResponse!); } - else if (IsValue2) + else if (IsListOfTasksVariant2) { - value2?.Invoke(Value2!); + listOfTasksVariant2?.Invoke(ListOfTasksVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { PaginationResponse, typeof(global::Apify.PaginationResponse), - Value2, + ListOfTasksVariant2, typeof(global::Apify.ListOfTasksVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(ListOfTasks other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(PaginationResponse, other.PaginationResponse) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ListOfTasksVariant2, other.ListOfTasksVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.ListOfWebhookDispatches.g.cs b/src/libs/Apify/Generated/Apify.Models.ListOfWebhookDispatches.g.cs index aad4443..cd9f8d6 100644 --- a/src/libs/Apify/Generated/Apify.Models.ListOfWebhookDispatches.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.ListOfWebhookDispatches.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.ListOfWebhookDispatchesVariant2? Value2 { get; init; } + public global::Apify.ListOfWebhookDispatchesVariant2? ListOfWebhookDispatchesVariant2 { get; init; } #else - public global::Apify.ListOfWebhookDispatchesVariant2? Value2 { get; } + public global::Apify.ListOfWebhookDispatchesVariant2? ListOfWebhookDispatchesVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ListOfWebhookDispatchesVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsListOfWebhookDispatchesVariant2 => ListOfWebhookDispatchesVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public ListOfWebhookDispatches(global::Apify.PaginationResponse? value) /// /// /// - public static implicit operator global::Apify.ListOfWebhookDispatchesVariant2?(ListOfWebhookDispatches @this) => @this.Value2; + public static implicit operator global::Apify.ListOfWebhookDispatchesVariant2?(ListOfWebhookDispatches @this) => @this.ListOfWebhookDispatchesVariant2; /// /// /// public ListOfWebhookDispatches(global::Apify.ListOfWebhookDispatchesVariant2? value) { - Value2 = value; + ListOfWebhookDispatchesVariant2 = value; } /// @@ -83,18 +83,18 @@ public ListOfWebhookDispatches(global::Apify.ListOfWebhookDispatchesVariant2? va /// public ListOfWebhookDispatches( global::Apify.PaginationResponse? paginationResponse, - global::Apify.ListOfWebhookDispatchesVariant2? value2 + global::Apify.ListOfWebhookDispatchesVariant2? listOfWebhookDispatchesVariant2 ) { PaginationResponse = paginationResponse; - Value2 = value2; + ListOfWebhookDispatchesVariant2 = listOfWebhookDispatchesVariant2; } /// /// /// public object? Object => - Value2 as object ?? + ListOfWebhookDispatchesVariant2 as object ?? PaginationResponse as object ; @@ -103,7 +103,7 @@ PaginationResponse as object /// public override string? ToString() => PaginationResponse?.ToString() ?? - Value2?.ToString() + ListOfWebhookDispatchesVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ PaginationResponse as object /// public bool Validate() { - return IsPaginationResponse && IsValue2; + return IsPaginationResponse && IsListOfWebhookDispatchesVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? paginationResponse = null, - global::System.Func? value2 = null, + global::System.Func? listOfWebhookDispatchesVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return paginationResponse(PaginationResponse!); } - else if (IsValue2 && value2 != null) + else if (IsListOfWebhookDispatchesVariant2 && listOfWebhookDispatchesVariant2 != null) { - return value2(Value2!); + return listOfWebhookDispatchesVariant2(ListOfWebhookDispatchesVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? paginationResponse = null, - global::System.Action? value2 = null, + global::System.Action? listOfWebhookDispatchesVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { paginationResponse?.Invoke(PaginationResponse!); } - else if (IsValue2) + else if (IsListOfWebhookDispatchesVariant2) { - value2?.Invoke(Value2!); + listOfWebhookDispatchesVariant2?.Invoke(ListOfWebhookDispatchesVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { PaginationResponse, typeof(global::Apify.PaginationResponse), - Value2, + ListOfWebhookDispatchesVariant2, typeof(global::Apify.ListOfWebhookDispatchesVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(ListOfWebhookDispatches other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(PaginationResponse, other.PaginationResponse) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ListOfWebhookDispatchesVariant2, other.ListOfWebhookDispatchesVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.ListOfWebhooks.g.cs b/src/libs/Apify/Generated/Apify.Models.ListOfWebhooks.g.cs index fd4f88d..a59238e 100644 --- a/src/libs/Apify/Generated/Apify.Models.ListOfWebhooks.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.ListOfWebhooks.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.ListOfWebhooksVariant2? Value2 { get; init; } + public global::Apify.ListOfWebhooksVariant2? ListOfWebhooksVariant2 { get; init; } #else - public global::Apify.ListOfWebhooksVariant2? Value2 { get; } + public global::Apify.ListOfWebhooksVariant2? ListOfWebhooksVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ListOfWebhooksVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsListOfWebhooksVariant2 => ListOfWebhooksVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public ListOfWebhooks(global::Apify.PaginationResponse? value) /// /// /// - public static implicit operator global::Apify.ListOfWebhooksVariant2?(ListOfWebhooks @this) => @this.Value2; + public static implicit operator global::Apify.ListOfWebhooksVariant2?(ListOfWebhooks @this) => @this.ListOfWebhooksVariant2; /// /// /// public ListOfWebhooks(global::Apify.ListOfWebhooksVariant2? value) { - Value2 = value; + ListOfWebhooksVariant2 = value; } /// @@ -83,18 +83,18 @@ public ListOfWebhooks(global::Apify.ListOfWebhooksVariant2? value) /// public ListOfWebhooks( global::Apify.PaginationResponse? paginationResponse, - global::Apify.ListOfWebhooksVariant2? value2 + global::Apify.ListOfWebhooksVariant2? listOfWebhooksVariant2 ) { PaginationResponse = paginationResponse; - Value2 = value2; + ListOfWebhooksVariant2 = listOfWebhooksVariant2; } /// /// /// public object? Object => - Value2 as object ?? + ListOfWebhooksVariant2 as object ?? PaginationResponse as object ; @@ -103,7 +103,7 @@ PaginationResponse as object /// public override string? ToString() => PaginationResponse?.ToString() ?? - Value2?.ToString() + ListOfWebhooksVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ PaginationResponse as object /// public bool Validate() { - return IsPaginationResponse && IsValue2; + return IsPaginationResponse && IsListOfWebhooksVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? paginationResponse = null, - global::System.Func? value2 = null, + global::System.Func? listOfWebhooksVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return paginationResponse(PaginationResponse!); } - else if (IsValue2 && value2 != null) + else if (IsListOfWebhooksVariant2 && listOfWebhooksVariant2 != null) { - return value2(Value2!); + return listOfWebhooksVariant2(ListOfWebhooksVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? paginationResponse = null, - global::System.Action? value2 = null, + global::System.Action? listOfWebhooksVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { paginationResponse?.Invoke(PaginationResponse!); } - else if (IsValue2) + else if (IsListOfWebhooksVariant2) { - value2?.Invoke(Value2!); + listOfWebhooksVariant2?.Invoke(ListOfWebhooksVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { PaginationResponse, typeof(global::Apify.PaginationResponse), - Value2, + ListOfWebhooksVariant2, typeof(global::Apify.ListOfWebhooksVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(ListOfWebhooks other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(PaginationResponse, other.PaginationResponse) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ListOfWebhooksVariant2, other.ListOfWebhooksVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.PayPerEventActorPricingInfo.g.cs b/src/libs/Apify/Generated/Apify.Models.PayPerEventActorPricingInfo.g.cs index c5af39e..811cca5 100644 --- a/src/libs/Apify/Generated/Apify.Models.PayPerEventActorPricingInfo.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.PayPerEventActorPricingInfo.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.PayPerEventActorPricingInfoVariant2? Value2 { get; init; } + public global::Apify.PayPerEventActorPricingInfoVariant2? PayPerEventActorPricingInfoVariant2 { get; init; } #else - public global::Apify.PayPerEventActorPricingInfoVariant2? Value2 { get; } + public global::Apify.PayPerEventActorPricingInfoVariant2? PayPerEventActorPricingInfoVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PayPerEventActorPricingInfoVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsPayPerEventActorPricingInfoVariant2 => PayPerEventActorPricingInfoVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public PayPerEventActorPricingInfo(global::Apify.CommonActorPricingInfo? value) /// /// /// - public static implicit operator global::Apify.PayPerEventActorPricingInfoVariant2?(PayPerEventActorPricingInfo @this) => @this.Value2; + public static implicit operator global::Apify.PayPerEventActorPricingInfoVariant2?(PayPerEventActorPricingInfo @this) => @this.PayPerEventActorPricingInfoVariant2; /// /// /// public PayPerEventActorPricingInfo(global::Apify.PayPerEventActorPricingInfoVariant2? value) { - Value2 = value; + PayPerEventActorPricingInfoVariant2 = value; } /// @@ -83,18 +83,18 @@ public PayPerEventActorPricingInfo(global::Apify.PayPerEventActorPricingInfoVari /// public PayPerEventActorPricingInfo( global::Apify.CommonActorPricingInfo? commonActorPricingInfo, - global::Apify.PayPerEventActorPricingInfoVariant2? value2 + global::Apify.PayPerEventActorPricingInfoVariant2? payPerEventActorPricingInfoVariant2 ) { CommonActorPricingInfo = commonActorPricingInfo; - Value2 = value2; + PayPerEventActorPricingInfoVariant2 = payPerEventActorPricingInfoVariant2; } /// /// /// public object? Object => - Value2 as object ?? + PayPerEventActorPricingInfoVariant2 as object ?? CommonActorPricingInfo as object ; @@ -103,7 +103,7 @@ CommonActorPricingInfo as object /// public override string? ToString() => CommonActorPricingInfo?.ToString() ?? - Value2?.ToString() + PayPerEventActorPricingInfoVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ CommonActorPricingInfo as object /// public bool Validate() { - return IsCommonActorPricingInfo && IsValue2; + return IsCommonActorPricingInfo && IsPayPerEventActorPricingInfoVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? commonActorPricingInfo = null, - global::System.Func? value2 = null, + global::System.Func? payPerEventActorPricingInfoVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return commonActorPricingInfo(CommonActorPricingInfo!); } - else if (IsValue2 && value2 != null) + else if (IsPayPerEventActorPricingInfoVariant2 && payPerEventActorPricingInfoVariant2 != null) { - return value2(Value2!); + return payPerEventActorPricingInfoVariant2(PayPerEventActorPricingInfoVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? commonActorPricingInfo = null, - global::System.Action? value2 = null, + global::System.Action? payPerEventActorPricingInfoVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { commonActorPricingInfo?.Invoke(CommonActorPricingInfo!); } - else if (IsValue2) + else if (IsPayPerEventActorPricingInfoVariant2) { - value2?.Invoke(Value2!); + payPerEventActorPricingInfoVariant2?.Invoke(PayPerEventActorPricingInfoVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { CommonActorPricingInfo, typeof(global::Apify.CommonActorPricingInfo), - Value2, + PayPerEventActorPricingInfoVariant2, typeof(global::Apify.PayPerEventActorPricingInfoVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(PayPerEventActorPricingInfo other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(CommonActorPricingInfo, other.CommonActorPricingInfo) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(PayPerEventActorPricingInfoVariant2, other.PayPerEventActorPricingInfoVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.PricePerDatasetItemActorPricingInfo.g.cs b/src/libs/Apify/Generated/Apify.Models.PricePerDatasetItemActorPricingInfo.g.cs index 63e28b4..068411d 100644 --- a/src/libs/Apify/Generated/Apify.Models.PricePerDatasetItemActorPricingInfo.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.PricePerDatasetItemActorPricingInfo.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.PricePerDatasetItemActorPricingInfoVariant2? Value2 { get; init; } + public global::Apify.PricePerDatasetItemActorPricingInfoVariant2? PricePerDatasetItemActorPricingInfoVariant2 { get; init; } #else - public global::Apify.PricePerDatasetItemActorPricingInfoVariant2? Value2 { get; } + public global::Apify.PricePerDatasetItemActorPricingInfoVariant2? PricePerDatasetItemActorPricingInfoVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PricePerDatasetItemActorPricingInfoVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsPricePerDatasetItemActorPricingInfoVariant2 => PricePerDatasetItemActorPricingInfoVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public PricePerDatasetItemActorPricingInfo(global::Apify.CommonActorPricingInfo? /// /// /// - public static implicit operator global::Apify.PricePerDatasetItemActorPricingInfoVariant2?(PricePerDatasetItemActorPricingInfo @this) => @this.Value2; + public static implicit operator global::Apify.PricePerDatasetItemActorPricingInfoVariant2?(PricePerDatasetItemActorPricingInfo @this) => @this.PricePerDatasetItemActorPricingInfoVariant2; /// /// /// public PricePerDatasetItemActorPricingInfo(global::Apify.PricePerDatasetItemActorPricingInfoVariant2? value) { - Value2 = value; + PricePerDatasetItemActorPricingInfoVariant2 = value; } /// @@ -83,18 +83,18 @@ public PricePerDatasetItemActorPricingInfo(global::Apify.PricePerDatasetItemActo /// public PricePerDatasetItemActorPricingInfo( global::Apify.CommonActorPricingInfo? commonActorPricingInfo, - global::Apify.PricePerDatasetItemActorPricingInfoVariant2? value2 + global::Apify.PricePerDatasetItemActorPricingInfoVariant2? pricePerDatasetItemActorPricingInfoVariant2 ) { CommonActorPricingInfo = commonActorPricingInfo; - Value2 = value2; + PricePerDatasetItemActorPricingInfoVariant2 = pricePerDatasetItemActorPricingInfoVariant2; } /// /// /// public object? Object => - Value2 as object ?? + PricePerDatasetItemActorPricingInfoVariant2 as object ?? CommonActorPricingInfo as object ; @@ -103,7 +103,7 @@ CommonActorPricingInfo as object /// public override string? ToString() => CommonActorPricingInfo?.ToString() ?? - Value2?.ToString() + PricePerDatasetItemActorPricingInfoVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ CommonActorPricingInfo as object /// public bool Validate() { - return IsCommonActorPricingInfo && IsValue2; + return IsCommonActorPricingInfo && IsPricePerDatasetItemActorPricingInfoVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? commonActorPricingInfo = null, - global::System.Func? value2 = null, + global::System.Func? pricePerDatasetItemActorPricingInfoVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return commonActorPricingInfo(CommonActorPricingInfo!); } - else if (IsValue2 && value2 != null) + else if (IsPricePerDatasetItemActorPricingInfoVariant2 && pricePerDatasetItemActorPricingInfoVariant2 != null) { - return value2(Value2!); + return pricePerDatasetItemActorPricingInfoVariant2(PricePerDatasetItemActorPricingInfoVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? commonActorPricingInfo = null, - global::System.Action? value2 = null, + global::System.Action? pricePerDatasetItemActorPricingInfoVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { commonActorPricingInfo?.Invoke(CommonActorPricingInfo!); } - else if (IsValue2) + else if (IsPricePerDatasetItemActorPricingInfoVariant2) { - value2?.Invoke(Value2!); + pricePerDatasetItemActorPricingInfoVariant2?.Invoke(PricePerDatasetItemActorPricingInfoVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { CommonActorPricingInfo, typeof(global::Apify.CommonActorPricingInfo), - Value2, + PricePerDatasetItemActorPricingInfoVariant2, typeof(global::Apify.PricePerDatasetItemActorPricingInfoVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(PricePerDatasetItemActorPricingInfo other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(CommonActorPricingInfo, other.CommonActorPricingInfo) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(PricePerDatasetItemActorPricingInfoVariant2, other.PricePerDatasetItemActorPricingInfoVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.Request.g.cs b/src/libs/Apify/Generated/Apify.Models.Request.g.cs index 3d6421d..2d5a1d7 100644 --- a/src/libs/Apify/Generated/Apify.Models.Request.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.Request.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.RequestVariant2? Value2 { get; init; } + public global::Apify.RequestVariant2? RequestVariant2 { get; init; } #else - public global::Apify.RequestVariant2? Value2 { get; } + public global::Apify.RequestVariant2? RequestVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(RequestVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsRequestVariant2 => RequestVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public Request(global::Apify.RequestBase? value) /// /// /// - public static implicit operator global::Apify.RequestVariant2?(Request @this) => @this.Value2; + public static implicit operator global::Apify.RequestVariant2?(Request @this) => @this.RequestVariant2; /// /// /// public Request(global::Apify.RequestVariant2? value) { - Value2 = value; + RequestVariant2 = value; } /// @@ -83,18 +83,18 @@ public Request(global::Apify.RequestVariant2? value) /// public Request( global::Apify.RequestBase? requestBase, - global::Apify.RequestVariant2? value2 + global::Apify.RequestVariant2? requestVariant2 ) { RequestBase = requestBase; - Value2 = value2; + RequestVariant2 = requestVariant2; } /// /// /// public object? Object => - Value2 as object ?? + RequestVariant2 as object ?? RequestBase as object ; @@ -103,7 +103,7 @@ RequestBase as object /// public override string? ToString() => RequestBase?.ToString() ?? - Value2?.ToString() + RequestVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ RequestBase as object /// public bool Validate() { - return IsRequestBase && IsValue2; + return IsRequestBase && IsRequestVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? requestBase = null, - global::System.Func? value2 = null, + global::System.Func? requestVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return requestBase(RequestBase!); } - else if (IsValue2 && value2 != null) + else if (IsRequestVariant2 && requestVariant2 != null) { - return value2(Value2!); + return requestVariant2(RequestVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? requestBase = null, - global::System.Action? value2 = null, + global::System.Action? requestVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { requestBase?.Invoke(RequestBase!); } - else if (IsValue2) + else if (IsRequestVariant2) { - value2?.Invoke(Value2!); + requestVariant2?.Invoke(RequestVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { RequestBase, typeof(global::Apify.RequestBase), - Value2, + RequestVariant2, typeof(global::Apify.RequestVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(Request other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(RequestBase, other.RequestBase) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(RequestVariant2, other.RequestVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.Schedule.g.cs b/src/libs/Apify/Generated/Apify.Models.Schedule.g.cs index efaa7e7..3798e96 100644 --- a/src/libs/Apify/Generated/Apify.Models.Schedule.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.Schedule.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.ScheduleVariant2? Value2 { get; init; } + public global::Apify.ScheduleVariant2? ScheduleVariant2 { get; init; } #else - public global::Apify.ScheduleVariant2? Value2 { get; } + public global::Apify.ScheduleVariant2? ScheduleVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScheduleVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsScheduleVariant2 => ScheduleVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public Schedule(global::Apify.ScheduleBase? value) /// /// /// - public static implicit operator global::Apify.ScheduleVariant2?(Schedule @this) => @this.Value2; + public static implicit operator global::Apify.ScheduleVariant2?(Schedule @this) => @this.ScheduleVariant2; /// /// /// public Schedule(global::Apify.ScheduleVariant2? value) { - Value2 = value; + ScheduleVariant2 = value; } /// @@ -83,18 +83,18 @@ public Schedule(global::Apify.ScheduleVariant2? value) /// public Schedule( global::Apify.ScheduleBase? scheduleBase, - global::Apify.ScheduleVariant2? value2 + global::Apify.ScheduleVariant2? scheduleVariant2 ) { ScheduleBase = scheduleBase; - Value2 = value2; + ScheduleVariant2 = scheduleVariant2; } /// /// /// public object? Object => - Value2 as object ?? + ScheduleVariant2 as object ?? ScheduleBase as object ; @@ -103,7 +103,7 @@ ScheduleBase as object /// public override string? ToString() => ScheduleBase?.ToString() ?? - Value2?.ToString() + ScheduleVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ ScheduleBase as object /// public bool Validate() { - return IsScheduleBase && IsValue2; + return IsScheduleBase && IsScheduleVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? scheduleBase = null, - global::System.Func? value2 = null, + global::System.Func? scheduleVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return scheduleBase(ScheduleBase!); } - else if (IsValue2 && value2 != null) + else if (IsScheduleVariant2 && scheduleVariant2 != null) { - return value2(Value2!); + return scheduleVariant2(ScheduleVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? scheduleBase = null, - global::System.Action? value2 = null, + global::System.Action? scheduleVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { scheduleBase?.Invoke(ScheduleBase!); } - else if (IsValue2) + else if (IsScheduleVariant2) { - value2?.Invoke(Value2!); + scheduleVariant2?.Invoke(ScheduleVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { ScheduleBase, typeof(global::Apify.ScheduleBase), - Value2, + ScheduleVariant2, typeof(global::Apify.ScheduleVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(Schedule other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(ScheduleBase, other.ScheduleBase) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ScheduleVariant2, other.ScheduleVariant2) ; } diff --git a/src/libs/Apify/Generated/Apify.Models.ScheduleShort.g.cs b/src/libs/Apify/Generated/Apify.Models.ScheduleShort.g.cs index e3416a1..71ded7d 100644 --- a/src/libs/Apify/Generated/Apify.Models.ScheduleShort.g.cs +++ b/src/libs/Apify/Generated/Apify.Models.ScheduleShort.g.cs @@ -30,18 +30,18 @@ namespace Apify /// /// #if NET6_0_OR_GREATER - public global::Apify.ScheduleShortVariant2? Value2 { get; init; } + public global::Apify.ScheduleShortVariant2? ScheduleShortVariant2 { get; init; } #else - public global::Apify.ScheduleShortVariant2? Value2 { get; } + public global::Apify.ScheduleShortVariant2? ScheduleShortVariant2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScheduleShortVariant2))] #endif - public bool IsValue2 => Value2 != null; + public bool IsScheduleShortVariant2 => ScheduleShortVariant2 != null; /// /// /// @@ -68,14 +68,14 @@ public ScheduleShort(global::Apify.ScheduleBase? value) /// /// /// - public static implicit operator global::Apify.ScheduleShortVariant2?(ScheduleShort @this) => @this.Value2; + public static implicit operator global::Apify.ScheduleShortVariant2?(ScheduleShort @this) => @this.ScheduleShortVariant2; /// /// /// public ScheduleShort(global::Apify.ScheduleShortVariant2? value) { - Value2 = value; + ScheduleShortVariant2 = value; } /// @@ -83,18 +83,18 @@ public ScheduleShort(global::Apify.ScheduleShortVariant2? value) /// public ScheduleShort( global::Apify.ScheduleBase? scheduleBase, - global::Apify.ScheduleShortVariant2? value2 + global::Apify.ScheduleShortVariant2? scheduleShortVariant2 ) { ScheduleBase = scheduleBase; - Value2 = value2; + ScheduleShortVariant2 = scheduleShortVariant2; } /// /// /// public object? Object => - Value2 as object ?? + ScheduleShortVariant2 as object ?? ScheduleBase as object ; @@ -103,7 +103,7 @@ ScheduleBase as object /// public override string? ToString() => ScheduleBase?.ToString() ?? - Value2?.ToString() + ScheduleShortVariant2?.ToString() ; /// @@ -111,7 +111,7 @@ ScheduleBase as object /// public bool Validate() { - return IsScheduleBase && IsValue2; + return IsScheduleBase && IsScheduleShortVariant2; } /// @@ -119,7 +119,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? scheduleBase = null, - global::System.Func? value2 = null, + global::System.Func? scheduleShortVariant2 = null, bool validate = true) { if (validate) @@ -131,9 +131,9 @@ public bool Validate() { return scheduleBase(ScheduleBase!); } - else if (IsValue2 && value2 != null) + else if (IsScheduleShortVariant2 && scheduleShortVariant2 != null) { - return value2(Value2!); + return scheduleShortVariant2(ScheduleShortVariant2!); } return default(TResult); @@ -144,7 +144,7 @@ public bool Validate() /// public void Match( global::System.Action? scheduleBase = null, - global::System.Action? value2 = null, + global::System.Action? scheduleShortVariant2 = null, bool validate = true) { if (validate) @@ -156,9 +156,9 @@ public void Match( { scheduleBase?.Invoke(ScheduleBase!); } - else if (IsValue2) + else if (IsScheduleShortVariant2) { - value2?.Invoke(Value2!); + scheduleShortVariant2?.Invoke(ScheduleShortVariant2!); } } @@ -171,7 +171,7 @@ public override int GetHashCode() { ScheduleBase, typeof(global::Apify.ScheduleBase), - Value2, + ScheduleShortVariant2, typeof(global::Apify.ScheduleShortVariant2), }; const int offset = unchecked((int)2166136261); @@ -190,7 +190,7 @@ public bool Equals(ScheduleShort other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(ScheduleBase, other.ScheduleBase) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ScheduleShortVariant2, other.ScheduleShortVariant2) ; }