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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ partial void ProcessActorRunPutResponseContent(
string runId,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::Apify.AllOf<global::Apify.UpdateRunRequest, object>
{
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ partial void ProcessPostChargeRunResponse(
string? idempotencyKey = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::Apify.ChargeRunRequest
{
EventName = eventName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@ partial void ProcessActorTaskInputPutResponseContent(
string actorTaskId,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new object
{
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ partial void ProcessActorTaskPutResponseContent(
global::Apify.ActorStandby? actorStandby = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::Apify.UpdateTaskRequest
{
Name = name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,7 @@ partial void ProcessActorTaskRunSyncGetDatasetItemsPostResponseContent(
bool? skipFailedPages = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new object
{
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,7 @@ partial void ProcessActorTaskRunSyncPostResponseContent(
string? webhooks = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new object
{
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ partial void ProcessActorTaskRunsPostResponseContent(
string? webhooks = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new object
{
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ partial void ProcessActorTasksPostResponseContent(
public async global::System.Threading.Tasks.Task<global::Apify.TaskResponse> ActorTasksPostAsync(
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::Apify.AllOf<global::Apify.CreateTaskRequest, object>
{
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ partial void ProcessActRunSyncGetDatasetItemsPostResponseContent(
bool? skipFailedPages = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new object
{
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ partial void ProcessActRunSyncPostResponseContent(
string? webhooks = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new object
{
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ partial void ProcessActRunsPostResponseContent(
global::Apify.ActRunsPostForcePermissionLevel? forcePermissionLevel = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new object
{
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ partial void ProcessActVersionEnvVarPostResponseContent(
bool? isSecret = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::Apify.EnvVar
{
Name = name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ partial void ProcessActVersionEnvVarPutResponseContent(
bool? isSecret = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::Apify.EnvVar
{
Name = name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ partial void ProcessActVersionEnvVarsPostResponseContent(
bool? isSecret = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::Apify.EnvVar
{
Name = name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,7 @@ partial void ProcessActVersionPostResponseContent(
string? gitHubGistUrl = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::Apify.CreateOrUpdateVersionRequest
{
VersionNumber = requestVersionNumber,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ partial void ProcessActVersionPutResponseContent(
string? gitHubGistUrl = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::Apify.CreateOrUpdateVersionRequest
{
VersionNumber = requestVersionNumber,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ partial void ProcessActVersionsPostResponseContent(
string? gitHubGistUrl = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::Apify.CreateOrUpdateVersionRequest
{
VersionNumber = versionNumber,
Expand Down
1 change: 1 addition & 0 deletions src/libs/Apify/Generated/Apify.ActorsClient.ActPut.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ partial void ProcessActPutResponseContent(
bool? isDeprecated = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::Apify.UpdateActorRequest
{
Name = name,
Expand Down
1 change: 1 addition & 0 deletions src/libs/Apify/Generated/Apify.ActorsClient.ActsPost.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ partial void ProcessActsPostResponseContent(
bool? isDeprecated = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::Apify.CreateActorRequest
{
Name = name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,25 +77,25 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.PayPerEventActorPricingInfo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.PayPerEventActorPricingInfo> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PayPerEventActorPricingInfo).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.PayPerEvent, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.PayPerEvent!.Value, typeInfo);
}
else if (value.IsPricePerDatasetItem)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.PricePerDatasetItemActorPricingInfo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.PricePerDatasetItemActorPricingInfo> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.PricePerDatasetItemActorPricingInfo).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.PricePerDatasetItem, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.PricePerDatasetItem!.Value, typeInfo);
}
else if (value.IsFlatPricePerMonth)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.FlatPricePerMonthActorPricingInfo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.FlatPricePerMonthActorPricingInfo> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.FlatPricePerMonthActorPricingInfo).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.FlatPricePerMonth, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.FlatPricePerMonth!.Value, typeInfo);
}
else if (value.IsFree)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.FreeActorPricingInfo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.FreeActorPricingInfo> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Apify.FreeActorPricingInfo).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Free, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Free!.Value, typeInfo);
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Apify/Generated/Apify.JsonConverters.AllOf2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<T1?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo);
}
else if (value.IsValue2)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<T2?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo);
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Apify/Generated/Apify.JsonConverters.AnyOf2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<T1?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo);
}
else if (value.IsValue2)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<T2?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.CommonActorPricingInfo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.CommonActorPricingInfo?> ??
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);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.CommonActorPricingInfo!, typeInfo);
}
else if (value.IsValue2)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.FlatPricePerMonthActorPricingInfoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.FlatPricePerMonthActorPricingInfoVariant2?> ??
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.Value2!, typeInfo);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.CommonActorPricingInfo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.CommonActorPricingInfo?> ??
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);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.CommonActorPricingInfo!, typeInfo);
}
else if (value.IsValue2)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.FreeActorPricingInfoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.FreeActorPricingInfoVariant2?> ??
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.Value2!, typeInfo);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.PaginationResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.PaginationResponse?> ??
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);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo);
}
else if (value.IsValue2)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfActorsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.ListOfActorsVariant2?> ??
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.Value2!, typeInfo);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.PaginationResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.PaginationResponse?> ??
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);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo);
}
else if (value.IsValue2)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfBuildsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.ListOfBuildsVariant2?> ??
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.Value2!, typeInfo);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.PaginationResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.PaginationResponse?> ??
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);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo);
}
else if (value.IsValue2)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfDatasetsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.ListOfDatasetsVariant2?> ??
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.Value2!, typeInfo);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.PaginationResponse), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.PaginationResponse?> ??
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);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.PaginationResponse!, typeInfo);
}
else if (value.IsValue2)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Apify.ListOfKeyValueStoresVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Apify.ListOfKeyValueStoresVariant2?> ??
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.Value2!, typeInfo);
}
}
}
Expand Down
Loading