From 166de40c67fd5e6e0bec4c21483b82f28e05ebdf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 27 May 2026 10:09:45 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Vercel.FeatureFlagsClient.ListFlags.g.cs | 6 +- ...Vercel.FeatureFlagsClient.ListFlagsV2.g.cs | 692 +++++++++++ ...rcel.FeatureFlagsClient.ListTeamFlags.g.cs | 6 +- ...el.FeatureFlagsClient.ListTeamFlagsV2.g.cs | 628 ++++++++++ .../Vercel.IFeatureFlagsClient.ListFlags.g.cs | 6 +- ...ercel.IFeatureFlagsClient.ListFlagsV2.g.cs | 94 ++ ...cel.IFeatureFlagsClient.ListTeamFlags.g.cs | 6 +- ...l.IFeatureFlagsClient.ListTeamFlagsV2.g.cs | 94 ++ ...cel.ISandboxesClient.CreateSandboxes.g.cs} | 35 +- ...ndboxesClient.CreateSessionDirectory.g.cs} | 45 +- ...andboxesClient.CreateSessionSnapshot.g.cs} | 45 +- ...ercel.ISandboxesClient.DeleteSandbox.g.cs} | 28 +- ...andboxesClient.DeleteSessionSnapshot.g.cs} | 28 +- ...SandboxesClient.ExtendSessionTimeout.g.cs} | 45 +- ...cel.ISandboxesClient.GetNamedSandbox.g.cs} | 28 +- ...> Vercel.ISandboxesClient.GetSession.g.cs} | 28 +- ...l.ISandboxesClient.GetSessionCommand.g.cs} | 32 +- ...andboxesClient.GetSessionCommandLogs.g.cs} | 15 +- ....ISandboxesClient.GetSessionSnapshot.g.cs} | 28 +- ....ISandboxesClient.KillSessionCommand.g.cs} | 45 +- ...ercel.ISandboxesClient.ListSandboxes.g.cs} | 36 +- ...ISandboxesClient.ListSessionCommands.g.cs} | 28 +- ...SandboxesClient.ListSessionSnapshots.g.cs} | 32 +- ...Vercel.ISandboxesClient.ListSessions.g.cs} | 32 +- ...cel.ISandboxesClient.ReadSessionFile.g.cs} | 60 +- ...l.ISandboxesClient.RunSessionCommand.g.cs} | 45 +- ...oxesClient.RunSessionCommandAsStream.g.cs} | 30 +- ... Vercel.ISandboxesClient.StopSession.g.cs} | 28 +- ...ercel.ISandboxesClient.UpdateSandbox.g.cs} | 53 +- ...xesClient.UpdateSessionNetworkPolicy.g.cs} | 45 +- ...l.ISandboxesClient.WriteSessionFiles.g.cs} | 28 +- .../Generated/Vercel.ISandboxesClient.g.cs | 48 + .../Generated/Vercel.IVercelClient.g.cs | 5 + ...ionIdNetworkPolicyRequestVariant1Mode.g.cs | 53 - ...workPolicyRequestVariant1ModeNullable.g.cs | 60 - ...mdByCmdIdLogsResponseVariant1DataCode.g.cs | 53 - ...dLogsResponseVariant1DataCodeNullable.g.cs | 60 - ...yCmdIdLogsResponseVariant1DataMessage.g.cs | 53 - ...gsResponseVariant1DataMessageNullable.g.cs | 60 - ...nCommandLogsResponseVariant1DataCode.g.cs} | 14 +- ...LogsResponseVariant1DataCodeNullable.g.cs} | 14 +- ...ommandLogsResponseVariant1DataMessage.g.cs | 53 + ...gsResponseVariant1DataMessageNullable.g.cs | 60 + ....JsonConverters.GetSessionCommandWait.g.cs | 53 + ...erters.GetSessionCommandWaitNullable.g.cs} | 14 +- ...rcel.JsonConverters.ListFlagsV2State.g.cs} | 14 +- ...nConverters.ListFlagsV2StateNullable.g.cs} | 14 +- ...l.JsonConverters.ListSandboxesSortBy.g.cs} | 14 +- ...onverters.ListSandboxesSortByNullable.g.cs | 60 + ...JsonConverters.ListSandboxesSortOrder.g.cs | 53 + ...erters.ListSandboxesSortOrderNullable.g.cs | 60 + ...erters.ListSessionSnapshotsSortOrder.g.cs} | 14 +- ...istSessionSnapshotsSortOrderNullable.g.cs} | 14 +- ...JsonConverters.ListSessionsSortOrder.g.cs} | 14 +- ...erters.ListSessionsSortOrderNullable.g.cs} | 14 +- ...el.JsonConverters.ListTeamFlagsV2Kind.g.cs | 53 + ...onverters.ListTeamFlagsV2KindNullable.g.cs | 60 + ...l.JsonConverters.ListTeamFlagsV2State.g.cs | 53 + ...nverters.ListTeamFlagsV2StateNullable.g.cs | 60 + ...dboxRequestNetworkPolicyVariant1Mode.g.cs} | 14 +- ...estNetworkPolicyVariant1ModeNullable.g.cs} | 14 +- ...nverters.UpdateSandboxRequestRuntime.g.cs} | 14 +- ....UpdateSandboxRequestRuntimeNullable.g.cs} | 14 +- ...ssionNetworkPolicyRequestVariant1Mode.g.cs | 53 + ...workPolicyRequestVariant1ModeNullable.g.cs | 60 + ...Vercel.JsonSerializerContext.Chunk000.g.cs | 66 +- ...Vercel.JsonSerializerContext.Chunk001.g.cs | 66 +- ...Vercel.JsonSerializerContext.Chunk002.g.cs | 220 ++-- ...Vercel.JsonSerializerContext.Chunk003.g.cs | 82 +- ...Vercel.JsonSerializerContext.Chunk004.g.cs | 72 +- ...Vercel.JsonSerializerContext.Chunk005.g.cs | 72 +- ...Vercel.JsonSerializerContext.Chunk006.g.cs | 72 +- ...Vercel.JsonSerializerContext.Chunk007.g.cs | 80 +- ...Vercel.JsonSerializerContext.Chunk008.g.cs | 80 +- ...Vercel.JsonSerializerContext.Chunk009.g.cs | 80 +- ...Vercel.JsonSerializerContext.Chunk010.g.cs | 80 +- ...Vercel.JsonSerializerContext.Chunk011.g.cs | 80 +- ...Vercel.JsonSerializerContext.Chunk012.g.cs | 80 +- ...Vercel.JsonSerializerContext.Chunk013.g.cs | 146 +-- ...Vercel.JsonSerializerContext.Chunk014.g.cs | 80 +- ...Vercel.JsonSerializerContext.Chunk015.g.cs | 114 +- ...Vercel.JsonSerializerContext.Chunk016.g.cs | 74 +- ...Vercel.JsonSerializerContext.Chunk017.g.cs | 70 +- ...BySessionIdCmdByCmdIdKillRequest.Json.g.cs | 92 -- ...ySessionIdCmdByCmdIdKillResponse.Json.g.cs | 92 -- ...SessionsBySessionIdCmdRequestEnv.Json.g.cs | 92 -- ...esSessionsBySessionIdCmdResponse.Json.g.cs | 92 -- ...sSessionsBySessionIdCmdResponse2.Json.g.cs | 92 -- ...sBySessionIdExtendTimeoutRequest.Json.g.cs | 92 -- ...BySessionIdExtendTimeoutResponse.Json.g.cs | 92 -- ...essionsBySessionIdFsMkdirRequest.Json.g.cs | 92 -- ...ssionsBySessionIdFsMkdirResponse.Json.g.cs | 92 -- ...SessionsBySessionIdFsReadRequest.Json.g.cs | 92 -- ...ssionsBySessionIdFsWriteResponse.Json.g.cs | 92 -- ...onIdNetworkPolicyRequestVariant1.Json.g.cs | 92 -- ...licyRequestVariant1InjectionRule.Json.g.cs | 92 -- ...uestVariant1InjectionRuleHeaders.Json.g.cs | 92 -- ...equestVariant1InjectionRuleMatch.Json.g.cs | 92 -- ...Variant1InjectionRuleMatchHeader.Json.g.cs | 92 -- ...questVariant1InjectionRuleMatchHeader.g.cs | 57 - ...iant1InjectionRuleMatchHeaderKey.Json.g.cs | 92 -- ...stVariant1InjectionRuleMatchHeaderKey.g.cs | 57 - ...nt1InjectionRuleMatchHeaderValue.Json.g.cs | 92 -- ...Variant1InjectionRuleMatchHeaderValue.g.cs | 57 - ...stVariant1InjectionRuleMatchPath.Json.g.cs | 92 -- ...RequestVariant1InjectionRuleMatchPath.g.cs | 57 - ...njectionRuleMatchQueryStringItem.Json.g.cs | 92 -- ...ant1InjectionRuleMatchQueryStringItem.g.cs | 57 - ...ctionRuleMatchQueryStringItemKey.Json.g.cs | 92 -- ...1InjectionRuleMatchQueryStringItemKey.g.cs | 57 - ...ionRuleMatchQueryStringItemValue.Json.g.cs | 92 -- ...njectionRuleMatchQueryStringItemValue.g.cs | 57 - ...ionIdNetworkPolicyRequestVariant1Mode.g.cs | 70 -- ...onIdNetworkPolicyRequestVariant2.Json.g.cs | 92 -- ...etworkPolicyRequestVariant2Allow.Json.g.cs | 92 -- ...rkPolicyRequestVariant2AllowItem.Json.g.cs | 92 -- ...icyRequestVariant2AllowItemMatch.Json.g.cs | 92 -- ...uestVariant2AllowItemMatchHeader.Json.g.cs | 92 -- ...cyRequestVariant2AllowItemMatchHeader.g.cs | 57 - ...tVariant2AllowItemMatchHeaderKey.Json.g.cs | 92 -- ...equestVariant2AllowItemMatchHeaderKey.g.cs | 57 - ...ariant2AllowItemMatchHeaderValue.Json.g.cs | 92 -- ...uestVariant2AllowItemMatchHeaderValue.g.cs | 57 - ...equestVariant2AllowItemMatchPath.Json.g.cs | 92 -- ...licyRequestVariant2AllowItemMatchPath.g.cs | 57 - ...nt2AllowItemMatchQueryStringItem.Json.g.cs | 92 -- ...Variant2AllowItemMatchQueryStringItem.g.cs | 57 - ...AllowItemMatchQueryStringItemKey.Json.g.cs | 92 -- ...iant2AllowItemMatchQueryStringItemKey.g.cs | 57 - ...lowItemMatchQueryStringItemValue.Json.g.cs | 92 -- ...nt2AllowItemMatchQueryStringItemValue.g.cs | 57 - ...stVariant2AllowItemTransformItem.Json.g.cs | 92 -- ...nt2AllowItemTransformItemHeaders.Json.g.cs | 92 -- ...Variant2AllowItemTransformItemHeaders.g.cs | 19 - ...workPolicyRequestVariant2Subnets.Json.g.cs | 92 -- ...BySessionIdNetworkPolicyResponse.Json.g.cs | 92 -- ...ssionsBySessionIdSnapshotRequest.Json.g.cs | 92 -- ...ssionIdSnapshotRequestExpiration.Json.g.cs | 92 -- ...sBySessionIdSnapshotRequestExpiration.g.cs | 19 - ...sionsBySessionIdSnapshotResponse.Json.g.cs | 92 -- ...sBySessionIdStopResponseVariant1.Json.g.cs | 92 -- ...sBySessionIdStopResponseVariant2.Json.g.cs | 92 -- ...ls.CreateSessionDirectoryRequest.Json.g.cs | 92 ++ ...Models.CreateSessionDirectoryRequest.g.cs} | 10 +- ....CreateSessionDirectoryResponse.Json.g.cs} | 22 +- ...odels.CreateSessionDirectoryResponse.g.cs} | 2 +- ...els.CreateSessionSnapshotRequest.Json.g.cs | 92 ++ ....Models.CreateSessionSnapshotRequest.g.cs} | 10 +- ...essionSnapshotRequestExpiration.Json.g.cs} | 22 +- ...eateSessionSnapshotRequestExpiration.g.cs} | 2 +- ...ls.CreateSessionSnapshotResponse.Json.g.cs | 92 ++ ...Models.CreateSessionSnapshotResponse.g.cs} | 10 +- ...cel.Models.DeleteSandboxResponse.Json.g.cs | 92 ++ ... Vercel.Models.DeleteSandboxResponse.g.cs} | 10 +- ...xesSnapshotsBySnapshotIdResponse.Json.g.cs | 92 -- ...s.DeleteSessionSnapshotResponse.Json.g.cs} | 22 +- ...Models.DeleteSessionSnapshotResponse.g.cs} | 10 +- ...dels.ExtendSessionTimeoutRequest.Json.g.cs | 92 ++ ...l.Models.ExtendSessionTimeoutRequest.g.cs} | 10 +- ...els.ExtendSessionTimeoutResponse.Json.g.cs | 92 ++ ....Models.ExtendSessionTimeoutResponse.g.cs} | 10 +- ...l.Models.GetNamedSandboxResponse.Json.g.cs | 92 ++ ...ercel.Models.GetNamedSandboxResponse.g.cs} | 10 +- ...IdCmdByCmdIdLogsResponseVariant1.Json.g.cs | 92 -- ...dByCmdIdLogsResponseVariant1Data.Json.g.cs | 92 -- ...IdCmdByCmdIdLogsResponseVariant2.Json.g.cs | 92 -- ...onsBySessionIdCmdByCmdIdResponse.Json.g.cs | 92 -- ...esSessionsBySessionIdCmdResponse.Json.g.cs | 92 -- ...boxesSessionsBySessionIdResponse.Json.g.cs | 92 -- ...ndboxesSnapshotsResponseVariant2.Json.g.cs | 92 -- ...pshotsResponseVariant2Pagination.Json.g.cs | 92 -- ...sionCommandLogsResponseVariant1.Json.g.cs} | 22 +- ...etSessionCommandLogsResponseVariant1.g.cs} | 14 +- ...CommandLogsResponseVariant1Data.Json.g.cs} | 22 +- ...ssionCommandLogsResponseVariant1Data.g.cs} | 22 +- ...nCommandLogsResponseVariant1DataCode.g.cs} | 12 +- ...mmandLogsResponseVariant1DataMessage.g.cs} | 12 +- ...sionCommandLogsResponseVariant2.Json.g.cs} | 22 +- ...etSessionCommandLogsResponseVariant2.g.cs} | 10 +- ...Models.GetSessionCommandResponse.Json.g.cs | 92 ++ ...cel.Models.GetSessionCommandResponse.g.cs} | 10 +- ... Vercel.Models.GetSessionCommandWait.g.cs} | 16 +- ...Vercel.Models.GetSessionResponse.Json.g.cs | 92 ++ ... => Vercel.Models.GetSessionResponse.g.cs} | 10 +- ...dels.GetSessionSnapshotResponse.Json.g.cs} | 22 +- ...el.Models.GetSessionSnapshotResponse.g.cs} | 10 +- ...Models.KillSessionCommandRequest.Json.g.cs | 92 ++ ...cel.Models.KillSessionCommandRequest.g.cs} | 10 +- ...odels.KillSessionCommandResponse.Json.g.cs | 92 ++ ...el.Models.KillSessionCommandResponse.g.cs} | 10 +- ...ercel.Models.ListFlagsV2Response.Json.g.cs | 92 ++ .../Vercel.Models.ListFlagsV2Response.g.cs | 55 + ...ls.ListFlagsV2ResponsePagination.Json.g.cs | 92 ++ ....Models.ListFlagsV2ResponsePagination.g.cs | 44 + .../Vercel.Models.ListFlagsV2State.g.cs | 51 + ...cel.Models.ListSandboxesResponse.Json.g.cs | 92 ++ ... Vercel.Models.ListSandboxesResponse.g.cs} | 14 +- ....ListSandboxesResponsePagination.Json.g.cs | 92 ++ ...dels.ListSandboxesResponsePagination.g.cs} | 10 +- ...=> Vercel.Models.ListSandboxesSortBy.g.cs} | 24 +- ...Vercel.Models.ListSandboxesSortOrder.g.cs} | 16 +- ...dels.ListSessionCommandsResponse.Json.g.cs | 92 ++ ...l.Models.ListSessionCommandsResponse.g.cs} | 10 +- ...essionSnapshotsResponseVariant1.Json.g.cs} | 22 +- ...ListSessionSnapshotsResponseVariant1.g.cs} | 2 +- ...essionSnapshotsResponseVariant2.Json.g.cs} | 22 +- ...ListSessionSnapshotsResponseVariant2.g.cs} | 14 +- ...shotsResponseVariant2Pagination.Json.g.cs} | 22 +- ...nSnapshotsResponseVariant2Pagination.g.cs} | 10 +- ...Models.ListSessionSnapshotsSortOrder.g.cs} | 16 +- ...els.ListSessionsResponseVariant1.Json.g.cs | 92 ++ ....Models.ListSessionsResponseVariant1.g.cs} | 2 +- ...els.ListSessionsResponseVariant2.Json.g.cs | 92 ++ ....Models.ListSessionsResponseVariant2.g.cs} | 14 +- ...ssionsResponseVariant2Pagination.Json.g.cs | 92 ++ ...stSessionsResponseVariant2Pagination.g.cs} | 10 +- ... Vercel.Models.ListSessionsSortOrder.g.cs} | 16 +- .../Vercel.Models.ListTeamFlagsV2Kind.g.cs | 63 + ...l.Models.ListTeamFlagsV2Response.Json.g.cs | 92 ++ ...Vercel.Models.ListTeamFlagsV2Response.g.cs | 55 + ...istTeamFlagsV2ResponsePagination.Json.g.cs | 92 ++ ...els.ListTeamFlagsV2ResponsePagination.g.cs | 44 + .../Vercel.Models.ListTeamFlagsV2State.g.cs | 51 + .../Generated/Vercel.Models.NamedSandbox.g.cs | 4 +- .../Vercel.Models.NamedSandboxMounts.g.cs | 2 +- .../Vercel.Models.NamedSandboxMounts2.g.cs | 12 +- ...el.Models.ReadSessionFileRequest.Json.g.cs | 92 ++ ...Vercel.Models.ReadSessionFileRequest.g.cs} | 10 +- ....Models.RunSessionCommandRequest.Json.g.cs | 92 ++ ...rcel.Models.RunSessionCommandRequest.g.cs} | 10 +- ...dels.RunSessionCommandRequestEnv.Json.g.cs | 92 ++ ...l.Models.RunSessionCommandRequestEnv.g.cs} | 2 +- ...Models.RunSessionCommandResponse.Json.g.cs | 92 ++ ...cel.Models.RunSessionCommandResponse.g.cs} | 10 +- ...odels.RunSessionCommandResponse2.Json.g.cs | 92 ++ ...el.Models.RunSessionCommandResponse2.g.cs} | 10 +- ...dels.StopSessionResponseVariant1.Json.g.cs | 92 ++ ...l.Models.StopSessionResponseVariant1.g.cs} | 10 +- ...dels.StopSessionResponseVariant2.Json.g.cs | 92 ++ ...l.Models.StopSessionResponseVariant2.g.cs} | 10 +- ...cel.Models.UpdateSandboxRequest.Json.g.cs} | 22 +- ...> Vercel.Models.UpdateSandboxRequest.g.cs} | 32 +- ....Models.UpdateSandboxRequestEnv.Json.g.cs} | 22 +- ...ercel.Models.UpdateSandboxRequestEnv.g.cs} | 2 +- ...SandboxRequestKeepLastSnapshots.Json.g.cs} | 22 +- ...pdateSandboxRequestKeepLastSnapshots.g.cs} | 10 +- ...uestKeepLastSnapshotsExpiration.Json.g.cs} | 22 +- ...boxRequestKeepLastSnapshotsExpiration.g.cs | 19 + ...dboxRequestNetworkPolicyVariant1.Json.g.cs | 92 ++ ...eSandboxRequestNetworkPolicyVariant1.g.cs} | 20 +- ...tworkPolicyVariant1InjectionRule.Json.g.cs | 92 ++ ...stNetworkPolicyVariant1InjectionRule.g.cs} | 14 +- ...licyVariant1InjectionRuleHeaders.Json.g.cs | 92 ++ ...rkPolicyVariant1InjectionRuleHeaders.g.cs} | 2 +- ...PolicyVariant1InjectionRuleMatch.Json.g.cs | 92 ++ ...workPolicyVariant1InjectionRuleMatch.g.cs} | 22 +- ...Variant1InjectionRuleMatchHeader.Json.g.cs | 92 ++ ...licyVariant1InjectionRuleMatchHeader.g.cs} | 18 +- ...iant1InjectionRuleMatchHeaderKey.Json.g.cs | 92 ++ ...yVariant1InjectionRuleMatchHeaderKey.g.cs} | 10 +- ...nt1InjectionRuleMatchHeaderValue.Json.g.cs | 92 ++ ...ariant1InjectionRuleMatchHeaderValue.g.cs} | 10 +- ...cyVariant1InjectionRuleMatchPath.Json.g.cs | 92 ++ ...PolicyVariant1InjectionRuleMatchPath.g.cs} | 10 +- ...njectionRuleMatchQueryStringItem.Json.g.cs | 92 ++ ...nt1InjectionRuleMatchQueryStringItem.g.cs} | 18 +- ...ctionRuleMatchQueryStringItemKey.Json.g.cs | 92 ++ ...InjectionRuleMatchQueryStringItemKey.g.cs} | 10 +- ...ionRuleMatchQueryStringItemValue.Json.g.cs | 92 ++ ...jectionRuleMatchQueryStringItemValue.g.cs} | 10 +- ...ndboxRequestNetworkPolicyVariant1Mode.g.cs | 70 ++ ...dboxRequestNetworkPolicyVariant2.Json.g.cs | 92 ++ ...eSandboxRequestNetworkPolicyVariant2.g.cs} | 20 +- ...questNetworkPolicyVariant2Allow.Json.g.cs} | 22 +- ...dboxRequestNetworkPolicyVariant2Allow.g.cs | 19 + ...tNetworkPolicyVariant2AllowItem.Json.g.cs} | 22 +- ...equestNetworkPolicyVariant2AllowItem.g.cs} | 18 +- ...orkPolicyVariant2AllowItemMatch.Json.g.cs} | 22 +- ...tNetworkPolicyVariant2AllowItemMatch.g.cs} | 22 +- ...licyVariant2AllowItemMatchHeader.Json.g.cs | 92 ++ ...rkPolicyVariant2AllowItemMatchHeader.g.cs} | 18 +- ...yVariant2AllowItemMatchHeaderKey.Json.g.cs | 92 ++ ...olicyVariant2AllowItemMatchHeaderKey.g.cs} | 10 +- ...ariant2AllowItemMatchHeaderValue.Json.g.cs | 92 ++ ...icyVariant2AllowItemMatchHeaderValue.g.cs} | 10 +- ...PolicyVariant2AllowItemMatchPath.Json.g.cs | 92 ++ ...workPolicyVariant2AllowItemMatchPath.g.cs} | 10 +- ...nt2AllowItemMatchQueryStringItem.Json.g.cs | 92 ++ ...ariant2AllowItemMatchQueryStringItem.g.cs} | 18 +- ...AllowItemMatchQueryStringItemKey.Json.g.cs | 92 ++ ...ant2AllowItemMatchQueryStringItemKey.g.cs} | 10 +- ...lowItemMatchQueryStringItemValue.Json.g.cs | 92 ++ ...nt2AllowItemMatchQueryStringItemValue.g.cs | 57 + ...cyVariant2AllowItemTransformItem.Json.g.cs | 92 ++ ...PolicyVariant2AllowItemTransformItem.g.cs} | 10 +- ...nt2AllowItemTransformItemHeaders.Json.g.cs | 92 ++ ...ariant2AllowItemTransformItemHeaders.g.cs} | 2 +- ...uestNetworkPolicyVariant2Subnets.Json.g.cs | 92 ++ ...xRequestNetworkPolicyVariant2Subnets.g.cs} | 10 +- ...s.UpdateSandboxRequestResources.Json.g.cs} | 22 +- ...Models.UpdateSandboxRequestResources.g.cs} | 10 +- ...l.Models.UpdateSandboxRequestRuntime.g.cs} | 24 +- ...SandboxRequestSnapshotExpiration.Json.g.cs | 92 ++ ...pdateSandboxRequestSnapshotExpiration.g.cs | 19 + ...Models.UpdateSandboxRequestTags.Json.g.cs} | 22 +- ...rcel.Models.UpdateSandboxRequestTags.g.cs} | 2 +- ...ls.UpdateSandboxResponseVariant1.Json.g.cs | 92 ++ ...Models.UpdateSandboxResponseVariant1.g.cs} | 10 +- ...ls.UpdateSandboxResponseVariant2.Json.g.cs | 92 ++ ...Models.UpdateSandboxResponseVariant2.g.cs} | 10 +- ...ameRequestKeepLastSnapshotsExpiration.g.cs | 19 - ...tworkPolicyVariant1InjectionRule.Json.g.cs | 92 -- ...licyVariant1InjectionRuleHeaders.Json.g.cs | 92 -- ...PolicyVariant1InjectionRuleMatch.Json.g.cs | 92 -- ...Variant1InjectionRuleMatchHeader.Json.g.cs | 92 -- ...iant1InjectionRuleMatchHeaderKey.Json.g.cs | 92 -- ...nt1InjectionRuleMatchHeaderValue.Json.g.cs | 92 -- ...cyVariant1InjectionRuleMatchPath.Json.g.cs | 92 -- ...njectionRuleMatchQueryStringItem.Json.g.cs | 92 -- ...ctionRuleMatchQueryStringItemKey.Json.g.cs | 92 -- ...ionRuleMatchQueryStringItemValue.Json.g.cs | 92 -- ...yNameRequestNetworkPolicyVariant1Mode.g.cs | 70 -- ...NameRequestNetworkPolicyVariant2.Json.g.cs | 92 -- ...equestNetworkPolicyVariant2Allow.Json.g.cs | 92 -- ...NameRequestNetworkPolicyVariant2Allow.g.cs | 19 - ...stNetworkPolicyVariant2AllowItem.Json.g.cs | 92 -- ...workPolicyVariant2AllowItemMatch.Json.g.cs | 92 -- ...licyVariant2AllowItemMatchHeader.Json.g.cs | 92 -- ...yVariant2AllowItemMatchHeaderKey.Json.g.cs | 92 -- ...ariant2AllowItemMatchHeaderValue.Json.g.cs | 92 -- ...PolicyVariant2AllowItemMatchPath.Json.g.cs | 92 -- ...nt2AllowItemMatchQueryStringItem.Json.g.cs | 92 -- ...AllowItemMatchQueryStringItemKey.Json.g.cs | 92 -- ...lowItemMatchQueryStringItemValue.Json.g.cs | 92 -- ...cyVariant2AllowItemTransformItem.Json.g.cs | 92 -- ...nt2AllowItemTransformItemHeaders.Json.g.cs | 92 -- ...Variant2AllowItemTransformItemHeaders.g.cs | 19 - ...uestNetworkPolicyVariant2Subnets.Json.g.cs | 92 -- ...eSandboxesByNameResponseVariant1.Json.g.cs | 92 -- ...sionNetworkPolicyRequestVariant1.Json.g.cs | 92 ++ ...eSessionNetworkPolicyRequestVariant1.g.cs} | 20 +- ...licyRequestVariant1InjectionRule.Json.g.cs | 92 ++ ...rkPolicyRequestVariant1InjectionRule.g.cs} | 14 +- ...uestVariant1InjectionRuleHeaders.Json.g.cs | 92 ++ ...yRequestVariant1InjectionRuleHeaders.g.cs} | 2 +- ...equestVariant1InjectionRuleMatch.Json.g.cs | 92 ++ ...icyRequestVariant1InjectionRuleMatch.g.cs} | 22 +- ...Variant1InjectionRuleMatchHeader.Json.g.cs | 92 ++ ...questVariant1InjectionRuleMatchHeader.g.cs | 57 + ...iant1InjectionRuleMatchHeaderKey.Json.g.cs | 92 ++ ...stVariant1InjectionRuleMatchHeaderKey.g.cs | 57 + ...nt1InjectionRuleMatchHeaderValue.Json.g.cs | 92 ++ ...Variant1InjectionRuleMatchHeaderValue.g.cs | 57 + ...stVariant1InjectionRuleMatchPath.Json.g.cs | 92 ++ ...RequestVariant1InjectionRuleMatchPath.g.cs | 57 + ...njectionRuleMatchQueryStringItem.Json.g.cs | 92 ++ ...ant1InjectionRuleMatchQueryStringItem.g.cs | 57 + ...ctionRuleMatchQueryStringItemKey.Json.g.cs | 92 ++ ...1InjectionRuleMatchQueryStringItemKey.g.cs | 57 + ...ionRuleMatchQueryStringItemValue.Json.g.cs | 92 ++ ...jectionRuleMatchQueryStringItemValue.g.cs} | 10 +- ...ssionNetworkPolicyRequestVariant1Mode.g.cs | 70 ++ ...sionNetworkPolicyRequestVariant2.Json.g.cs | 92 ++ ...eSessionNetworkPolicyRequestVariant2.g.cs} | 20 +- ...etworkPolicyRequestVariant2Allow.Json.g.cs | 92 ++ ...sionNetworkPolicyRequestVariant2Allow.g.cs | 19 + ...rkPolicyRequestVariant2AllowItem.Json.g.cs | 92 ++ ...etworkPolicyRequestVariant2AllowItem.g.cs} | 18 +- ...icyRequestVariant2AllowItemMatch.Json.g.cs | 92 ++ ...kPolicyRequestVariant2AllowItemMatch.g.cs} | 22 +- ...uestVariant2AllowItemMatchHeader.Json.g.cs | 92 ++ ...cyRequestVariant2AllowItemMatchHeader.g.cs | 57 + ...tVariant2AllowItemMatchHeaderKey.Json.g.cs | 92 ++ ...equestVariant2AllowItemMatchHeaderKey.g.cs | 57 + ...ariant2AllowItemMatchHeaderValue.Json.g.cs | 92 ++ ...uestVariant2AllowItemMatchHeaderValue.g.cs | 57 + ...equestVariant2AllowItemMatchPath.Json.g.cs | 92 ++ ...licyRequestVariant2AllowItemMatchPath.g.cs | 57 + ...nt2AllowItemMatchQueryStringItem.Json.g.cs | 92 ++ ...Variant2AllowItemMatchQueryStringItem.g.cs | 57 + ...AllowItemMatchQueryStringItemKey.Json.g.cs | 92 ++ ...iant2AllowItemMatchQueryStringItemKey.g.cs | 57 + ...lowItemMatchQueryStringItemValue.Json.g.cs | 92 ++ ...nt2AllowItemMatchQueryStringItemValue.g.cs | 57 + ...stVariant2AllowItemTransformItem.Json.g.cs | 92 ++ ...equestVariant2AllowItemTransformItem.g.cs} | 10 +- ...nt2AllowItemTransformItemHeaders.Json.g.cs | 92 ++ ...ariant2AllowItemTransformItemHeaders.g.cs} | 2 +- ...workPolicyRequestVariant2Subnets.Json.g.cs | 92 ++ ...nNetworkPolicyRequestVariant2Subnets.g.cs} | 10 +- ...dateSessionNetworkPolicyResponse.Json.g.cs | 92 ++ ...s.UpdateSessionNetworkPolicyResponse.g.cs} | 10 +- ...Models.WriteSessionFilesResponse.Json.g.cs | 92 ++ ...rcel.Models.WriteSessionFilesResponse.g.cs | 19 + ...rcel.SandboxesClient.CreateSandboxes.g.cs} | 63 +- ...ndboxesClient.CreateSessionDirectory.g.cs} | 129 +- ...andboxesClient.CreateSessionSnapshot.g.cs} | 137 +- ...Vercel.SandboxesClient.DeleteSandbox.g.cs} | 116 +- ...andboxesClient.DeleteSessionSnapshot.g.cs} | 118 +- ...SandboxesClient.ExtendSessionTimeout.g.cs} | 137 +- ...rcel.SandboxesClient.GetNamedSandbox.g.cs} | 116 +- ...=> Vercel.SandboxesClient.GetSession.g.cs} | 118 +- ...el.SandboxesClient.GetSessionCommand.g.cs} | 120 +- ...andboxesClient.GetSessionCommandLogs.g.cs} | 91 +- ...l.SandboxesClient.GetSessionSnapshot.g.cs} | 118 +- ...l.SandboxesClient.KillSessionCommand.g.cs} | 137 +- ...Vercel.SandboxesClient.ListSandboxes.g.cs} | 132 +- ....SandboxesClient.ListSessionCommands.g.cs} | 118 +- ...SandboxesClient.ListSessionSnapshots.g.cs} | 120 +- ... Vercel.SandboxesClient.ListSessions.g.cs} | 120 +- ...rcel.SandboxesClient.ReadSessionFile.g.cs} | 194 ++- ...el.SandboxesClient.RunSessionCommand.g.cs} | 137 +- ...oxesClient.RunSessionCommandAsStream.g.cs} | 108 +- ...> Vercel.SandboxesClient.StopSession.g.cs} | 118 +- ...Vercel.SandboxesClient.UpdateSandbox.g.cs} | 143 ++- ...xesClient.UpdateSessionNetworkPolicy.g.cs} | 137 +- ...el.SandboxesClient.WriteSessionFiles.g.cs} | 110 +- .../Generated/Vercel.SandboxesClient.g.cs | 136 ++ .../Vercel/Generated/Vercel.VercelClient.g.cs | 9 + src/libs/Vercel/openapi.yaml | 1098 +++++++++++++++-- 420 files changed, 16308 insertions(+), 11222 deletions(-) create mode 100644 src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlagsV2.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListTeamFlagsV2.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListFlagsV2.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListTeamFlagsV2.g.cs rename src/libs/Vercel/Generated/{Vercel.IVercelClient.CreateSandboxes.g.cs => Vercel.ISandboxesClient.CreateSandboxes.g.cs} (80%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsMkdir.g.cs => Vercel.ISandboxesClient.CreateSessionDirectory.g.cs} (63%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdSnapshot.g.cs => Vercel.ISandboxesClient.CreateSessionSnapshot.g.cs} (53%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.DeleteSandboxesByName.g.cs => Vercel.ISandboxesClient.DeleteSandbox.g.cs} (62%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.DeleteSandboxesSnapshotsBySnapshotId.g.cs => Vercel.ISandboxesClient.DeleteSessionSnapshot.g.cs} (57%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdExtendTimeout.g.cs => Vercel.ISandboxesClient.ExtendSessionTimeout.g.cs} (56%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.GetSandboxesByName.g.cs => Vercel.ISandboxesClient.GetNamedSandbox.g.cs} (67%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.GetSandboxesSessionsBySessionId.g.cs => Vercel.ISandboxesClient.GetSession.g.cs} (57%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.GetSandboxesSessionsBySessionIdCmdByCmdId.g.cs => Vercel.ISandboxesClient.GetSessionCommand.g.cs} (64%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.GetSandboxesSessionsBySessionIdCmdByCmdIdLogs.g.cs => Vercel.ISandboxesClient.GetSessionCommandLogs.g.cs} (58%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.GetSandboxesSnapshotsBySnapshotId.g.cs => Vercel.ISandboxesClient.GetSessionSnapshot.g.cs} (56%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdCmdByCmdIdKill.g.cs => Vercel.ISandboxesClient.KillSessionCommand.g.cs} (60%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.GetSandboxes.g.cs => Vercel.ISandboxesClient.ListSandboxes.g.cs} (72%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.GetSandboxesSessionsBySessionIdCmd.g.cs => Vercel.ISandboxesClient.ListSessionCommands.g.cs} (55%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.GetSandboxesSnapshots.g.cs => Vercel.ISandboxesClient.ListSessionSnapshots.g.cs} (73%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.GetSandboxesSessions.g.cs => Vercel.ISandboxesClient.ListSessions.g.cs} (71%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsRead.g.cs => Vercel.ISandboxesClient.ReadSessionFile.g.cs} (60%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdCmd.g.cs => Vercel.ISandboxesClient.RunSessionCommand.g.cs} (63%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdCmdAsStream.g.cs => Vercel.ISandboxesClient.RunSessionCommandAsStream.g.cs} (69%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdStop.g.cs => Vercel.ISandboxesClient.StopSession.g.cs} (54%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.UpdateSandboxesByName.g.cs => Vercel.ISandboxesClient.UpdateSandbox.g.cs} (74%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdNetworkPolicy.g.cs => Vercel.ISandboxesClient.UpdateSessionNetworkPolicy.g.cs} (50%) rename src/libs/Vercel/Generated/{Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsWrite.g.cs => Vercel.ISandboxesClient.WriteSessionFiles.g.cs} (60%) create mode 100644 src/libs/Vercel/Generated/Vercel.ISandboxesClient.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullable.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullable.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullable.g.cs rename src/libs/Vercel/Generated/{Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWait.g.cs => Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCode.g.cs} (62%) rename src/libs/Vercel/Generated/{Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullable.g.cs => Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullable.g.cs} (65%) create mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessage.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullable.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandWait.g.cs rename src/libs/Vercel/Generated/{Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullable.g.cs => Vercel.JsonConverters.GetSessionCommandWaitNullable.g.cs} (68%) rename src/libs/Vercel/Generated/{Vercel.JsonConverters.GetSandboxesSortBy.g.cs => Vercel.JsonConverters.ListFlagsV2State.g.cs} (69%) rename src/libs/Vercel/Generated/{Vercel.JsonConverters.GetSandboxesSortByNullable.g.cs => Vercel.JsonConverters.ListFlagsV2StateNullable.g.cs} (71%) rename src/libs/Vercel/Generated/{Vercel.JsonConverters.GetSandboxesSnapshotsSortOrder.g.cs => Vercel.JsonConverters.ListSandboxesSortBy.g.cs} (66%) create mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortByNullable.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortOrder.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortOrderNullable.g.cs rename src/libs/Vercel/Generated/{Vercel.JsonConverters.GetSandboxesSessionsSortOrder.g.cs => Vercel.JsonConverters.ListSessionSnapshotsSortOrder.g.cs} (70%) rename src/libs/Vercel/Generated/{Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullable.g.cs => Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullable.g.cs} (72%) rename src/libs/Vercel/Generated/{Vercel.JsonConverters.GetSandboxesSortOrder.g.cs => Vercel.JsonConverters.ListSessionsSortOrder.g.cs} (77%) rename src/libs/Vercel/Generated/{Vercel.JsonConverters.GetSandboxesSortOrderNullable.g.cs => Vercel.JsonConverters.ListSessionsSortOrderNullable.g.cs} (75%) create mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2Kind.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2KindNullable.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2State.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2StateNullable.g.cs rename src/libs/Vercel/Generated/{Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.g.cs => Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1Mode.g.cs} (63%) rename src/libs/Vercel/Generated/{Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullable.g.cs => Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullable.g.cs} (65%) rename src/libs/Vercel/Generated/{Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntime.g.cs => Vercel.JsonConverters.UpdateSandboxRequestRuntime.g.cs} (67%) rename src/libs/Vercel/Generated/{Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullable.g.cs => Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullable.g.cs} (69%) create mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1Mode.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullable.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequestEnv.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse2.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirRequest.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirResponse.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsReadRequest.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsWriteResponse.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequest.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotResponse.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant1.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant2.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSessionDirectoryRequest.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirRequest.g.cs => Vercel.Models.CreateSessionDirectoryRequest.g.cs} (90%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesResponsePagination.Json.g.cs => Vercel.Models.CreateSessionDirectoryResponse.Json.g.cs} (85%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSnapshotsResponseVariant1.g.cs => Vercel.Models.CreateSessionDirectoryResponse.g.cs} (87%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotRequest.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequest.g.cs => Vercel.Models.CreateSessionSnapshotRequest.g.cs} (82%) rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequest.Json.g.cs => Vercel.Models.CreateSessionSnapshotRequestExpiration.Json.g.cs} (84%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestSnapshotExpiration.g.cs => Vercel.Models.CreateSessionSnapshotRequestExpiration.g.cs} (85%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotResponse.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotResponse.g.cs => Vercel.Models.CreateSessionSnapshotResponse.g.cs} (87%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxResponse.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.DeleteSandboxesByNameResponse.g.cs => Vercel.Models.DeleteSandboxResponse.g.cs} (86%) delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxesSnapshotsBySnapshotIdResponse.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.DeleteSandboxesByNameResponse.Json.g.cs => Vercel.Models.DeleteSessionSnapshotResponse.Json.g.cs} (87%) rename src/libs/Vercel/Generated/{Vercel.Models.DeleteSandboxesSnapshotsBySnapshotIdResponse.g.cs => Vercel.Models.DeleteSessionSnapshotResponse.g.cs} (83%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ExtendSessionTimeoutRequest.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest.g.cs => Vercel.Models.ExtendSessionTimeoutRequest.g.cs} (74%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ExtendSessionTimeoutResponse.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant1.g.cs => Vercel.Models.ExtendSessionTimeoutResponse.g.cs} (75%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetNamedSandboxResponse.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesByNameResponse.g.cs => Vercel.Models.GetNamedSandboxResponse.g.cs} (89%) delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdResponse.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdResponse.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant2.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant2Pagination.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSnapshotsResponseVariant1.Json.g.cs => Vercel.Models.GetSessionCommandLogsResponseVariant1.Json.g.cs} (86%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1.g.cs => Vercel.Models.GetSessionCommandLogsResponseVariant1.g.cs} (66%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSnapshotsBySnapshotIdResponse.Json.g.cs => Vercel.Models.GetSessionCommandLogsResponseVariant1Data.Json.g.cs} (84%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data.g.cs => Vercel.Models.GetSessionCommandLogsResponseVariant1Data.g.cs} (50%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode.g.cs => Vercel.Models.GetSessionCommandLogsResponseVariant1DataCode.g.cs} (52%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage.g.cs => Vercel.Models.GetSessionCommandLogsResponseVariant1DataMessage.g.cs} (52%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameResponseVariant2.Json.g.cs => Vercel.Models.GetSessionCommandLogsResponseVariant2.Json.g.cs} (86%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2.g.cs => Vercel.Models.GetSessionCommandLogsResponseVariant2.g.cs} (74%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandResponse.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse.g.cs => Vercel.Models.GetSessionCommandResponse.g.cs} (75%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdWait.g.cs => Vercel.Models.GetSessionCommandWait.g.cs} (60%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.GetSessionResponse.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsBySessionIdResponse.g.cs => Vercel.Models.GetSessionResponse.g.cs} (83%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesByNameResponse.Json.g.cs => Vercel.Models.GetSessionSnapshotResponse.Json.g.cs} (86%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSnapshotsBySnapshotIdResponse.g.cs => Vercel.Models.GetSessionSnapshotResponse.g.cs} (77%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.KillSessionCommandRequest.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest.g.cs => Vercel.Models.KillSessionCommandRequest.g.cs} (75%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.KillSessionCommandResponse.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse2.g.cs => Vercel.Models.KillSessionCommandResponse.g.cs} (75%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2Response.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2Response.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2ResponsePagination.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2ResponsePagination.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2State.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListSandboxesResponse.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesResponse.g.cs => Vercel.Models.ListSandboxesResponse.g.cs} (77%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListSandboxesResponsePagination.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesResponsePagination.g.cs => Vercel.Models.ListSandboxesResponsePagination.g.cs} (78%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSortBy.g.cs => Vercel.Models.ListSandboxesSortBy.g.cs} (58%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSortOrder.g.cs => Vercel.Models.ListSandboxesSortOrder.g.cs} (66%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListSessionCommandsResponse.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsBySessionIdCmdResponse.g.cs => Vercel.Models.ListSessionCommandsResponse.g.cs} (75%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsResponseVariant1.Json.g.cs => Vercel.Models.ListSessionSnapshotsResponseVariant1.Json.g.cs} (86%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsResponseVariant1.g.cs => Vercel.Models.ListSessionSnapshotsResponseVariant1.g.cs} (88%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsResponseVariant2.Json.g.cs => Vercel.Models.ListSessionSnapshotsResponseVariant2.Json.g.cs} (86%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSnapshotsResponseVariant2.g.cs => Vercel.Models.ListSessionSnapshotsResponseVariant2.g.cs} (73%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsResponseVariant2Pagination.Json.g.cs => Vercel.Models.ListSessionSnapshotsResponseVariant2Pagination.Json.g.cs} (86%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsResponseVariant2Pagination.g.cs => Vercel.Models.ListSessionSnapshotsResponseVariant2Pagination.g.cs} (76%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsSortOrder.g.cs => Vercel.Models.ListSessionSnapshotsSortOrder.g.cs} (64%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant1.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdFsWriteResponse.g.cs => Vercel.Models.ListSessionsResponseVariant1.g.cs} (85%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant2.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsResponseVariant2.g.cs => Vercel.Models.ListSessionsResponseVariant2.g.cs} (73%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant2Pagination.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSnapshotsResponseVariant2Pagination.g.cs => Vercel.Models.ListSessionsResponseVariant2Pagination.g.cs} (74%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSnapshotsSortOrder.g.cs => Vercel.Models.ListSessionsSortOrder.g.cs} (63%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2Kind.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2Response.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2Response.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2ResponsePagination.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2ResponsePagination.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2State.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.ReadSessionFileRequest.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdFsReadRequest.g.cs => Vercel.Models.ReadSessionFileRequest.g.cs} (82%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandRequest.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequest.g.cs => Vercel.Models.RunSessionCommandRequest.g.cs} (91%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandRequestEnv.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequestEnv.g.cs => Vercel.Models.RunSessionCommandRequestEnv.g.cs} (89%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandResponse.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse.g.cs => Vercel.Models.RunSessionCommandResponse.g.cs} (74%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandResponse2.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse.g.cs => Vercel.Models.RunSessionCommandResponse2.g.cs} (73%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.StopSessionResponseVariant1.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse.g.cs => Vercel.Models.StopSessionResponseVariant1.g.cs} (75%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.StopSessionResponseVariant2.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant2.g.cs => Vercel.Models.StopSessionResponseVariant2.g.cs} (85%) rename src/libs/Vercel/Generated/{Vercel.Models.GetSandboxesResponse.Json.g.cs => Vercel.Models.UpdateSandboxRequest.Json.g.cs} (87%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequest.g.cs => Vercel.Models.UpdateSandboxRequest.g.cs} (86%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequest.Json.g.cs => Vercel.Models.UpdateSandboxRequestEnv.Json.g.cs} (87%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestEnv.g.cs => Vercel.Models.UpdateSandboxRequestEnv.g.cs} (90%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestResources.Json.g.cs => Vercel.Models.UpdateSandboxRequestKeepLastSnapshots.Json.g.cs} (86%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshots.g.cs => Vercel.Models.UpdateSandboxRequestKeepLastSnapshots.g.cs} (89%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshots.Json.g.cs => Vercel.Models.UpdateSandboxRequestKeepLastSnapshotsExpiration.Json.g.cs} (83%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestKeepLastSnapshotsExpiration.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1.g.cs} (86%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule.g.cs} (83%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders.g.cs} (85%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch.g.cs} (78%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader.g.cs} (62%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.g.cs} (80%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.g.cs} (80%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath.g.cs} (81%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.g.cs} (60%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.g.cs} (79%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.g.cs} (78%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1Mode.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2.g.cs} (71%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestSnapshotExpiration.Json.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Allow.Json.g.cs} (84%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Allow.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1.Json.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItem.Json.g.cs} (83%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItem.g.cs} (76%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration.Json.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch.Json.g.cs} (82%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch.g.cs} (77%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader.g.cs} (61%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.g.cs} (80%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.g.cs} (79%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath.g.cs} (81%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.g.cs} (59%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.g.cs} (78%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem.g.cs} (73%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.g.cs} (82%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Subnets.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets.g.cs => Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Subnets.g.cs} (81%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestEnv.Json.g.cs => Vercel.Models.UpdateSandboxRequestResources.Json.g.cs} (86%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestResources.g.cs => Vercel.Models.UpdateSandboxRequestResources.g.cs} (88%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestRuntime.g.cs => Vercel.Models.UpdateSandboxRequestRuntime.g.cs} (55%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestSnapshotExpiration.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestSnapshotExpiration.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestTags.Json.g.cs => Vercel.Models.UpdateSandboxRequestTags.Json.g.cs} (86%) rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestTags.g.cs => Vercel.Models.UpdateSandboxRequestTags.g.cs} (90%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxResponseVariant1.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameResponseVariant1.g.cs => Vercel.Models.UpdateSandboxResponseVariant1.g.cs} (88%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxResponseVariant2.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameResponseVariant2.g.cs => Vercel.Models.UpdateSandboxResponseVariant2.g.cs} (92%) delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets.Json.g.cs delete mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameResponseVariant1.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1.g.cs => Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1.g.cs} (82%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRule.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule.g.cs => Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRule.g.cs} (78%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders.g.cs => Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders.g.cs} (83%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch.g.cs => Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch.g.cs} (73%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.g.cs => Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.g.cs} (78%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1Mode.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2.g.cs => Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2.g.cs} (63%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Allow.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Allow.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItem.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem.g.cs => Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItem.g.cs} (70%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch.g.cs => Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch.g.cs} (72%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem.g.cs => Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem.g.cs} (63%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirResponse.g.cs => Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.g.cs} (82%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Subnets.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets.g.cs => Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Subnets.g.cs} (72%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyResponse.Json.g.cs rename src/libs/Vercel/Generated/{Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse.g.cs => Vercel.Models.UpdateSessionNetworkPolicyResponse.g.cs} (75%) create mode 100644 src/libs/Vercel/Generated/Vercel.Models.WriteSessionFilesResponse.Json.g.cs create mode 100644 src/libs/Vercel/Generated/Vercel.Models.WriteSessionFilesResponse.g.cs rename src/libs/Vercel/Generated/{Vercel.VercelClient.CreateSandboxes.g.cs => Vercel.SandboxesClient.CreateSandboxes.g.cs} (95%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.CreateSandboxesSessionsBySessionIdFsMkdir.g.cs => Vercel.SandboxesClient.CreateSessionDirectory.g.cs} (88%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.CreateSandboxesSessionsBySessionIdSnapshot.g.cs => Vercel.SandboxesClient.CreateSessionSnapshot.g.cs} (87%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.DeleteSandboxesByName.g.cs => Vercel.SandboxesClient.DeleteSandbox.g.cs} (90%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.DeleteSandboxesSnapshotsBySnapshotId.g.cs => Vercel.SandboxesClient.DeleteSessionSnapshot.g.cs} (87%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.CreateSandboxesSessionsBySessionIdExtendTimeout.g.cs => Vercel.SandboxesClient.ExtendSessionTimeout.g.cs} (87%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.GetSandboxesByName.g.cs => Vercel.SandboxesClient.GetNamedSandbox.g.cs} (90%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.GetSandboxesSessionsBySessionId.g.cs => Vercel.SandboxesClient.GetSession.g.cs} (88%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.GetSandboxesSessionsBySessionIdCmdByCmdId.g.cs => Vercel.SandboxesClient.GetSessionCommand.g.cs} (89%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.GetSandboxesSessionsBySessionIdCmdByCmdIdLogs.g.cs => Vercel.SandboxesClient.GetSessionCommandLogs.g.cs} (83%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.GetSandboxesSnapshotsBySnapshotId.g.cs => Vercel.SandboxesClient.GetSessionSnapshot.g.cs} (87%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.CreateSandboxesSessionsBySessionIdCmdByCmdIdKill.g.cs => Vercel.SandboxesClient.KillSessionCommand.g.cs} (87%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.GetSandboxes.g.cs => Vercel.SandboxesClient.ListSandboxes.g.cs} (88%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.GetSandboxesSessionsBySessionIdCmd.g.cs => Vercel.SandboxesClient.ListSessionCommands.g.cs} (87%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.GetSandboxesSnapshots.g.cs => Vercel.SandboxesClient.ListSessionSnapshots.g.cs} (88%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.GetSandboxesSessions.g.cs => Vercel.SandboxesClient.ListSessions.g.cs} (89%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.CreateSandboxesSessionsBySessionIdFsRead.g.cs => Vercel.SandboxesClient.ReadSessionFile.g.cs} (90%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.CreateSandboxesSessionsBySessionIdCmd.g.cs => Vercel.SandboxesClient.RunSessionCommand.g.cs} (87%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.CreateSandboxesSessionsBySessionIdCmdAsStream.g.cs => Vercel.SandboxesClient.RunSessionCommandAsStream.g.cs} (83%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.CreateSandboxesSessionsBySessionIdStop.g.cs => Vercel.SandboxesClient.StopSession.g.cs} (88%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.UpdateSandboxesByName.g.cs => Vercel.SandboxesClient.UpdateSandbox.g.cs} (89%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.CreateSandboxesSessionsBySessionIdNetworkPolicy.g.cs => Vercel.SandboxesClient.UpdateSessionNetworkPolicy.g.cs} (86%) rename src/libs/Vercel/Generated/{Vercel.VercelClient.CreateSandboxesSessionsBySessionIdFsWrite.g.cs => Vercel.SandboxesClient.WriteSessionFiles.g.cs} (89%) create mode 100644 src/libs/Vercel/Generated/Vercel.SandboxesClient.g.cs diff --git a/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlags.g.cs b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlags.g.cs index 52ccea326..3e87c8668 100644 --- a/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlags.g.cs +++ b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlags.g.cs @@ -1,6 +1,8 @@ #nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + namespace Vercel { public partial class FeatureFlagsClient @@ -68,7 +70,7 @@ partial void ProcessListFlagsResponseContent( /// The state of the flags to retrieve. Defaults to `active`. /// /// - /// Whether to include metadata in the response + /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release. Use `GET /v1/projects/:id/feature-flags/flags/:flagIdOrSlug?withMetadata=true` for single-flag lookups that need creator metadata. /// /// /// Maximum number of flags to return. When not set, all flags are returned. @@ -131,7 +133,7 @@ partial void ProcessListFlagsResponseContent( /// The state of the flags to retrieve. Defaults to `active`. /// /// - /// Whether to include metadata in the response + /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release. Use `GET /v1/projects/:id/feature-flags/flags/:flagIdOrSlug?withMetadata=true` for single-flag lookups that need creator metadata. /// /// /// Maximum number of flags to return. When not set, all flags are returned. diff --git a/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlagsV2.g.cs b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlagsV2.g.cs new file mode 100644 index 000000000..62569e3bc --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListFlagsV2.g.cs @@ -0,0 +1,692 @@ + +#nullable enable + +namespace Vercel +{ + public partial class FeatureFlagsClient + { + + + private static readonly global::Vercel.EndPointSecurityRequirement s_ListFlagsV2SecurityRequirement0 = + new global::Vercel.EndPointSecurityRequirement + { + Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] + { new global::Vercel.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::Vercel.EndPointSecurityRequirement[] s_ListFlagsV2SecurityRequirements = + new global::Vercel.EndPointSecurityRequirement[] + { s_ListFlagsV2SecurityRequirement0, + }; + partial void PrepareListFlagsV2Arguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectIdOrName, + ref global::Vercel.ListFlagsV2State? state, + ref int? limit, + ref string? cursor, + ref string? search, + global::System.Collections.Generic.IList? tags, + ref string? teamId, + ref string? slug); + partial void PrepareListFlagsV2Request( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectIdOrName, + global::Vercel.ListFlagsV2State? state, + int? limit, + string? cursor, + string? search, + global::System.Collections.Generic.IList? tags, + string? teamId, + string? slug); + partial void ProcessListFlagsV2Response( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessListFlagsV2ResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List flags
+ /// Retrieve feature flags for a project. Returns an opaque cursor for pagination. + ///
+ /// + /// The project id or name + /// + /// + /// The state of the flags to retrieve. Defaults to `active`. + /// + /// + /// Maximum number of flags to return.
+ /// Default Value: 25 + /// + /// + /// Pagination cursor to continue from. + /// + /// + /// Search flags by their slug or description. Case-insensitive. + /// + /// + /// Filter flags by tag. Repeat the parameter for multiple tags (all must match). + /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ListFlagsV2Async( + string projectIdOrName, + global::Vercel.ListFlagsV2State? state = default, + int? limit = default, + string? cursor = default, + string? search = default, + global::System.Collections.Generic.IList? tags = default, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ListFlagsV2AsResponseAsync( + projectIdOrName: projectIdOrName, + state: state, + limit: limit, + cursor: cursor, + search: search, + tags: tags, + teamId: teamId, + slug: slug, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// List flags
+ /// Retrieve feature flags for a project. Returns an opaque cursor for pagination. + ///
+ /// + /// The project id or name + /// + /// + /// The state of the flags to retrieve. Defaults to `active`. + /// + /// + /// Maximum number of flags to return.
+ /// Default Value: 25 + /// + /// + /// Pagination cursor to continue from. + /// + /// + /// Search flags by their slug or description. Case-insensitive. + /// + /// + /// Filter flags by tag. Repeat the parameter for multiple tags (all must match). + /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> ListFlagsV2AsResponseAsync( + string projectIdOrName, + global::Vercel.ListFlagsV2State? state = default, + int? limit = default, + string? cursor = default, + string? search = default, + global::System.Collections.Generic.IList? tags = default, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareListFlagsV2Arguments( + httpClient: HttpClient, + projectIdOrName: ref projectIdOrName, + state: ref state, + limit: ref limit, + cursor: ref cursor, + search: ref search, + tags: tags, + teamId: ref teamId, + slug: ref slug); + + + var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ListFlagsV2SecurityRequirements, + operationName: "ListFlagsV2Async"); + + using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::Vercel.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::Vercel.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::Vercel.PathBuilder( + path: $"/v2/projects/{projectIdOrName}/feature-flags/flags", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("state", state?.ToValueString()) + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("cursor", cursor) + .AddOptionalParameter("search", search) + .AddOptionalParameter("tags", tags, delimiter: ",", explode: true) + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; + var __path = __pathBuilder.ToString(); + __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::Vercel.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareListFlagsV2Request( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectIdOrName: projectIdOrName!, + state: state, + limit: limit, + cursor: cursor, + search: search, + tags: tags, + teamId: teamId, + slug: slug); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListFlagsV2", + methodName: "ListFlagsV2Async", + pathTemplate: "$\"/v2/projects/{projectIdOrName}/feature-flags/flags\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListFlagsV2", + methodName: "ListFlagsV2Async", + pathTemplate: "$\"/v2/projects/{projectIdOrName}/feature-flags/flags\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::Vercel.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListFlagsV2", + methodName: "ListFlagsV2Async", + pathTemplate: "$\"/v2/projects/{projectIdOrName}/feature-flags/flags\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessListFlagsV2Response( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListFlagsV2", + methodName: "ListFlagsV2Async", + pathTemplate: "$\"/v2/projects/{projectIdOrName}/feature-flags/flags\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListFlagsV2", + methodName: "ListFlagsV2Async", + pathTemplate: "$\"/v2/projects/{projectIdOrName}/feature-flags/flags\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 402) + { + string? __content_402 = null; + global::System.Exception? __exception_402 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_402 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_402 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_402, + responseBody: __content_402, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessListFlagsV2ResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::Vercel.ListFlagsV2Response.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::Vercel.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::Vercel.ListFlagsV2Response.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::Vercel.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListTeamFlags.g.cs b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListTeamFlags.g.cs index c9af658cd..bbf43809e 100644 --- a/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListTeamFlags.g.cs +++ b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListTeamFlags.g.cs @@ -1,6 +1,8 @@ #nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + namespace Vercel { public partial class FeatureFlagsClient @@ -65,7 +67,7 @@ partial void ProcessListTeamFlagsResponseContent( /// The state of the flags to retrieve. Defaults to `active`. /// /// - /// Whether to include metadata in the response + /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release. /// /// /// Maximum number of flags to return.
@@ -129,7 +131,7 @@ partial void ProcessListTeamFlagsResponseContent( /// The state of the flags to retrieve. Defaults to `active`. /// /// - /// Whether to include metadata in the response + /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release. /// /// /// Maximum number of flags to return.
diff --git a/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListTeamFlagsV2.g.cs b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListTeamFlagsV2.g.cs new file mode 100644 index 000000000..95a77a6d4 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.FeatureFlagsClient.ListTeamFlagsV2.g.cs @@ -0,0 +1,628 @@ + +#nullable enable + +namespace Vercel +{ + public partial class FeatureFlagsClient + { + + + private static readonly global::Vercel.EndPointSecurityRequirement s_ListTeamFlagsV2SecurityRequirement0 = + new global::Vercel.EndPointSecurityRequirement + { + Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] + { new global::Vercel.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::Vercel.EndPointSecurityRequirement[] s_ListTeamFlagsV2SecurityRequirements = + new global::Vercel.EndPointSecurityRequirement[] + { s_ListTeamFlagsV2SecurityRequirement0, + }; + partial void PrepareListTeamFlagsV2Arguments( + global::System.Net.Http.HttpClient httpClient, + ref global::Vercel.ListTeamFlagsV2State? state, + ref int? limit, + ref string? cursor, + ref string? search, + ref global::Vercel.ListTeamFlagsV2Kind? kind, + global::System.Collections.Generic.IList? tags, + ref string teamId, + ref string? slug); + partial void PrepareListTeamFlagsV2Request( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::Vercel.ListTeamFlagsV2State? state, + int? limit, + string? cursor, + string? search, + global::Vercel.ListTeamFlagsV2Kind? kind, + global::System.Collections.Generic.IList? tags, + string teamId, + string? slug); + partial void ProcessListTeamFlagsV2Response( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessListTeamFlagsV2ResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List all flags for a team
+ /// Retrieve all feature flags for a team across all projects. Returns an opaque cursor for pagination. + ///
+ /// + /// The state of the flags to retrieve. Defaults to `active`. + /// + /// + /// Maximum number of flags to return.
+ /// Default Value: 25 + /// + /// + /// Pagination cursor to continue from. + /// + /// + /// Search flags by their slug or description. Case-insensitive. + /// + /// + /// The kind of flags to retrieve. + /// + /// + /// Filter flags by tag. Repeat the parameter for multiple tags (all must match). + /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ListTeamFlagsV2Async( + string teamId, + global::Vercel.ListTeamFlagsV2State? state = default, + int? limit = default, + string? cursor = default, + string? search = default, + global::Vercel.ListTeamFlagsV2Kind? kind = default, + global::System.Collections.Generic.IList? tags = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ListTeamFlagsV2AsResponseAsync( + teamId: teamId, + state: state, + limit: limit, + cursor: cursor, + search: search, + kind: kind, + tags: tags, + slug: slug, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// List all flags for a team
+ /// Retrieve all feature flags for a team across all projects. Returns an opaque cursor for pagination. + ///
+ /// + /// The state of the flags to retrieve. Defaults to `active`. + /// + /// + /// Maximum number of flags to return.
+ /// Default Value: 25 + /// + /// + /// Pagination cursor to continue from. + /// + /// + /// Search flags by their slug or description. Case-insensitive. + /// + /// + /// The kind of flags to retrieve. + /// + /// + /// Filter flags by tag. Repeat the parameter for multiple tags (all must match). + /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> ListTeamFlagsV2AsResponseAsync( + string teamId, + global::Vercel.ListTeamFlagsV2State? state = default, + int? limit = default, + string? cursor = default, + string? search = default, + global::Vercel.ListTeamFlagsV2Kind? kind = default, + global::System.Collections.Generic.IList? tags = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareListTeamFlagsV2Arguments( + httpClient: HttpClient, + state: ref state, + limit: ref limit, + cursor: ref cursor, + search: ref search, + kind: ref kind, + tags: tags, + teamId: ref teamId, + slug: ref slug); + + + var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ListTeamFlagsV2SecurityRequirements, + operationName: "ListTeamFlagsV2Async"); + + using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::Vercel.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::Vercel.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::Vercel.PathBuilder( + path: $"/v2/teams/{teamId}/feature-flags/flags", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("state", state?.ToValueString()) + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("cursor", cursor) + .AddOptionalParameter("search", search) + .AddOptionalParameter("kind", kind?.ToValueString()) + .AddOptionalParameter("tags", tags, delimiter: ",", explode: true) + .AddOptionalParameter("slug", slug) + ; + var __path = __pathBuilder.ToString(); + __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::Vercel.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareListTeamFlagsV2Request( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + state: state, + limit: limit, + cursor: cursor, + search: search, + kind: kind, + tags: tags, + teamId: teamId!, + slug: slug); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListTeamFlagsV2", + methodName: "ListTeamFlagsV2Async", + pathTemplate: "$\"/v2/teams/{teamId}/feature-flags/flags\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListTeamFlagsV2", + methodName: "ListTeamFlagsV2Async", + pathTemplate: "$\"/v2/teams/{teamId}/feature-flags/flags\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::Vercel.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListTeamFlagsV2", + methodName: "ListTeamFlagsV2Async", + pathTemplate: "$\"/v2/teams/{teamId}/feature-flags/flags\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessListTeamFlagsV2Response( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListTeamFlagsV2", + methodName: "ListTeamFlagsV2Async", + pathTemplate: "$\"/v2/teams/{teamId}/feature-flags/flags\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListTeamFlagsV2", + methodName: "ListTeamFlagsV2Async", + pathTemplate: "$\"/v2/teams/{teamId}/feature-flags/flags\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessListTeamFlagsV2ResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::Vercel.ListTeamFlagsV2Response.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::Vercel.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::Vercel.ListTeamFlagsV2Response.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::Vercel.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::Vercel.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListFlags.g.cs b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListFlags.g.cs index e1d31c511..0ea5831db 100644 --- a/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListFlags.g.cs +++ b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListFlags.g.cs @@ -1,5 +1,7 @@ #nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + namespace Vercel { public partial interface IFeatureFlagsClient @@ -15,7 +17,7 @@ public partial interface IFeatureFlagsClient /// The state of the flags to retrieve. Defaults to `active`. /// /// - /// Whether to include metadata in the response + /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release. Use `GET /v1/projects/:id/feature-flags/flags/:flagIdOrSlug?withMetadata=true` for single-flag lookups that need creator metadata. /// /// /// Maximum number of flags to return. When not set, all flags are returned. @@ -61,7 +63,7 @@ public partial interface IFeatureFlagsClient /// The state of the flags to retrieve. Defaults to `active`. /// /// - /// Whether to include metadata in the response + /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release. Use `GET /v1/projects/:id/feature-flags/flags/:flagIdOrSlug?withMetadata=true` for single-flag lookups that need creator metadata. /// /// /// Maximum number of flags to return. When not set, all flags are returned. diff --git a/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListFlagsV2.g.cs b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListFlagsV2.g.cs new file mode 100644 index 000000000..42a564fa3 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListFlagsV2.g.cs @@ -0,0 +1,94 @@ +#nullable enable + +namespace Vercel +{ + public partial interface IFeatureFlagsClient + { + /// + /// List flags
+ /// Retrieve feature flags for a project. Returns an opaque cursor for pagination. + ///
+ /// + /// The project id or name + /// + /// + /// The state of the flags to retrieve. Defaults to `active`. + /// + /// + /// Maximum number of flags to return.
+ /// Default Value: 25 + /// + /// + /// Pagination cursor to continue from. + /// + /// + /// Search flags by their slug or description. Case-insensitive. + /// + /// + /// Filter flags by tag. Repeat the parameter for multiple tags (all must match). + /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListFlagsV2Async( + string projectIdOrName, + global::Vercel.ListFlagsV2State? state = default, + int? limit = default, + string? cursor = default, + string? search = default, + global::System.Collections.Generic.IList? tags = default, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// List flags
+ /// Retrieve feature flags for a project. Returns an opaque cursor for pagination. + ///
+ /// + /// The project id or name + /// + /// + /// The state of the flags to retrieve. Defaults to `active`. + /// + /// + /// Maximum number of flags to return.
+ /// Default Value: 25 + /// + /// + /// Pagination cursor to continue from. + /// + /// + /// Search flags by their slug or description. Case-insensitive. + /// + /// + /// Filter flags by tag. Repeat the parameter for multiple tags (all must match). + /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListFlagsV2AsResponseAsync( + string projectIdOrName, + global::Vercel.ListFlagsV2State? state = default, + int? limit = default, + string? cursor = default, + string? search = default, + global::System.Collections.Generic.IList? tags = default, + string? teamId = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListTeamFlags.g.cs b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListTeamFlags.g.cs index cf699558c..7355d6b5e 100644 --- a/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListTeamFlags.g.cs +++ b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListTeamFlags.g.cs @@ -1,5 +1,7 @@ #nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + namespace Vercel { public partial interface IFeatureFlagsClient @@ -12,7 +14,7 @@ public partial interface IFeatureFlagsClient /// The state of the flags to retrieve. Defaults to `active`. /// /// - /// Whether to include metadata in the response + /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release. /// /// /// Maximum number of flags to return.
@@ -59,7 +61,7 @@ public partial interface IFeatureFlagsClient /// The state of the flags to retrieve. Defaults to `active`. /// /// - /// Whether to include metadata in the response + /// Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release. /// /// /// Maximum number of flags to return.
diff --git a/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListTeamFlagsV2.g.cs b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListTeamFlagsV2.g.cs new file mode 100644 index 000000000..fcf8068ee --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.IFeatureFlagsClient.ListTeamFlagsV2.g.cs @@ -0,0 +1,94 @@ +#nullable enable + +namespace Vercel +{ + public partial interface IFeatureFlagsClient + { + /// + /// List all flags for a team
+ /// Retrieve all feature flags for a team across all projects. Returns an opaque cursor for pagination. + ///
+ /// + /// The state of the flags to retrieve. Defaults to `active`. + /// + /// + /// Maximum number of flags to return.
+ /// Default Value: 25 + /// + /// + /// Pagination cursor to continue from. + /// + /// + /// Search flags by their slug or description. Case-insensitive. + /// + /// + /// The kind of flags to retrieve. + /// + /// + /// Filter flags by tag. Repeat the parameter for multiple tags (all must match). + /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListTeamFlagsV2Async( + string teamId, + global::Vercel.ListTeamFlagsV2State? state = default, + int? limit = default, + string? cursor = default, + string? search = default, + global::Vercel.ListTeamFlagsV2Kind? kind = default, + global::System.Collections.Generic.IList? tags = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// List all flags for a team
+ /// Retrieve all feature flags for a team across all projects. Returns an opaque cursor for pagination. + ///
+ /// + /// The state of the flags to retrieve. Defaults to `active`. + /// + /// + /// Maximum number of flags to return.
+ /// Default Value: 25 + /// + /// + /// Pagination cursor to continue from. + /// + /// + /// Search flags by their slug or description. Case-insensitive. + /// + /// + /// The kind of flags to retrieve. + /// + /// + /// Filter flags by tag. Repeat the parameter for multiple tags (all must match). + /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTeamFlagsV2AsResponseAsync( + string teamId, + global::Vercel.ListTeamFlagsV2State? state = default, + int? limit = default, + string? cursor = default, + string? search = default, + global::Vercel.ListTeamFlagsV2Kind? kind = default, + global::System.Collections.Generic.IList? tags = default, + string? slug = default, + global::Vercel.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxes.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSandboxes.g.cs similarity index 80% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxes.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSandboxes.g.cs index b56101890..c383bbeff 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxes.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSandboxes.g.cs @@ -2,11 +2,18 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Create a named sandbox
+ /// Creates a named sandbox environment. Named sandboxes have a unique name within a project and support automatic snapshotting on shutdown. ///
+ /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -14,11 +21,20 @@ public partial interface IVercelClient global::System.Threading.Tasks.Task CreateSandboxesAsync( global::Vercel.CreateSandboxesRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Create a named sandbox
+ /// Creates a named sandbox environment. Named sandboxes have a unique name within a project and support automatic snapshotting on shutdown. ///
+ /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -26,11 +42,20 @@ public partial interface IVercelClient global::System.Threading.Tasks.Task> CreateSandboxesAsResponseAsync( global::Vercel.CreateSandboxesRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Create a named sandbox
+ /// Creates a named sandbox environment. Named sandboxes have a unique name within a project and support automatic snapshotting on shutdown. ///
+ /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// /// Resources to define the VM @@ -83,6 +108,8 @@ public partial interface IVercelClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task CreateSandboxesAsync( + string? teamId = default, + string? slug = default, global::Vercel.OneOf? networkPolicy = default, global::Vercel.CreateSandboxesRequestResources? resources = default, global::Vercel.CreateSandboxesRequestRuntime? runtime = default, diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsMkdir.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSessionDirectory.g.cs similarity index 63% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsMkdir.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSessionDirectory.g.cs index d62525c42..f4b8edadb 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsMkdir.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSessionDirectory.g.cs @@ -2,49 +2,74 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Create a directory
+ /// Creates a new directory in a session's filesystem. By default, parent directories are created recursively if they don't exist (similar to `mkdir -p`). ///
/// /// The unique identifier of the session to create the directory in.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdFsMkdirAsync( + global::System.Threading.Tasks.Task CreateSessionDirectoryAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest request, + global::Vercel.CreateSessionDirectoryRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Create a directory
+ /// Creates a new directory in a session's filesystem. By default, parent directories are created recursively if they don't exist (similar to `mkdir -p`). ///
/// /// The unique identifier of the session to create the directory in.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdFsMkdirAsResponseAsync( + global::System.Threading.Tasks.Task> CreateSessionDirectoryAsResponseAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest request, + global::Vercel.CreateSessionDirectoryRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Create a directory
+ /// Creates a new directory in a session's filesystem. By default, parent directories are created recursively if they don't exist (similar to `mkdir -p`). ///
/// /// The unique identifier of the session to create the directory in.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// The base directory for resolving relative paths. If not specified, paths are resolved from the sandbox home directory.
/// Example: /home/vercel-sandbox @@ -60,9 +85,11 @@ public partial interface IVercelClient /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdFsMkdirAsync( + global::System.Threading.Tasks.Task CreateSessionDirectoryAsync( string sessionId, string path, + string? teamId = default, + string? slug = default, string? cwd = default, bool? recursive = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdSnapshot.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSessionSnapshot.g.cs similarity index 53% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdSnapshot.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSessionSnapshot.g.cs index d73e2f277..a5fdad42f 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdSnapshot.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.CreateSessionSnapshot.g.cs @@ -2,57 +2,84 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Create a snapshot
+ /// Creates a point-in-time snapshot of a running session's filesystem. Snapshots can be used to quickly restore a session to a previous state or to create new sessions with pre-configured environments. The session must be running and able to accept commands for a snapshot to be created. The session will be terminated after the snapshot is created. ///
/// /// The unique identifier of the session to snapshot.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdSnapshotAsync( + global::System.Threading.Tasks.Task CreateSessionSnapshotAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest request, + global::Vercel.CreateSessionSnapshotRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Create a snapshot
+ /// Creates a point-in-time snapshot of a running session's filesystem. Snapshots can be used to quickly restore a session to a previous state or to create new sessions with pre-configured environments. The session must be running and able to accept commands for a snapshot to be created. The session will be terminated after the snapshot is created. ///
/// /// The unique identifier of the session to snapshot.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdSnapshotAsResponseAsync( + global::System.Threading.Tasks.Task> CreateSessionSnapshotAsResponseAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest request, + global::Vercel.CreateSessionSnapshotRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Create a snapshot
+ /// Creates a point-in-time snapshot of a running session's filesystem. Snapshots can be used to quickly restore a session to a previous state or to create new sessions with pre-configured environments. The session must be running and able to accept commands for a snapshot to be created. The session will be terminated after the snapshot is created. ///
/// /// The unique identifier of the session to snapshot.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// The number of milliseconds after which the snapshot will expire and be deleted. Use 0 for no expiration. /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdSnapshotAsync( + global::System.Threading.Tasks.Task CreateSessionSnapshotAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.OneOf? expiration = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.DeleteSandboxesByName.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.DeleteSandbox.g.cs similarity index 62% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.DeleteSandboxesByName.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.DeleteSandbox.g.cs index 78910d67e..ba68d6fdb 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.DeleteSandboxesByName.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.DeleteSandbox.g.cs @@ -2,10 +2,11 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Delete a sandbox
+ /// Deletes a sandbox by name. If sandboxes are currently running, they will be stopped first. This operation deletes all sandbox entities with the given name and the named sandbox metadata. ///
/// /// The sandbox name to delete.
@@ -14,16 +15,25 @@ public partial interface IVercelClient /// /// The project ID that owns the named sandbox. When provided, takes precedence over OIDC project context. /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task DeleteSandboxesByNameAsync( + global::System.Threading.Tasks.Task DeleteSandboxAsync( string name, string? projectId = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Delete a sandbox
+ /// Deletes a sandbox by name. If sandboxes are currently running, they will be stopped first. This operation deletes all sandbox entities with the given name and the named sandbox metadata. ///
/// /// The sandbox name to delete.
@@ -32,12 +42,20 @@ public partial interface IVercelClient /// /// The project ID that owns the named sandbox. When provided, takes precedence over OIDC project context. /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> DeleteSandboxesByNameAsResponseAsync( + global::System.Threading.Tasks.Task> DeleteSandboxAsResponseAsync( string name, string? projectId = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.DeleteSandboxesSnapshotsBySnapshotId.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.DeleteSessionSnapshot.g.cs similarity index 57% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.DeleteSandboxesSnapshotsBySnapshotId.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.DeleteSessionSnapshot.g.cs index 2b71b12a9..456939015 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.DeleteSandboxesSnapshotsBySnapshotId.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.DeleteSessionSnapshot.g.cs @@ -2,34 +2,52 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Delete a snapshot
+ /// Permanently deletes a snapshot and frees its associated storage. This action cannot be undone. After deletion, the snapshot can no longer be used to create new sessions. ///
/// /// The unique identifier of the snapshot to delete.
/// Example: snap_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task DeleteSandboxesSnapshotsBySnapshotIdAsync( + global::System.Threading.Tasks.Task DeleteSessionSnapshotAsync( string snapshotId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Delete a snapshot
+ /// Permanently deletes a snapshot and frees its associated storage. This action cannot be undone. After deletion, the snapshot can no longer be used to create new sessions. ///
/// /// The unique identifier of the snapshot to delete.
/// Example: snap_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> DeleteSandboxesSnapshotsBySnapshotIdAsResponseAsync( + global::System.Threading.Tasks.Task> DeleteSessionSnapshotAsResponseAsync( string snapshotId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdExtendTimeout.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.ExtendSessionTimeout.g.cs similarity index 56% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdExtendTimeout.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.ExtendSessionTimeout.g.cs index c3448cfb6..2e0e386f1 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdExtendTimeout.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.ExtendSessionTimeout.g.cs @@ -2,49 +2,74 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Extend session timeout
+ /// Extends the maximum execution time of a running session. The session must be active and able to accept commands. The total timeout cannot exceed the maximum allowed limit for your account. ///
/// /// The unique identifier of the session to extend the timeout for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdExtendTimeoutAsync( + global::System.Threading.Tasks.Task ExtendSessionTimeoutAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest request, + global::Vercel.ExtendSessionTimeoutRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Extend session timeout
+ /// Extends the maximum execution time of a running session. The session must be active and able to accept commands. The total timeout cannot exceed the maximum allowed limit for your account. ///
/// /// The unique identifier of the session to extend the timeout for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdExtendTimeoutAsResponseAsync( + global::System.Threading.Tasks.Task> ExtendSessionTimeoutAsResponseAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest request, + global::Vercel.ExtendSessionTimeoutRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Extend session timeout
+ /// Extends the maximum execution time of a running session. The session must be active and able to accept commands. The total timeout cannot exceed the maximum allowed limit for your account. ///
/// /// The unique identifier of the session to extend the timeout for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// The amount of time in milliseconds to add to the current timeout. Must be at least 1000ms (1 second).
/// Example: 300000 @@ -52,9 +77,11 @@ public partial interface IVercelClient /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdExtendTimeoutAsync( + global::System.Threading.Tasks.Task ExtendSessionTimeoutAsync( string sessionId, double duration, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesByName.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetNamedSandbox.g.cs similarity index 67% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesByName.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetNamedSandbox.g.cs index b736d1429..a973efd75 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesByName.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetNamedSandbox.g.cs @@ -2,10 +2,11 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Get a named sandbox
+ /// Retrieves a named sandbox by name, including its current sandbox and routes. If the sandbox is stopped and resume is true, a new sandbox will be created from the most recent snapshot. ///
/// /// Name for the sandbox. Must be unique per project and URL-safe (alphanumeric, hyphens, underscores).
@@ -19,17 +20,26 @@ public partial interface IVercelClient /// Whether to automatically resume a stopped named sandbox by creating a new instance from its snapshot. Defaults to false.
/// Default Value: false /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task GetSandboxesByNameAsync( + global::System.Threading.Tasks.Task GetNamedSandboxAsync( string name, string? projectId = default, bool? resume = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Get a named sandbox
+ /// Retrieves a named sandbox by name, including its current sandbox and routes. If the sandbox is stopped and resume is true, a new sandbox will be created from the most recent snapshot. ///
/// /// Name for the sandbox. Must be unique per project and URL-safe (alphanumeric, hyphens, underscores).
@@ -43,13 +53,21 @@ public partial interface IVercelClient /// Whether to automatically resume a stopped named sandbox by creating a new instance from its snapshot. Defaults to false.
/// Default Value: false /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> GetSandboxesByNameAsResponseAsync( + global::System.Threading.Tasks.Task> GetNamedSandboxAsResponseAsync( string name, string? projectId = default, bool? resume = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessionsBySessionId.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetSession.g.cs similarity index 57% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessionsBySessionId.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetSession.g.cs index 9d5b2be3d..38638e587 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessionsBySessionId.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetSession.g.cs @@ -2,34 +2,52 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Get a session
+ /// Retrieves detailed information about a specific session, including its current status, resource configuration, and exposed routes. ///
/// /// The unique identifier of the session to retrieve.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task GetSandboxesSessionsBySessionIdAsync( + global::System.Threading.Tasks.Task GetSessionAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Get a session
+ /// Retrieves detailed information about a specific session, including its current status, resource configuration, and exposed routes. ///
/// /// The unique identifier of the session to retrieve.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> GetSandboxesSessionsBySessionIdAsResponseAsync( + global::System.Threading.Tasks.Task> GetSessionAsResponseAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessionsBySessionIdCmdByCmdId.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetSessionCommand.g.cs similarity index 64% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessionsBySessionIdCmdByCmdId.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetSessionCommand.g.cs index e88a23239..b8f402900 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessionsBySessionIdCmdByCmdId.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetSessionCommand.g.cs @@ -2,10 +2,11 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Get a command
+ /// Retrieves the current status and details of a command executed in a session. Use the `wait` parameter to block until the command finishes execution. ///
/// /// The unique identifier of the session containing the command.
@@ -19,17 +20,26 @@ public partial interface IVercelClient /// If set to "true", the request will block until the command finishes execution. Useful for synchronously waiting for command completion.
/// Default Value: false /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task GetSandboxesSessionsBySessionIdCmdByCmdIdAsync( + global::System.Threading.Tasks.Task GetSessionCommandAsync( string sessionId, string cmdId, - global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait? wait = default, + global::Vercel.GetSessionCommandWait? wait = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Get a command
+ /// Retrieves the current status and details of a command executed in a session. Use the `wait` parameter to block until the command finishes execution. ///
/// /// The unique identifier of the session containing the command.
@@ -43,13 +53,21 @@ public partial interface IVercelClient /// If set to "true", the request will block until the command finishes execution. Useful for synchronously waiting for command completion.
/// Default Value: false /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> GetSandboxesSessionsBySessionIdCmdByCmdIdAsResponseAsync( + global::System.Threading.Tasks.Task> GetSessionCommandAsResponseAsync( string sessionId, string cmdId, - global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait? wait = default, + global::Vercel.GetSessionCommandWait? wait = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessionsBySessionIdCmdByCmdIdLogs.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetSessionCommandLogs.g.cs similarity index 58% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessionsBySessionIdCmdByCmdIdLogs.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetSessionCommandLogs.g.cs index 1af9ea182..738cab097 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessionsBySessionIdCmdByCmdIdLogs.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetSessionCommandLogs.g.cs @@ -2,10 +2,11 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Stream command logs
+ /// Streams the output of a command in real-time using newline-delimited JSON (ND-JSON). Each entry includes the output data and stream type. Stream types include `stdout`, `stderr`, and `error` (for stream failures). ///
/// /// The unique identifier of the session containing the command.
@@ -15,12 +16,20 @@ public partial interface IVercelClient /// The unique identifier of the command to stream logs for.
/// Example: cmd_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Collections.Generic.IAsyncEnumerable> GetSandboxesSessionsBySessionIdCmdByCmdIdLogsAsync( + global::System.Collections.Generic.IAsyncEnumerable> GetSessionCommandLogsAsync( string sessionId, string cmdId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSnapshotsBySnapshotId.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetSessionSnapshot.g.cs similarity index 56% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSnapshotsBySnapshotId.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetSessionSnapshot.g.cs index 8954f6f17..0f0957eaa 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSnapshotsBySnapshotId.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.GetSessionSnapshot.g.cs @@ -2,34 +2,52 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Get a snapshot
+ /// Retrieves detailed information about a specific snapshot, including its creation time, size, expiration date, and the source session it was created from. ///
/// /// The unique identifier of the snapshot to retrieve.
/// Example: snap_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task GetSandboxesSnapshotsBySnapshotIdAsync( + global::System.Threading.Tasks.Task GetSessionSnapshotAsync( string snapshotId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Get a snapshot
+ /// Retrieves detailed information about a specific snapshot, including its creation time, size, expiration date, and the source session it was created from. ///
/// /// The unique identifier of the snapshot to retrieve.
/// Example: snap_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> GetSandboxesSnapshotsBySnapshotIdAsResponseAsync( + global::System.Threading.Tasks.Task> GetSessionSnapshotAsResponseAsync( string snapshotId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdCmdByCmdIdKill.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.KillSessionCommand.g.cs similarity index 60% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdCmdByCmdIdKill.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.KillSessionCommand.g.cs index e39a0549c..f23e1ca96 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdCmdByCmdIdKill.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.KillSessionCommand.g.cs @@ -2,10 +2,11 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Kill a command
+ /// Sends a signal to terminate a running command in a session. The signal can be used to gracefully stop (SIGTERM) or forcefully kill (SIGKILL) the process. The command must still be running for this operation to succeed. ///
/// /// The unique identifier of the command to terminate.
@@ -15,19 +16,28 @@ public partial interface IVercelClient /// The unique identifier of the session containing the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdCmdByCmdIdKillAsync( + global::System.Threading.Tasks.Task KillSessionCommandAsync( string cmdId, string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest request, + global::Vercel.KillSessionCommandRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Kill a command
+ /// Sends a signal to terminate a running command in a session. The signal can be used to gracefully stop (SIGTERM) or forcefully kill (SIGKILL) the process. The command must still be running for this operation to succeed. ///
/// /// The unique identifier of the command to terminate.
@@ -37,19 +47,28 @@ public partial interface IVercelClient /// The unique identifier of the session containing the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdCmdByCmdIdKillAsResponseAsync( + global::System.Threading.Tasks.Task> KillSessionCommandAsResponseAsync( string cmdId, string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest request, + global::Vercel.KillSessionCommandRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Kill a command
+ /// Sends a signal to terminate a running command in a session. The signal can be used to gracefully stop (SIGTERM) or forcefully kill (SIGKILL) the process. The command must still be running for this operation to succeed. ///
/// /// The unique identifier of the command to terminate.
@@ -59,6 +78,12 @@ public partial interface IVercelClient /// The unique identifier of the session containing the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// The POSIX signal number to send to the process. Common values: 15 (SIGTERM) for graceful termination, 9 (SIGKILL) for forced termination.
/// Example: 15 @@ -66,10 +91,12 @@ public partial interface IVercelClient /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdCmdByCmdIdKillAsync( + global::System.Threading.Tasks.Task KillSessionCommandAsync( string cmdId, string sessionId, double signal, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxes.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.ListSandboxes.g.cs similarity index 72% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxes.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.ListSandboxes.g.cs index b11012ff0..74771e1a4 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxes.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.ListSandboxes.g.cs @@ -2,10 +2,11 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// List sandboxes
+ /// Retrieves a paginated list of named sandboxes belonging to a specific project. Results can be sorted by creation time or name, and optionally filtered by name prefix. ///
/// /// The unique identifier or name of the project to list named sandboxes for.
@@ -33,21 +34,30 @@ public partial interface IVercelClient /// /// Filter sandboxes by tag. Format: \"key:value\". Only one tag filter is supported at a time. /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task GetSandboxesAsync( + global::System.Threading.Tasks.Task ListSandboxesAsync( string? project = default, double? limit = default, - global::Vercel.GetSandboxesSortBy? sortBy = default, + global::Vercel.ListSandboxesSortBy? sortBy = default, string? namePrefix = default, string? cursor = default, - global::Vercel.GetSandboxesSortOrder? sortOrder = default, + global::Vercel.ListSandboxesSortOrder? sortOrder = default, global::Vercel.AnyOf>? tags = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// List sandboxes
+ /// Retrieves a paginated list of named sandboxes belonging to a specific project. Results can be sorted by creation time or name, and optionally filtered by name prefix. ///
/// /// The unique identifier or name of the project to list named sandboxes for.
@@ -75,17 +85,25 @@ public partial interface IVercelClient /// /// Filter sandboxes by tag. Format: \"key:value\". Only one tag filter is supported at a time. /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> GetSandboxesAsResponseAsync( + global::System.Threading.Tasks.Task> ListSandboxesAsResponseAsync( string? project = default, double? limit = default, - global::Vercel.GetSandboxesSortBy? sortBy = default, + global::Vercel.ListSandboxesSortBy? sortBy = default, string? namePrefix = default, string? cursor = default, - global::Vercel.GetSandboxesSortOrder? sortOrder = default, + global::Vercel.ListSandboxesSortOrder? sortOrder = default, global::Vercel.AnyOf>? tags = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessionsBySessionIdCmd.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.ListSessionCommands.g.cs similarity index 55% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessionsBySessionIdCmd.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.ListSessionCommands.g.cs index 5a8bb7c06..a7992bf4e 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessionsBySessionIdCmd.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.ListSessionCommands.g.cs @@ -2,34 +2,52 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// List commands
+ /// Retrieves a list of all commands that have been executed in a session, including their current status, exit codes, and execution times, ordered from the most recent to the oldest. ///
/// /// The unique identifier of the session to list commands for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task GetSandboxesSessionsBySessionIdCmdAsync( + global::System.Threading.Tasks.Task ListSessionCommandsAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// List commands
+ /// Retrieves a list of all commands that have been executed in a session, including their current status, exit codes, and execution times, ordered from the most recent to the oldest. ///
/// /// The unique identifier of the session to list commands for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> GetSandboxesSessionsBySessionIdCmdAsResponseAsync( + global::System.Threading.Tasks.Task> ListSessionCommandsAsResponseAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSnapshots.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.ListSessionSnapshots.g.cs similarity index 73% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSnapshots.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.ListSessionSnapshots.g.cs index d5a4ee99d..14dd7ab6b 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSnapshots.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.ListSessionSnapshots.g.cs @@ -2,10 +2,11 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// List snapshots
+ /// Retrieves a paginated list of snapshots for a specific project. ///
/// /// The unique identifier or name of the project to list snapshots for.
@@ -27,19 +28,28 @@ public partial interface IVercelClient /// Sort direction for results by creation time.
/// Default Value: desc /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> GetSandboxesSnapshotsAsync( + global::System.Threading.Tasks.Task> ListSessionSnapshotsAsync( string? project = default, string? name = default, double? limit = default, string? cursor = default, - global::Vercel.GetSandboxesSnapshotsSortOrder? sortOrder = default, + global::Vercel.ListSessionSnapshotsSortOrder? sortOrder = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// List snapshots
+ /// Retrieves a paginated list of snapshots for a specific project. ///
/// /// The unique identifier or name of the project to list snapshots for.
@@ -61,15 +71,23 @@ public partial interface IVercelClient /// Sort direction for results by creation time.
/// Default Value: desc /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task>> GetSandboxesSnapshotsAsResponseAsync( + global::System.Threading.Tasks.Task>> ListSessionSnapshotsAsResponseAsync( string? project = default, string? name = default, double? limit = default, string? cursor = default, - global::Vercel.GetSandboxesSnapshotsSortOrder? sortOrder = default, + global::Vercel.ListSessionSnapshotsSortOrder? sortOrder = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessions.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.ListSessions.g.cs similarity index 71% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessions.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.ListSessions.g.cs index 7d08c2ad0..7149ac4fa 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetSandboxesSessions.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.ListSessions.g.cs @@ -2,10 +2,11 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// List sessions
+ /// Retrieves a paginated list of sessions belonging to a specific sandbox. Results are sorted by creation time and paginated using an opaque cursor. ///
/// /// The unique identifier or name of the project to list sessions for.
@@ -27,19 +28,28 @@ public partial interface IVercelClient /// Sort direction for results by creation time.
/// Default Value: desc /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> GetSandboxesSessionsAsync( + global::System.Threading.Tasks.Task> ListSessionsAsync( string? project = default, string? name = default, double? limit = default, string? cursor = default, - global::Vercel.GetSandboxesSessionsSortOrder? sortOrder = default, + global::Vercel.ListSessionsSortOrder? sortOrder = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// List sessions
+ /// Retrieves a paginated list of sessions belonging to a specific sandbox. Results are sorted by creation time and paginated using an opaque cursor. ///
/// /// The unique identifier or name of the project to list sessions for.
@@ -61,15 +71,23 @@ public partial interface IVercelClient /// Sort direction for results by creation time.
/// Default Value: desc /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task>> GetSandboxesSessionsAsResponseAsync( + global::System.Threading.Tasks.Task>> ListSessionsAsResponseAsync( string? project = default, string? name = default, double? limit = default, string? cursor = default, - global::Vercel.GetSandboxesSessionsSortOrder? sortOrder = default, + global::Vercel.ListSessionsSortOrder? sortOrder = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsRead.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.ReadSessionFile.g.cs similarity index 60% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsRead.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.ReadSessionFile.g.cs index 7bad6ee03..6f3f30006 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsRead.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.ReadSessionFile.g.cs @@ -2,66 +2,100 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Read a file
+ /// Downloads the contents of a file from a session's filesystem. The file content is returned as a binary stream with appropriate Content-Disposition headers for file download. ///
/// /// The unique identifier of the session to read the file from.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdFsReadAsync( + global::System.Threading.Tasks.Task ReadSessionFileAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest request, + global::Vercel.ReadSessionFileRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Read a file
+ /// Downloads the contents of a file from a session's filesystem. The file content is returned as a binary stream with appropriate Content-Disposition headers for file download. ///
/// /// The unique identifier of the session to read the file from.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdFsReadAsStreamAsync( + global::System.Threading.Tasks.Task ReadSessionFileAsStreamAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest request, + global::Vercel.ReadSessionFileRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Read a file
+ /// Downloads the contents of a file from a session's filesystem. The file content is returned as a binary stream with appropriate Content-Disposition headers for file download. ///
/// /// The unique identifier of the session to read the file from.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdFsReadAsResponseAsync( + global::System.Threading.Tasks.Task> ReadSessionFileAsResponseAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest request, + global::Vercel.ReadSessionFileRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Read a file
+ /// Downloads the contents of a file from a session's filesystem. The file content is returned as a binary stream with appropriate Content-Disposition headers for file download. ///
/// /// The unique identifier of the session to read the file from.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// The base directory for resolving relative paths. If not specified, paths are resolved from the sandbox home directory.
/// Example: /home/vercel-sandbox @@ -73,9 +107,11 @@ public partial interface IVercelClient /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdFsReadAsync( + global::System.Threading.Tasks.Task ReadSessionFileAsync( string sessionId, string path, + string? teamId = default, + string? slug = default, string? cwd = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdCmd.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.RunSessionCommand.g.cs similarity index 63% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdCmd.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.RunSessionCommand.g.cs index 907c65b8e..714cdae1d 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdCmd.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.RunSessionCommand.g.cs @@ -2,49 +2,74 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Execute a command
+ /// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion. ///
/// /// The unique identifier of the session in which to execute the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdCmdAsync( + global::System.Threading.Tasks.Task RunSessionCommandAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest request, + global::Vercel.RunSessionCommandRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Execute a command
+ /// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion. ///
/// /// The unique identifier of the session in which to execute the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdCmdAsResponseAsync( + global::System.Threading.Tasks.Task> RunSessionCommandAsResponseAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest request, + global::Vercel.RunSessionCommandRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Execute a command
+ /// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion. ///
/// /// The unique identifier of the session in which to execute the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// The executable or shell command to run. This is the program name without arguments.
/// Example: npm @@ -73,9 +98,11 @@ public partial interface IVercelClient /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdCmdAsync( + global::System.Threading.Tasks.Task RunSessionCommandAsync( string sessionId, string command, + string? teamId = default, + string? slug = default, global::System.Collections.Generic.IList? args = default, string? cwd = default, global::System.Collections.Generic.Dictionary? env = default, diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdCmdAsStream.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.RunSessionCommandAsStream.g.cs similarity index 69% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdCmdAsStream.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.RunSessionCommandAsStream.g.cs index a660f48ec..be3634b25 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdCmdAsStream.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.RunSessionCommandAsStream.g.cs @@ -2,32 +2,48 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Execute a command
+ /// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion. ///
/// /// The unique identifier of the session in which to execute the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Collections.Generic.IAsyncEnumerable CreateSandboxesSessionsBySessionIdCmdAsStreamAsync( + global::System.Collections.Generic.IAsyncEnumerable RunSessionCommandAsStreamAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest request, + global::Vercel.RunSessionCommandRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Execute a command
+ /// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion. ///
/// /// The unique identifier of the session in which to execute the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// The executable or shell command to run. This is the program name without arguments.
/// Example: npm @@ -56,9 +72,11 @@ public partial interface IVercelClient /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Collections.Generic.IAsyncEnumerable CreateSandboxesSessionsBySessionIdCmdAsStreamAsync( + global::System.Collections.Generic.IAsyncEnumerable RunSessionCommandAsStreamAsync( string sessionId, string command, + string? teamId = default, + string? slug = default, global::System.Collections.Generic.IList? args = default, string? cwd = default, global::System.Collections.Generic.Dictionary? env = default, diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdStop.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.StopSession.g.cs similarity index 54% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdStop.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.StopSession.g.cs index ef979c81a..6c441ffcb 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdStop.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.StopSession.g.cs @@ -2,34 +2,52 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Stop a session
+ /// Stops a running session and releases its allocated resources. All running processes within the session will be terminated. This action cannot be undone. A stopped session cannot be restarted. ///
/// /// The unique identifier of the session to stop.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdStopAsync( + global::System.Threading.Tasks.Task> StopSessionAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Stop a session
+ /// Stops a running session and releases its allocated resources. All running processes within the session will be terminated. This action cannot be undone. A stopped session cannot be restarted. ///
/// /// The unique identifier of the session to stop.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task>> CreateSandboxesSessionsBySessionIdStopAsResponseAsync( + global::System.Threading.Tasks.Task>> StopSessionAsResponseAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.UpdateSandboxesByName.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.UpdateSandbox.g.cs similarity index 74% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.UpdateSandboxesByName.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.UpdateSandbox.g.cs index 0f59adc39..3e0a481ab 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.UpdateSandboxesByName.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.UpdateSandbox.g.cs @@ -2,10 +2,11 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Update a sandbox
+ /// Updates the configuration of a sandbox. Only the provided fields will be modified; omitted fields remain unchanged. ///
/// /// The sandbox to update.
@@ -18,20 +19,29 @@ public partial interface IVercelClient /// Whether to automatically resume a stopped named sandbox by creating a new instance from its snapshot. Defaults to false.
/// Default Value: false /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> UpdateSandboxesByNameAsync( + global::System.Threading.Tasks.Task> UpdateSandboxAsync( string name, - global::Vercel.UpdateSandboxesByNameRequest request, + global::Vercel.UpdateSandboxRequest request, string? projectId = default, bool? resume = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Update a sandbox
+ /// Updates the configuration of a sandbox. Only the provided fields will be modified; omitted fields remain unchanged. ///
/// /// The sandbox to update.
@@ -44,20 +54,29 @@ public partial interface IVercelClient /// Whether to automatically resume a stopped named sandbox by creating a new instance from its snapshot. Defaults to false.
/// Default Value: false /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task>> UpdateSandboxesByNameAsResponseAsync( + global::System.Threading.Tasks.Task>> UpdateSandboxAsResponseAsync( string name, - global::Vercel.UpdateSandboxesByNameRequest request, + global::Vercel.UpdateSandboxRequest request, string? projectId = default, bool? resume = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Update a sandbox
+ /// Updates the configuration of a sandbox. Only the provided fields will be modified; omitted fields remain unchanged. ///
/// /// The sandbox to update.
@@ -70,6 +89,12 @@ public partial interface IVercelClient /// Whether to automatically resume a stopped named sandbox by creating a new instance from its snapshot. Defaults to false.
/// Default Value: false /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Resources to define the VM /// @@ -110,17 +135,19 @@ public partial interface IVercelClient /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> UpdateSandboxesByNameAsync( + global::System.Threading.Tasks.Task> UpdateSandboxAsync( string name, string? projectId = default, bool? resume = default, - global::Vercel.UpdateSandboxesByNameRequestResources? resources = default, - global::Vercel.UpdateSandboxesByNameRequestRuntime? runtime = default, + string? teamId = default, + string? slug = default, + global::Vercel.UpdateSandboxRequestResources? resources = default, + global::Vercel.UpdateSandboxRequestRuntime? runtime = default, int? timeout = default, bool? persistent = default, global::Vercel.OneOf? snapshotExpiration = default, - global::Vercel.OneOf? keepLastSnapshots = default, - global::Vercel.OneOf? networkPolicy = default, + global::Vercel.OneOf? keepLastSnapshots = default, + global::Vercel.OneOf? networkPolicy = default, global::System.Collections.Generic.Dictionary? env = default, global::System.Collections.Generic.IList? ports = default, string? currentSnapshotId = default, diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdNetworkPolicy.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.UpdateSessionNetworkPolicy.g.cs similarity index 50% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdNetworkPolicy.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.UpdateSessionNetworkPolicy.g.cs index 3677b77a3..4180cfaee 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdNetworkPolicy.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.UpdateSessionNetworkPolicy.g.cs @@ -2,54 +2,81 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Update network policy
+ /// Replaces the network access policy of a running session. Use this to control which external hosts the session can communicate with. This is a full replacement. Any previously configured network rules will be overwritten. ///
/// /// The unique identifier of the session to update the network policy for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdNetworkPolicyAsync( + global::System.Threading.Tasks.Task UpdateSessionNetworkPolicyAsync( string sessionId, - global::Vercel.OneOf request, + global::Vercel.OneOf request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Update network policy
+ /// Replaces the network access policy of a running session. Use this to control which external hosts the session can communicate with. This is a full replacement. Any previously configured network rules will be overwritten. ///
/// /// The unique identifier of the session to update the network policy for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdNetworkPolicyAsResponseAsync( + global::System.Threading.Tasks.Task> UpdateSessionNetworkPolicyAsResponseAsync( string sessionId, - global::Vercel.OneOf request, + global::Vercel.OneOf request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Update network policy
+ /// Replaces the network access policy of a running session. Use this to control which external hosts the session can communicate with. This is a full replacement. Any previously configured network rules will be overwritten. ///
/// /// The unique identifier of the session to update the network policy for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdNetworkPolicyAsync( + global::System.Threading.Tasks.Task UpdateSessionNetworkPolicyAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsWrite.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.WriteSessionFiles.g.cs similarity index 60% rename from src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsWrite.g.cs rename to src/libs/Vercel/Generated/Vercel.ISandboxesClient.WriteSessionFiles.g.cs index 87be14b6d..99096de7c 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.CreateSandboxesSessionsBySessionIdFsWrite.g.cs +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.WriteSessionFiles.g.cs @@ -2,10 +2,11 @@ namespace Vercel { - public partial interface IVercelClient + public partial interface ISandboxesClient { /// - /// + /// Write files
+ /// Uploads and extracts files to a session's filesystem. Files must be uploaded as a gzipped tarball (`.tar.gz`) with the `Content-Type` header set to `application/gzip`. The tarball contents are extracted to the session's working directory, or to a custom directory specified via the `x-cwd` header. ///
/// /// The target directory where the tarball contents will be extracted. If not specified, files are extracted to the sandbox home directory.
@@ -15,16 +16,25 @@ public partial interface IVercelClient /// The unique identifier of the session to write files to.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdFsWriteAsync( + global::System.Threading.Tasks.Task WriteSessionFilesAsync( string sessionId, string? x_xCwd_ = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// + /// Write files
+ /// Uploads and extracts files to a session's filesystem. Files must be uploaded as a gzipped tarball (`.tar.gz`) with the `Content-Type` header set to `application/gzip`. The tarball contents are extracted to the session's working directory, or to a custom directory specified via the `x-cwd` header. ///
/// /// The target directory where the tarball contents will be extracted. If not specified, files are extracted to the sandbox home directory.
@@ -34,12 +44,20 @@ public partial interface IVercelClient /// The unique identifier of the session to write files to.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdFsWriteAsResponseAsync( + global::System.Threading.Tasks.Task> WriteSessionFilesAsResponseAsync( string sessionId, string? x_xCwd_ = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Vercel/Generated/Vercel.ISandboxesClient.g.cs b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.g.cs new file mode 100644 index 000000000..ec864669a --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.ISandboxesClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISandboxesClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + /// + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// + public global::Vercel.AutoSDKClientOptions Options { get; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.g.cs b/src/libs/Vercel/Generated/Vercel.IVercelClient.g.cs index 6c2dece76..7982cd4db 100644 --- a/src/libs/Vercel/Generated/Vercel.IVercelClient.g.cs +++ b/src/libs/Vercel/Generated/Vercel.IVercelClient.g.cs @@ -185,6 +185,11 @@ public partial interface IVercelClient : global::System.IDisposable /// public RollingReleaseClient RollingRelease { get; } + /// + /// + /// + public SandboxesClient Sandboxes { get; } + /// /// /// diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.g.cs deleted file mode 100644 index 03a75ceb5..000000000 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace Vercel.JsonConverters -{ - /// - public sealed class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullable.g.cs deleted file mode 100644 index 8bb360f08..000000000 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace Vercel.JsonConverters -{ - /// - public sealed class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode.g.cs deleted file mode 100644 index 564a6c68d..000000000 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace Vercel.JsonConverters -{ - /// - public sealed class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullable.g.cs deleted file mode 100644 index b57074812..000000000 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace Vercel.JsonConverters -{ - /// - public sealed class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage.g.cs deleted file mode 100644 index d75fe197d..000000000 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace Vercel.JsonConverters -{ - /// - public sealed class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullable.g.cs deleted file mode 100644 index 75f4ba40c..000000000 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace Vercel.JsonConverters -{ - /// - public sealed class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWait.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCode.g.cs similarity index 62% rename from src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWait.g.cs rename to src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCode.g.cs index d48b5fe5a..a096d86d6 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWait.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCode.g.cs @@ -3,10 +3,10 @@ namespace Vercel.JsonConverters { /// - public sealed class GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class GetSessionCommandLogsResponseVariant1DataCodeJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait Read( + public override global::Vercel.GetSessionCommandLogsResponseVariant1DataCode Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter : var stringValue = reader.GetString(); if (stringValue != null) { - return global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitExtensions.ToEnum(stringValue) ?? default; + return global::Vercel.GetSessionCommandLogsResponseVariant1DataCodeExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter : case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait)numValue; + return (global::Vercel.GetSessionCommandLogsResponseVariant1DataCode)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait); + return default(global::Vercel.GetSessionCommandLogsResponseVariant1DataCode); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter : /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait value, + global::Vercel.GetSessionCommandLogsResponseVariant1DataCode value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitExtensions.ToValueString(value)); + writer.WriteStringValue(global::Vercel.GetSessionCommandLogsResponseVariant1DataCodeExtensions.ToValueString(value)); } } } diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullable.g.cs similarity index 65% rename from src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullable.g.cs rename to src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullable.g.cs index 1a2d13f6c..dfa9a1bff 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullable.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullable.g.cs @@ -3,10 +3,10 @@ namespace Vercel.JsonConverters { /// - public sealed class GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait? Read( + public override global::Vercel.GetSessionCommandLogsResponseVariant1DataCode? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonCon var stringValue = reader.GetString(); if (stringValue != null) { - return global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitExtensions.ToEnum(stringValue); + return global::Vercel.GetSessionCommandLogsResponseVariant1DataCodeExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonCon case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait)numValue; + return (global::Vercel.GetSessionCommandLogsResponseVariant1DataCode)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait?); + return default(global::Vercel.GetSessionCommandLogsResponseVariant1DataCode?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonCon /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait? value, + global::Vercel.GetSessionCommandLogsResponseVariant1DataCode? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Vercel.GetSessionCommandLogsResponseVariant1DataCodeExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessage.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessage.g.cs new file mode 100644 index 000000000..a682ea82b --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessage.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class GetSessionCommandLogsResponseVariant1DataMessageJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.GetSessionCommandLogsResponseVariant1DataMessage Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.GetSessionCommandLogsResponseVariant1DataMessageExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.GetSessionCommandLogsResponseVariant1DataMessage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.GetSessionCommandLogsResponseVariant1DataMessage); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.GetSessionCommandLogsResponseVariant1DataMessage value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Vercel.GetSessionCommandLogsResponseVariant1DataMessageExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullable.g.cs new file mode 100644 index 000000000..cfc7429a1 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.GetSessionCommandLogsResponseVariant1DataMessage? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.GetSessionCommandLogsResponseVariant1DataMessageExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.GetSessionCommandLogsResponseVariant1DataMessage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.GetSessionCommandLogsResponseVariant1DataMessage?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.GetSessionCommandLogsResponseVariant1DataMessage? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Vercel.GetSessionCommandLogsResponseVariant1DataMessageExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandWait.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandWait.g.cs new file mode 100644 index 000000000..b249dddb9 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandWait.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class GetSessionCommandWaitJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.GetSessionCommandWait Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.GetSessionCommandWaitExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.GetSessionCommandWait)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.GetSessionCommandWait); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.GetSessionCommandWait value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Vercel.GetSessionCommandWaitExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandWaitNullable.g.cs similarity index 68% rename from src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullable.g.cs rename to src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandWaitNullable.g.cs index dd1068f80..56b76a0ac 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullable.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSessionCommandWaitNullable.g.cs @@ -3,10 +3,10 @@ namespace Vercel.JsonConverters { /// - public sealed class GetSandboxesSnapshotsSortOrderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class GetSessionCommandWaitNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Vercel.GetSandboxesSnapshotsSortOrder? Read( + public override global::Vercel.GetSessionCommandWait? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class GetSandboxesSnapshotsSortOrderNullableJsonConverter : global var stringValue = reader.GetString(); if (stringValue != null) { - return global::Vercel.GetSandboxesSnapshotsSortOrderExtensions.ToEnum(stringValue); + return global::Vercel.GetSessionCommandWaitExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class GetSandboxesSnapshotsSortOrderNullableJsonConverter : global case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Vercel.GetSandboxesSnapshotsSortOrder)numValue; + return (global::Vercel.GetSessionCommandWait)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Vercel.GetSandboxesSnapshotsSortOrder?); + return default(global::Vercel.GetSessionCommandWait?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class GetSandboxesSnapshotsSortOrderNullableJsonConverter : global /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.GetSandboxesSnapshotsSortOrder? value, + global::Vercel.GetSessionCommandWait? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::Vercel.GetSandboxesSnapshotsSortOrderExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Vercel.GetSessionCommandWaitExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSortBy.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListFlagsV2State.g.cs similarity index 69% rename from src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSortBy.g.cs rename to src/libs/Vercel/Generated/Vercel.JsonConverters.ListFlagsV2State.g.cs index f3b703b11..66937566a 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSortBy.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListFlagsV2State.g.cs @@ -3,10 +3,10 @@ namespace Vercel.JsonConverters { /// - public sealed class GetSandboxesSortByJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ListFlagsV2StateJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Vercel.GetSandboxesSortBy Read( + public override global::Vercel.ListFlagsV2State Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class GetSandboxesSortByJsonConverter : global::System.Text.Json.S var stringValue = reader.GetString(); if (stringValue != null) { - return global::Vercel.GetSandboxesSortByExtensions.ToEnum(stringValue) ?? default; + return global::Vercel.ListFlagsV2StateExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class GetSandboxesSortByJsonConverter : global::System.Text.Json.S case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Vercel.GetSandboxesSortBy)numValue; + return (global::Vercel.ListFlagsV2State)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Vercel.GetSandboxesSortBy); + return default(global::Vercel.ListFlagsV2State); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class GetSandboxesSortByJsonConverter : global::System.Text.Json.S /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.GetSandboxesSortBy value, + global::Vercel.ListFlagsV2State value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Vercel.GetSandboxesSortByExtensions.ToValueString(value)); + writer.WriteStringValue(global::Vercel.ListFlagsV2StateExtensions.ToValueString(value)); } } } diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSortByNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListFlagsV2StateNullable.g.cs similarity index 71% rename from src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSortByNullable.g.cs rename to src/libs/Vercel/Generated/Vercel.JsonConverters.ListFlagsV2StateNullable.g.cs index 58626aa0a..d07633c90 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSortByNullable.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListFlagsV2StateNullable.g.cs @@ -3,10 +3,10 @@ namespace Vercel.JsonConverters { /// - public sealed class GetSandboxesSortByNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ListFlagsV2StateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Vercel.GetSandboxesSortBy? Read( + public override global::Vercel.ListFlagsV2State? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class GetSandboxesSortByNullableJsonConverter : global::System.Tex var stringValue = reader.GetString(); if (stringValue != null) { - return global::Vercel.GetSandboxesSortByExtensions.ToEnum(stringValue); + return global::Vercel.ListFlagsV2StateExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class GetSandboxesSortByNullableJsonConverter : global::System.Tex case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Vercel.GetSandboxesSortBy)numValue; + return (global::Vercel.ListFlagsV2State)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Vercel.GetSandboxesSortBy?); + return default(global::Vercel.ListFlagsV2State?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class GetSandboxesSortByNullableJsonConverter : global::System.Tex /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.GetSandboxesSortBy? value, + global::Vercel.ListFlagsV2State? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::Vercel.GetSandboxesSortByExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Vercel.ListFlagsV2StateExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSnapshotsSortOrder.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortBy.g.cs similarity index 66% rename from src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSnapshotsSortOrder.g.cs rename to src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortBy.g.cs index dbfdc227d..413dc657f 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSnapshotsSortOrder.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortBy.g.cs @@ -3,10 +3,10 @@ namespace Vercel.JsonConverters { /// - public sealed class GetSandboxesSnapshotsSortOrderJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ListSandboxesSortByJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Vercel.GetSandboxesSnapshotsSortOrder Read( + public override global::Vercel.ListSandboxesSortBy Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class GetSandboxesSnapshotsSortOrderJsonConverter : global::System var stringValue = reader.GetString(); if (stringValue != null) { - return global::Vercel.GetSandboxesSnapshotsSortOrderExtensions.ToEnum(stringValue) ?? default; + return global::Vercel.ListSandboxesSortByExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class GetSandboxesSnapshotsSortOrderJsonConverter : global::System case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Vercel.GetSandboxesSnapshotsSortOrder)numValue; + return (global::Vercel.ListSandboxesSortBy)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Vercel.GetSandboxesSnapshotsSortOrder); + return default(global::Vercel.ListSandboxesSortBy); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class GetSandboxesSnapshotsSortOrderJsonConverter : global::System /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.GetSandboxesSnapshotsSortOrder value, + global::Vercel.ListSandboxesSortBy value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Vercel.GetSandboxesSnapshotsSortOrderExtensions.ToValueString(value)); + writer.WriteStringValue(global::Vercel.ListSandboxesSortByExtensions.ToValueString(value)); } } } diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortByNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortByNullable.g.cs new file mode 100644 index 000000000..84a7d3387 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortByNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class ListSandboxesSortByNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.ListSandboxesSortBy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.ListSandboxesSortByExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.ListSandboxesSortBy)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.ListSandboxesSortBy?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.ListSandboxesSortBy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Vercel.ListSandboxesSortByExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortOrder.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortOrder.g.cs new file mode 100644 index 000000000..f3b3e031a --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortOrder.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class ListSandboxesSortOrderJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.ListSandboxesSortOrder Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.ListSandboxesSortOrderExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.ListSandboxesSortOrder)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.ListSandboxesSortOrder); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.ListSandboxesSortOrder value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Vercel.ListSandboxesSortOrderExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortOrderNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortOrderNullable.g.cs new file mode 100644 index 000000000..dbe1c1c8f --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSandboxesSortOrderNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class ListSandboxesSortOrderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.ListSandboxesSortOrder? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.ListSandboxesSortOrderExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.ListSandboxesSortOrder)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.ListSandboxesSortOrder?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.ListSandboxesSortOrder? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Vercel.ListSandboxesSortOrderExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsSortOrder.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSessionSnapshotsSortOrder.g.cs similarity index 70% rename from src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsSortOrder.g.cs rename to src/libs/Vercel/Generated/Vercel.JsonConverters.ListSessionSnapshotsSortOrder.g.cs index 578ad90af..b51ca0370 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsSortOrder.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSessionSnapshotsSortOrder.g.cs @@ -3,10 +3,10 @@ namespace Vercel.JsonConverters { /// - public sealed class GetSandboxesSessionsSortOrderJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ListSessionSnapshotsSortOrderJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Vercel.GetSandboxesSessionsSortOrder Read( + public override global::Vercel.ListSessionSnapshotsSortOrder Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class GetSandboxesSessionsSortOrderJsonConverter : global::System. var stringValue = reader.GetString(); if (stringValue != null) { - return global::Vercel.GetSandboxesSessionsSortOrderExtensions.ToEnum(stringValue) ?? default; + return global::Vercel.ListSessionSnapshotsSortOrderExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class GetSandboxesSessionsSortOrderJsonConverter : global::System. case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Vercel.GetSandboxesSessionsSortOrder)numValue; + return (global::Vercel.ListSessionSnapshotsSortOrder)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Vercel.GetSandboxesSessionsSortOrder); + return default(global::Vercel.ListSessionSnapshotsSortOrder); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class GetSandboxesSessionsSortOrderJsonConverter : global::System. /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.GetSandboxesSessionsSortOrder value, + global::Vercel.ListSessionSnapshotsSortOrder value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Vercel.GetSandboxesSessionsSortOrderExtensions.ToValueString(value)); + writer.WriteStringValue(global::Vercel.ListSessionSnapshotsSortOrderExtensions.ToValueString(value)); } } } diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullable.g.cs similarity index 72% rename from src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullable.g.cs rename to src/libs/Vercel/Generated/Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullable.g.cs index 2a38996d6..0a1abff03 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullable.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullable.g.cs @@ -3,10 +3,10 @@ namespace Vercel.JsonConverters { /// - public sealed class GetSandboxesSessionsSortOrderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ListSessionSnapshotsSortOrderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Vercel.GetSandboxesSessionsSortOrder? Read( + public override global::Vercel.ListSessionSnapshotsSortOrder? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class GetSandboxesSessionsSortOrderNullableJsonConverter : global: var stringValue = reader.GetString(); if (stringValue != null) { - return global::Vercel.GetSandboxesSessionsSortOrderExtensions.ToEnum(stringValue); + return global::Vercel.ListSessionSnapshotsSortOrderExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class GetSandboxesSessionsSortOrderNullableJsonConverter : global: case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Vercel.GetSandboxesSessionsSortOrder)numValue; + return (global::Vercel.ListSessionSnapshotsSortOrder)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Vercel.GetSandboxesSessionsSortOrder?); + return default(global::Vercel.ListSessionSnapshotsSortOrder?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class GetSandboxesSessionsSortOrderNullableJsonConverter : global: /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.GetSandboxesSessionsSortOrder? value, + global::Vercel.ListSessionSnapshotsSortOrder? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::Vercel.GetSandboxesSessionsSortOrderExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Vercel.ListSessionSnapshotsSortOrderExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSortOrder.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSessionsSortOrder.g.cs similarity index 77% rename from src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSortOrder.g.cs rename to src/libs/Vercel/Generated/Vercel.JsonConverters.ListSessionsSortOrder.g.cs index e092d89c4..8a7c63d14 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSortOrder.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSessionsSortOrder.g.cs @@ -3,10 +3,10 @@ namespace Vercel.JsonConverters { /// - public sealed class GetSandboxesSortOrderJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ListSessionsSortOrderJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Vercel.GetSandboxesSortOrder Read( + public override global::Vercel.ListSessionsSortOrder Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class GetSandboxesSortOrderJsonConverter : global::System.Text.Jso var stringValue = reader.GetString(); if (stringValue != null) { - return global::Vercel.GetSandboxesSortOrderExtensions.ToEnum(stringValue) ?? default; + return global::Vercel.ListSessionsSortOrderExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class GetSandboxesSortOrderJsonConverter : global::System.Text.Jso case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Vercel.GetSandboxesSortOrder)numValue; + return (global::Vercel.ListSessionsSortOrder)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Vercel.GetSandboxesSortOrder); + return default(global::Vercel.ListSessionsSortOrder); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class GetSandboxesSortOrderJsonConverter : global::System.Text.Jso /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.GetSandboxesSortOrder value, + global::Vercel.ListSessionsSortOrder value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Vercel.GetSandboxesSortOrderExtensions.ToValueString(value)); + writer.WriteStringValue(global::Vercel.ListSessionsSortOrderExtensions.ToValueString(value)); } } } diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSortOrderNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSessionsSortOrderNullable.g.cs similarity index 75% rename from src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSortOrderNullable.g.cs rename to src/libs/Vercel/Generated/Vercel.JsonConverters.ListSessionsSortOrderNullable.g.cs index 82e2c9d54..9bd6fa63c 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSandboxesSortOrderNullable.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListSessionsSortOrderNullable.g.cs @@ -3,10 +3,10 @@ namespace Vercel.JsonConverters { /// - public sealed class GetSandboxesSortOrderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ListSessionsSortOrderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Vercel.GetSandboxesSortOrder? Read( + public override global::Vercel.ListSessionsSortOrder? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class GetSandboxesSortOrderNullableJsonConverter : global::System. var stringValue = reader.GetString(); if (stringValue != null) { - return global::Vercel.GetSandboxesSortOrderExtensions.ToEnum(stringValue); + return global::Vercel.ListSessionsSortOrderExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class GetSandboxesSortOrderNullableJsonConverter : global::System. case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Vercel.GetSandboxesSortOrder)numValue; + return (global::Vercel.ListSessionsSortOrder)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Vercel.GetSandboxesSortOrder?); + return default(global::Vercel.ListSessionsSortOrder?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class GetSandboxesSortOrderNullableJsonConverter : global::System. /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.GetSandboxesSortOrder? value, + global::Vercel.ListSessionsSortOrder? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::Vercel.GetSandboxesSortOrderExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Vercel.ListSessionsSortOrderExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2Kind.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2Kind.g.cs new file mode 100644 index 000000000..c743aca4b --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2Kind.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class ListTeamFlagsV2KindJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.ListTeamFlagsV2Kind Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.ListTeamFlagsV2KindExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.ListTeamFlagsV2Kind)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.ListTeamFlagsV2Kind); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.ListTeamFlagsV2Kind value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Vercel.ListTeamFlagsV2KindExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2KindNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2KindNullable.g.cs new file mode 100644 index 000000000..e94ae9ddb --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2KindNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class ListTeamFlagsV2KindNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.ListTeamFlagsV2Kind? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.ListTeamFlagsV2KindExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.ListTeamFlagsV2Kind)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.ListTeamFlagsV2Kind?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.ListTeamFlagsV2Kind? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Vercel.ListTeamFlagsV2KindExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2State.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2State.g.cs new file mode 100644 index 000000000..185563e27 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2State.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class ListTeamFlagsV2StateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.ListTeamFlagsV2State Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.ListTeamFlagsV2StateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.ListTeamFlagsV2State)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.ListTeamFlagsV2State); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.ListTeamFlagsV2State value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Vercel.ListTeamFlagsV2StateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2StateNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2StateNullable.g.cs new file mode 100644 index 000000000..93944dc5f --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.ListTeamFlagsV2StateNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class ListTeamFlagsV2StateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.ListTeamFlagsV2State? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.ListTeamFlagsV2StateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.ListTeamFlagsV2State)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.ListTeamFlagsV2State?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.ListTeamFlagsV2State? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Vercel.ListTeamFlagsV2StateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1Mode.g.cs similarity index 63% rename from src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.g.cs rename to src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1Mode.g.cs index 835e66555..debd3e58c 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1Mode.g.cs @@ -3,10 +3,10 @@ namespace Vercel.JsonConverters { /// - public sealed class UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode Read( + public override global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1Mode Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonCon var stringValue = reader.GetString(); if (stringValue != null) { - return global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeExtensions.ToEnum(stringValue) ?? default; + return global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1ModeExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonCon case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode)numValue; + return (global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1Mode)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode); + return default(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1Mode); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonCon /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode value, + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1Mode value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeExtensions.ToValueString(value)); + writer.WriteStringValue(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1ModeExtensions.ToValueString(value)); } } } diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullable.g.cs similarity index 65% rename from src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullable.g.cs rename to src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullable.g.cs index 536937f49..775f14441 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullable.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullable.g.cs @@ -3,10 +3,10 @@ namespace Vercel.JsonConverters { /// - public sealed class UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode? Read( + public override global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1Mode? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullabl var stringValue = reader.GetString(); if (stringValue != null) { - return global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeExtensions.ToEnum(stringValue); + return global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1ModeExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullabl case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode)numValue; + return (global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1Mode)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode?); + return default(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1Mode?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullabl /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode? value, + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1Mode? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1ModeExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntime.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxRequestRuntime.g.cs similarity index 67% rename from src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntime.g.cs rename to src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxRequestRuntime.g.cs index 96c63c4ce..684278f4b 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntime.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxRequestRuntime.g.cs @@ -3,10 +3,10 @@ namespace Vercel.JsonConverters { /// - public sealed class UpdateSandboxesByNameRequestRuntimeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class UpdateSandboxRequestRuntimeJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Vercel.UpdateSandboxesByNameRequestRuntime Read( + public override global::Vercel.UpdateSandboxRequestRuntime Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class UpdateSandboxesByNameRequestRuntimeJsonConverter : global::S var stringValue = reader.GetString(); if (stringValue != null) { - return global::Vercel.UpdateSandboxesByNameRequestRuntimeExtensions.ToEnum(stringValue) ?? default; + return global::Vercel.UpdateSandboxRequestRuntimeExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class UpdateSandboxesByNameRequestRuntimeJsonConverter : global::S case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Vercel.UpdateSandboxesByNameRequestRuntime)numValue; + return (global::Vercel.UpdateSandboxRequestRuntime)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Vercel.UpdateSandboxesByNameRequestRuntime); + return default(global::Vercel.UpdateSandboxRequestRuntime); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class UpdateSandboxesByNameRequestRuntimeJsonConverter : global::S /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.UpdateSandboxesByNameRequestRuntime value, + global::Vercel.UpdateSandboxRequestRuntime value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::Vercel.UpdateSandboxesByNameRequestRuntimeExtensions.ToValueString(value)); + writer.WriteStringValue(global::Vercel.UpdateSandboxRequestRuntimeExtensions.ToValueString(value)); } } } diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullable.g.cs similarity index 69% rename from src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullable.g.cs rename to src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullable.g.cs index 23c2a35a8..540cc6038 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullable.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullable.g.cs @@ -3,10 +3,10 @@ namespace Vercel.JsonConverters { /// - public sealed class UpdateSandboxesByNameRequestRuntimeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class UpdateSandboxRequestRuntimeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::Vercel.UpdateSandboxesByNameRequestRuntime? Read( + public override global::Vercel.UpdateSandboxRequestRuntime? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class UpdateSandboxesByNameRequestRuntimeNullableJsonConverter : g var stringValue = reader.GetString(); if (stringValue != null) { - return global::Vercel.UpdateSandboxesByNameRequestRuntimeExtensions.ToEnum(stringValue); + return global::Vercel.UpdateSandboxRequestRuntimeExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class UpdateSandboxesByNameRequestRuntimeNullableJsonConverter : g case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::Vercel.UpdateSandboxesByNameRequestRuntime)numValue; + return (global::Vercel.UpdateSandboxRequestRuntime)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::Vercel.UpdateSandboxesByNameRequestRuntime?); + return default(global::Vercel.UpdateSandboxRequestRuntime?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class UpdateSandboxesByNameRequestRuntimeNullableJsonConverter : g /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::Vercel.UpdateSandboxesByNameRequestRuntime? value, + global::Vercel.UpdateSandboxRequestRuntime? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::Vercel.UpdateSandboxesByNameRequestRuntimeExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::Vercel.UpdateSandboxRequestRuntimeExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1Mode.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1Mode.g.cs new file mode 100644 index 000000000..08743e0d5 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1Mode.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.UpdateSessionNetworkPolicyRequestVariant1Mode Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.UpdateSessionNetworkPolicyRequestVariant1ModeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.UpdateSessionNetworkPolicyRequestVariant1Mode)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1Mode); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.UpdateSessionNetworkPolicyRequestVariant1Mode value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1ModeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullable.g.cs new file mode 100644 index 000000000..5482bfb51 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Vercel.JsonConverters +{ + /// + public sealed class UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Vercel.UpdateSessionNetworkPolicyRequestVariant1Mode? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Vercel.UpdateSessionNetworkPolicyRequestVariant1ModeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Vercel.UpdateSessionNetworkPolicyRequestVariant1Mode)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1Mode?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Vercel.UpdateSessionNetworkPolicyRequestVariant1Mode? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1ModeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk000.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk000.g.cs index 301913e6e..72c4b3f0d 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk000.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk000.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk001.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk001.g.cs index dca312f6d..8dce11803 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk001.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk001.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk002.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk002.g.cs index cb97efd26..59c7c0cec 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk002.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk002.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5597,83 +5603,83 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfObjectInt322")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesRequestKeepLastSnapshots))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestResources))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestRuntime), TypeInfoPropertyName = "UpdateSandboxesByNameRequestRuntime2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringUpdateSandboxesByNameRequestKeepLastSnapshots2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestKeepLastSnapshots))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfUpdateSandboxesByNameRequestNetworkPolicyVariant1UpdateSandboxesByNameRequestNetworkPolicyVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode), TypeInfoPropertyName = "UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>), TypeInfoPropertyName = "OneOfIListStringDictionaryStringIListUpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2_4ccd7bdabb9fcc05")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode), TypeInfoPropertyName = "CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>), TypeInfoPropertyName = "OneOfIListStringDictionaryStringIListCreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestResources))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestRuntime), TypeInfoPropertyName = "UpdateSandboxRequestRuntime2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringUpdateSandboxRequestKeepLastSnapshots2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestKeepLastSnapshots))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfUpdateSandboxRequestNetworkPolicyVariant1UpdateSandboxRequestNetworkPolicyVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1Mode), TypeInfoPropertyName = "UpdateSandboxRequestNetworkPolicyVariant1Mode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>), TypeInfoPropertyName = "OneOfIListStringDictionaryStringIListUpdateSandboxRequestNetworkPolicyVariant2AllowItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Subnets))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.RunSessionCommandRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.KillSessionCommandRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ExtendSessionTimeoutRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfUpdateSessionNetworkPolicyRequestVariant1UpdateSessionNetworkPolicyRequestVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1Mode), TypeInfoPropertyName = "UpdateSessionNetworkPolicyRequestVariant1Mode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRule))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>), TypeInfoPropertyName = "OneOfIListStringDictionaryStringIListUpdateSessionNetworkPolicyRequestVariant2AllowItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Subnets))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ReadSessionFileRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSessionDirectoryRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSessionSnapshotRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfUpdateAttackChallengeModeRequestVariant1UpdateAttackChallengeModeRequestVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateAttackChallengeModeRequestVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateAttackChallengeModeRequestVariant2))] diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk003.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk003.g.cs index 1469d5988..6d1b30800 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk003.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk003.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,8 +5410,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagsV2State), TypeInfoPropertyName = "ListFlagsV2State2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListTeamFlagsState), TypeInfoPropertyName = "ListTeamFlagsState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListTeamFlagsKind), TypeInfoPropertyName = "ListTeamFlagsKind2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListTeamFlagsV2State), TypeInfoPropertyName = "ListTeamFlagsV2State2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListTeamFlagsV2Kind), TypeInfoPropertyName = "ListTeamFlagsV2Kind2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GitNamespacesProvider), TypeInfoPropertyName = "GitNamespacesProvider2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.SearchRepoProvider), TypeInfoPropertyName = "SearchRepoProvider2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetBillingPlansSource), TypeInfoPropertyName = "GetBillingPlansSource2")] @@ -5426,12 +5435,12 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectDomainsOrder), TypeInfoPropertyName = "GetProjectDomainsOrder2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.FilterProjectEnvsDecrypt), TypeInfoPropertyName = "FilterProjectEnvsDecrypt2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetRollingReleaseState), TypeInfoPropertyName = "GetRollingReleaseState2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSortBy), TypeInfoPropertyName = "GetSandboxesSortBy2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSortOrder), TypeInfoPropertyName = "GetSandboxesSortOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListSandboxesSortBy), TypeInfoPropertyName = "ListSandboxesSortBy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListSandboxesSortOrder), TypeInfoPropertyName = "ListSandboxesSortOrder2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf>), TypeInfoPropertyName = "AnyOfStringIListString2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSnapshotsSortOrder), TypeInfoPropertyName = "GetSandboxesSnapshotsSortOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSessionsSortOrder), TypeInfoPropertyName = "GetSandboxesSessionsSortOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait), TypeInfoPropertyName = "GetSandboxesSessionsBySessionIdCmdByCmdIdWait2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListSessionSnapshotsSortOrder), TypeInfoPropertyName = "ListSessionSnapshotsSortOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListSessionsSortOrder), TypeInfoPropertyName = "ListSessionsSortOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSessionCommandWait), TypeInfoPropertyName = "GetSessionCommandWait2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetTeamMembersRole), TypeInfoPropertyName = "GetTeamMembersRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ReadAccessGroupResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -5901,9 +5910,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentEventsResponseItemVariant2Type), TypeInfoPropertyName = "GetDeploymentEventsResponseItemVariant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentEventsResponseItemVariant2Level), TypeInfoPropertyName = "GetDeploymentEventsResponseItemVariant2Level2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfGetDeploymentEventsResponseVariant1GetDeploymentEventsResponseVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentEventsResponseVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentEventsResponseVariant1Type), TypeInfoPropertyName = "GetDeploymentEventsResponseVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentEventsResponseVariant1Payload))] internal sealed partial class SourceGenerationContextChunk003 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk004.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk004.g.cs index b054d53e0..84ea621e6 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk004.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk004.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,6 +5410,9 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentEventsResponseVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentEventsResponseVariant1Type), TypeInfoPropertyName = "GetDeploymentEventsResponseVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentEventsResponseVariant1Payload))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentEventsResponseVariant1PayloadInfo))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentEventsResponseVariant1PayloadProxy))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetDeploymentEventsResponseVariant1PayloadProxyVercelCache), TypeInfoPropertyName = "GetDeploymentEventsResponseVariant1PayloadProxyVercelCache2")] @@ -5901,9 +5910,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitSourceVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitSourceVariant1Type), TypeInfoPropertyName = "CancelDeploymentResponseGitSourceVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitSourceVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitSourceVariant2Type), TypeInfoPropertyName = "CancelDeploymentResponseGitSourceVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitSourceVariant3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitSourceVariant3Type), TypeInfoPropertyName = "CancelDeploymentResponseGitSourceVariant3Type2")] internal sealed partial class SourceGenerationContextChunk004 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk005.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk005.g.cs index a1e69a569..819c71fa5 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk005.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk005.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,6 +5410,9 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitSourceVariant2Type), TypeInfoPropertyName = "CancelDeploymentResponseGitSourceVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitSourceVariant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitSourceVariant3Type), TypeInfoPropertyName = "CancelDeploymentResponseGitSourceVariant3Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitSourceVariant4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitSourceVariant4Type), TypeInfoPropertyName = "CancelDeploymentResponseGitSourceVariant4Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CancelDeploymentResponseGitSourceVariant5))] @@ -5901,9 +5910,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDrainResponseVariant1FilterV2Variant2FilterVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDrainResponseVariant1FilterV2Variant2FilterVariant1Type), TypeInfoPropertyName = "CreateDrainResponseVariant1FilterV2Variant2FilterVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDrainResponseVariant1FilterV2Variant2FilterVariant1Project))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDrainResponseVariant1FilterV2Variant2FilterVariant1Log))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDrainResponseVariant1FilterV2Variant2FilterVariant1LogSource), TypeInfoPropertyName = "CreateDrainResponseVariant1FilterV2Variant2FilterVariant1LogSource2")] internal sealed partial class SourceGenerationContextChunk005 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk006.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk006.g.cs index 11d1ce3ae..24d1e6801 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk006.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk006.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,6 +5410,9 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDrainResponseVariant1FilterV2Variant2FilterVariant1Log))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDrainResponseVariant1FilterV2Variant2FilterVariant1LogSource), TypeInfoPropertyName = "CreateDrainResponseVariant1FilterV2Variant2FilterVariant1LogSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDrainResponseVariant1FilterV2Variant2FilterVariant1Deployment))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateDrainResponseVariant1FilterV2Variant2FilterVariant1DeploymentEnvironment), TypeInfoPropertyName = "CreateDrainResponseVariant1FilterV2Variant2FilterVariant1DeploymentEnvironment2")] @@ -5901,9 +5910,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagsResponsePagination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperiment))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] internal sealed partial class SourceGenerationContextChunk006 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk007.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk007.g.cs index 56dda0d75..532112807 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk007.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk007.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,6 +5410,9 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperiment))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentGuardrailMetric))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentGuardrailMetricMetricType), TypeInfoPropertyName = "CreateFlagResponseExperimentGuardrailMetricMetricType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseExperimentGuardrailMetricMetricUnit), TypeInfoPropertyName = "CreateFlagResponseExperimentGuardrailMetricMetricUnit2")] @@ -5476,6 +5485,8 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseKind), TypeInfoPropertyName = "CreateFlagResponseKind2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseState), TypeInfoPropertyName = "CreateFlagResponseState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagResponseTypeName), TypeInfoPropertyName = "CreateFlagResponseTypeName2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagsV2Response))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListFlagsV2ResponsePagination))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfUpdateFlagResponse2Flag2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponse2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateFlagResponseExperiment))] @@ -5680,6 +5691,8 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListTeamFlagSettingsResponseVariant2Pagination))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListTeamFlagsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListTeamFlagsResponsePagination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListTeamFlagsV2Response))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListTeamFlagsV2ResponsePagination))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagSegmentResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagSegmentResponseTypeName), TypeInfoPropertyName = "CreateFlagSegmentResponseTypeName2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateFlagSegmentResponseData))] @@ -5897,13 +5910,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductProtocolsMessaging))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductProtocolsMessagingStatus), TypeInfoPropertyName = "GetConfigurationProductsResponseProductProtocolsMessagingStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductProtocolsOther))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductProtocolsOtherStatus), TypeInfoPropertyName = "GetConfigurationProductsResponseProductProtocolsOtherStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductPrimaryProtocol), TypeInfoPropertyName = "GetConfigurationProductsResponseProductPrimaryProtocol2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchema))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaType), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant11_3eb9c6d7ba3790ae")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant1Type), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant1Type2")] internal sealed partial class SourceGenerationContextChunk007 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk008.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk008.g.cs index 7b182af7c..7af2a633b 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk008.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk008.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,6 +5410,13 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductProtocolsOtherStatus), TypeInfoPropertyName = "GetConfigurationProductsResponseProductProtocolsOtherStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductPrimaryProtocol), TypeInfoPropertyName = "GetConfigurationProductsResponseProductPrimaryProtocol2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchema))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaType), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant11_3eb9c6d7ba3790ae")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant1Type), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant1UiControl), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant1UiControl2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant1UiReadOnlyEnum2_04c1e37b3ae6f3a7")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant1UiReadOnlyEnum))] @@ -5897,13 +5910,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant1Value))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2Type), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2Value))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2Mitigate))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2MitigateAction), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2MitigateAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant4Action), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant4Action2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant4RouteVariant2_5eee2e65e546ee55")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant4RouteVariant1))] internal sealed partial class SourceGenerationContextChunk008 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk009.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk009.g.cs index 4742b3225..b753afd76 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk009.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk009.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,6 +5410,13 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2HaVariant2Value))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2Mitigate))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2MitigateAction), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant3RouteVariant2MitigateAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant4))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant4Action), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant4Action2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant4RouteVariant2_5eee2e65e546ee55")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant4RouteVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant4RouteVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant4RouteVariant2HaVariant2_04deb5b23c1b34c7")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetMicrofrontendsInGroupResponseProjectAbuseBlockHistoryItemVariant4RouteVariant2HaVariant2_324c0db638ac4ffd")] @@ -5897,13 +5910,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant2ProjectAliaDeploymentBuild))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant2ProjectAliaDeploymentCreator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant2ProjectAliaEnvironment), TypeInfoPropertyName = "GetProjectsResponseVariant2ProjectAliaEnvironment2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant2ProjectAliaTarget), TypeInfoPropertyName = "GetProjectsResponseVariant2ProjectAliaTarget2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant2ProjectAnalytics))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant2ProjectDeploymentExpiration))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant2ProjectIpBucket))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant2ProjectEnvItem))] internal sealed partial class SourceGenerationContextChunk009 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk010.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk010.g.cs index bf426a593..4f9db5b36 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk010.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk010.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,6 +5410,13 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant2ProjectAliaTarget), TypeInfoPropertyName = "GetProjectsResponseVariant2ProjectAliaTarget2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant2ProjectAnalytics))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant2ProjectDeploymentExpiration))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant2ProjectIpBucket))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant2ProjectEnvItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.GetProjectsResponseVariant2ProjectEnvItemTarget?>), TypeInfoPropertyName = "OneOfIListGetProjectsResponseVariant2ProjectEnvItemTargetItemGetProjectsResponseVariant2ProjectEnvItemTarget2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetProjectsResponseVariant2ProjectEnvItemTargetItem), TypeInfoPropertyName = "GetProjectsResponseVariant2ProjectEnvItemTargetItem2")] @@ -5897,13 +5910,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseLinkVariant3DeployHook))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseLinkVariant4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseLinkVariant4Type), TypeInfoPropertyName = "CreateProjectResponseLinkVariant4Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseLinkVariant4DeployHook))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseLinkVariant5))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseLinkVariant5Type), TypeInfoPropertyName = "CreateProjectResponseLinkVariant5Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseLinkVariant5DeployHook))] internal sealed partial class SourceGenerationContextChunk010 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk011.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk011.g.cs index be38e7dfd..860a1b2e7 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk011.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk011.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,6 +5410,13 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseLinkVariant4Type), TypeInfoPropertyName = "CreateProjectResponseLinkVariant4Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseLinkVariant4DeployHook))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseLinkVariant5))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseLinkVariant5Type), TypeInfoPropertyName = "CreateProjectResponseLinkVariant5Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseLinkVariant5DeployHook))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseLinkVariant6))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateProjectResponseLinkVariant6Type), TypeInfoPropertyName = "CreateProjectResponseLinkVariant6Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -5897,13 +5910,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant4DeployHook))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant5))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant5Type), TypeInfoPropertyName = "UpdateProjectResponseLinkVariant5Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant5DeployHook))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant6))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant6Type), TypeInfoPropertyName = "UpdateProjectResponseLinkVariant6Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant6DeployHook))] internal sealed partial class SourceGenerationContextChunk011 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk012.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk012.g.cs index 06056a55e..752b62a0c 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk012.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk012.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,6 +5410,13 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant5Type), TypeInfoPropertyName = "UpdateProjectResponseLinkVariant5Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant5DeployHook))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant6))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant6Type), TypeInfoPropertyName = "UpdateProjectResponseLinkVariant6Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseLinkVariant6DeployHook))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "UpdateProjectResponseMicrofrontendsVariant3_3fb70164b87fd705")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseMicrofrontendsVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateProjectResponseMicrofrontendsVariant2))] @@ -5897,13 +5910,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant1Type), TypeInfoPropertyName = "UpdateMicrofrontendsResponseLinkVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant1DeployHook))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant2Type), TypeInfoPropertyName = "UpdateMicrofrontendsResponseLinkVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant2DeployHook))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant3Type), TypeInfoPropertyName = "UpdateMicrofrontendsResponseLinkVariant3Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] internal sealed partial class SourceGenerationContextChunk012 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk013.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk013.g.cs index 3bd410c0c..f119b3468 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk013.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk013.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,6 +5410,13 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant2Type), TypeInfoPropertyName = "UpdateMicrofrontendsResponseLinkVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant2DeployHook))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant3Type), TypeInfoPropertyName = "UpdateMicrofrontendsResponseLinkVariant3Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant3DeployHook))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateMicrofrontendsResponseLinkVariant4Type), TypeInfoPropertyName = "UpdateMicrofrontendsResponseLinkVariant4Type2")] @@ -5597,45 +5610,45 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListPromoteAliasesResponseVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListPromoteAliasesResponseVariant2Aliase))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListSandboxesResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesResponsePagination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListSandboxesResponsePagination))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfObjectGetSandboxesSnapshotsResponseVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSnapshotsResponseVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfObjectListSessionSnapshotsResponseVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListSessionSnapshotsResponseVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSnapshotsResponseVariant2Pagination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSnapshotsBySnapshotIdResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.DeleteSandboxesSnapshotsBySnapshotIdResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfObjectGetSandboxesSessionsResponseVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSessionsResponseVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListSessionSnapshotsResponseVariant2Pagination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSessionSnapshotResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.DeleteSessionSnapshotResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfObjectListSessionsResponseVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListSessionsResponseVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSessionsResponseVariant2Pagination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSessionsBySessionIdResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesByNameResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfUpdateSandboxesByNameResponseVariant1UpdateSandboxesByNameResponseVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameResponseVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxesByNameResponseVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.DeleteSandboxesByNameResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListSessionsResponseVariant2Pagination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSessionResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetNamedSandboxResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfUpdateSandboxResponseVariant1UpdateSandboxResponseVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxResponseVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSandboxResponseVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.DeleteSandboxResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ListSessionCommandsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2_081df6a213a662a2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode), TypeInfoPropertyName = "GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage), TypeInfoPropertyName = "GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfCreateSandboxesSessionsBySessionIdStopResponseVariant1CreateSandboxesSessionsBySessionIdStopResponseVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdStopResponseVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdStopResponseVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.RunSessionCommandResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.RunSessionCommandResponse2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSessionCommandResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.KillSessionCommandResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfGetSessionCommandLogsResponseVariant1GetSessionCommandLogsResponseVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSessionCommandLogsResponseVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSessionCommandLogsResponseVariant1Data))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSessionCommandLogsResponseVariant1DataCode), TypeInfoPropertyName = "GetSessionCommandLogsResponseVariant1DataCode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSessionCommandLogsResponseVariant1DataMessage), TypeInfoPropertyName = "GetSessionCommandLogsResponseVariant1DataMessage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.GetSessionCommandLogsResponseVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStopSessionResponseVariant1StopSessionResponseVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.StopSessionResponseVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.StopSessionResponseVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.ExtendSessionTimeoutResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateSessionNetworkPolicyResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateSessionSnapshotResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.UpdateAttackChallengeModeResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.PutFirewallConfigResponseActive))] @@ -5897,13 +5910,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiHiddenEnum2_d38b56472eac16be")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiHiddenEnum))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiHiddenEnum2), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiHiddenEnum22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiDisabledEnum2_63d094ea2cf866b4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiDisabledEnum))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiDisabledEnum2), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiDisabledEnum22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiDescription2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiDescription))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiFormattedValue))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant5))] internal sealed partial class SourceGenerationContextChunk013 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk014.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk014.g.cs index ac5b7e105..23b6e9d17 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk014.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk014.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,6 +5410,13 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiDisabledEnum2_63d094ea2cf866b4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiDisabledEnum))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiDisabledEnum2), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiDisabledEnum22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf), TypeInfoPropertyName = "OneOfStringCreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiDescription2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiDescription))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant4UiFormattedValue))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant5))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant5Type), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant5Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant5UiControl), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant5UiControl2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -5805,7 +5818,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "UpdateFlagSegmentRequestDataRuleConditionRhsVariant2_string_double_bool_1be57ed7ce8af10f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.AnyOf?), TypeInfoPropertyName = "UpdateFlagSegmentRequestDataRuleConditionRhsVariant1ItemVariant2_b5fd300b00395147")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateSandboxesRequestSourceVariant3_e064fb31d74cba86")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2_643583875187a924")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UpdateFirewallConfigRequestVariant14_d4f4c7f02de123d6")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "PatchUrlProtectionBypassRequestVariant3_12f6a033c058d1e1")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "BuyCreditsResponseVariant2PurchaseIntentConfigurationVariant6_707ee1f7a9f8edf1")] @@ -5898,12 +5910,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "ListFlagVersionsResponseVersionDataEnvironmentsFallthroughVariant3_05bc025a3b2bd739")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "ListFlagVersionsResponseVersionDataEnvironmentsRuleOutcomeVariant3_037847b672e7d2e2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "ListFlagVersionsResponseVersionDataEnvironmentsRuleConditionRhsVariant4_bool_8082acc1c4dbe750")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "ListFlagVersionsResponseVersionDataEnvironmentsRuleConditionRhsVariant3ItemVariant2_50f6b22c110e1069")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "ListFlagVersionsResponseVersionDataEnvironmentsRuleConditionLhsVariant2_280b97e4716fc557")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateFlagSegmentResponseDataRuleConditionRhsVariant4_bool_6da26b5f3a32765b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateFlagSegmentResponseDataRuleConditionRhsVariant3ItemVariant2_4479c943dd23aac2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UpdateFlagSegmentResponseDataRuleConditionRhsVariant4_bool_fa6d1dfc6dd8248e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UpdateFlagSegmentResponseDataRuleConditionRhsVariant3ItemVariant2_81f3823b8f371dab")] internal sealed partial class SourceGenerationContextChunk014 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk015.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk015.g.cs index 02ee3b68f..e28f49d00 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk015.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk015.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,6 +5410,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "ListFlagVersionsResponseVersionDataEnvironmentsRuleConditionRhsVariant3ItemVariant2_50f6b22c110e1069")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "ListFlagVersionsResponseVersionDataEnvironmentsRuleConditionLhsVariant2_280b97e4716fc557")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateFlagSegmentResponseDataRuleConditionRhsVariant4_bool_6da26b5f3a32765b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateFlagSegmentResponseDataRuleConditionRhsVariant3ItemVariant2_4479c943dd23aac2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UpdateFlagSegmentResponseDataRuleConditionRhsVariant4_bool_fa6d1dfc6dd8248e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UpdateFlagSegmentResponseDataRuleConditionRhsVariant3ItemVariant2_81f3823b8f371dab")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetConfigurationResponseVariant1TransferRequestVariant2_7201615247308b3f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant11_7e51d6e4b88ebfb7")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetConfigurationProductsResponseProductMetadataSchemaPropertiesVariant1UiReadOnlyEnum2_ef1392da742e14de")] @@ -5559,8 +5571,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UpdateMicrofrontendsResponseAbuseBlockHistoryItemVariant4RouteVariant2_dab0e19622e18628")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UpdateMicrofrontendsResponseAbuseBlockHistoryItemVariant4RouteVariant2HaVariant2_0bf40146add4328b")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "UpdateMicrofrontendsResponseInternalRouteVariant2HaVariant2_1933603f83aaab8b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2_0859b79f30ff4326")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateSandboxesSessionsBySessionIdStopResponseVariant2_fafa14b5ab0d7934")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.CreateIntegrationStoreDirectResponseStoreProjectFilterGitProviders?>?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProjectFilterGitProviders_eaf282a93725adad")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant11_c658cf651f7aa357")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf?), TypeInfoPropertyName = "CreateIntegrationStoreDirectResponseStoreProductMetadataSchemaPropertiesVariant1UiReadOnlyEnum2_7a0cea2e483bcda3")] @@ -5807,24 +5817,24 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -5900,10 +5910,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class SourceGenerationContextChunk015 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk016.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk016.g.cs index 871fec4a9..17641737a 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk016.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk016.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,6 +5410,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "CreateDeploymentResponseFunctionsExperimentalTriggerVariant2_6e166bf8afed4737")] @@ -5900,10 +5910,6 @@ namespace Vercel [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.CreateProjectEnvResponseCreatedTarget?>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.CreateProjectEnvResponseCreatedItemTarget?>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class SourceGenerationContextChunk016 : global::System.Text.Json.Serialization.JsonSerializerContext { } diff --git a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk017.g.cs b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk017.g.cs index ff5d431d0..90364897d 100644 --- a/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk017.g.cs +++ b/src/libs/Vercel/Generated/Vercel.JsonSerializerContext.Chunk017.g.cs @@ -624,12 +624,12 @@ namespace Vercel typeof(global::Vercel.JsonConverters.CreateSandboxesRequestNetworkPolicyVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeJsonConverter), typeof(global::Vercel.JsonConverters.CreateSandboxesRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter), - typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter), + typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigRequestCrsMaActionJsonConverter), @@ -784,10 +784,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.GetDomainConfigStrictNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListFlagsStateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListFlagsV2StateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsStateNullableJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindJsonConverter), typeof(global::Vercel.JsonConverters.ListTeamFlagsKindNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2StateNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindJsonConverter), + typeof(global::Vercel.JsonConverters.ListTeamFlagsV2KindNullableJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderJsonConverter), typeof(global::Vercel.JsonConverters.GitNamespacesProviderNullableJsonConverter), typeof(global::Vercel.JsonConverters.SearchRepoProviderJsonConverter), @@ -824,16 +830,16 @@ namespace Vercel typeof(global::Vercel.JsonConverters.FilterProjectEnvsDecryptNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateJsonConverter), typeof(global::Vercel.JsonConverters.GetRollingReleaseStateNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortByNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSnapshotsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsSortOrderNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdWaitNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortByNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSandboxesSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionSnapshotsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderJsonConverter), + typeof(global::Vercel.JsonConverters.ListSessionsSortOrderNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandWaitNullableJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleJsonConverter), typeof(global::Vercel.JsonConverters.GetTeamMembersRoleNullableJsonConverter), typeof(global::Vercel.JsonConverters.ReadAccessGroupResponseTeamPermissionJsonConverter), @@ -4290,10 +4296,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseDismissedToastActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvJsonConverter), typeof(global::Vercel.JsonConverters.UpdateMicrofrontendsResponseTracingSamplingRuleEnvNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeNullableJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter), - typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeNullableJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter), + typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsSdActionNullableJsonConverter), typeof(global::Vercel.JsonConverters.PutFirewallConfigResponseActiveCrsMaActionJsonConverter), @@ -4774,11 +4780,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter, double?>), typeof(global::Vercel.JsonConverters.AnyOfJsonConverter), @@ -5312,11 +5318,11 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), - typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), + typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter), typeof(global::Vercel.JsonConverters.OneOfJsonConverter>), typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::Vercel.PutFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?>), @@ -5404,6 +5410,10 @@ namespace Vercel typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>), typeof(global::Vercel.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.CreateProjectEnvResponseCreatedItemTarget?>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Vercel.OneOf, global::Vercel.CreateProjectEnvResponseFailedItemErrorTarget?>))] diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest.Json.g.cs deleted file mode 100644 index a89a3074b..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse.Json.g.cs deleted file mode 100644 index db2cfef47..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequestEnv.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequestEnv.Json.g.cs deleted file mode 100644 index 4de3e31b7..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequestEnv.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdCmdRequestEnv - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequestEnv? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequestEnv), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequestEnv; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequestEnv? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequestEnv), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequestEnv; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse.Json.g.cs deleted file mode 100644 index f338727bd..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdCmdResponse - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse2.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse2.Json.g.cs deleted file mode 100644 index 7fc62dd99..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdCmdResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse2), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse2; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse2; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest.Json.g.cs deleted file mode 100644 index 228b8a337..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdExtendTimeoutRequest - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse.Json.g.cs deleted file mode 100644 index 09f48e69f..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdExtendTimeoutResponse - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirRequest.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirRequest.Json.g.cs deleted file mode 100644 index c479606bf..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirRequest.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdFsMkdirRequest - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirResponse.Json.g.cs deleted file mode 100644 index 34b624947..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirResponse.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdFsMkdirResponse - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirResponse? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirResponse), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirResponse; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirResponse? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirResponse; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsReadRequest.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsReadRequest.Json.g.cs deleted file mode 100644 index 493c61e31..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsReadRequest.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdFsReadRequest - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsWriteResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsWriteResponse.Json.g.cs deleted file mode 100644 index fa453f806..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsWriteResponse.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdFsWriteResponse - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdFsWriteResponse? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdFsWriteResponse), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdFsWriteResponse; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdFsWriteResponse? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdFsWriteResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdFsWriteResponse; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1.Json.g.cs deleted file mode 100644 index 706c24b58..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule.Json.g.cs deleted file mode 100644 index d654e52d5..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders.Json.g.cs deleted file mode 100644 index f0b2b61f2..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch.Json.g.cs deleted file mode 100644 index 6e4ffd742..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader.Json.g.cs deleted file mode 100644 index a2269619d..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader.g.cs deleted file mode 100644 index 40b197c4f..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader - { - /// - /// Matcher for the entry key (header name or query key). - /// - [global::System.Text.Json.Serialization.JsonPropertyName("key")] - public global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey? Key { get; set; } - - /// - /// Matcher for the entry value. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - public global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue? Value { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Matcher for the entry key (header name or query key). - /// - /// - /// Matcher for the entry value. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader( - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey? key, - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue? value) - { - this.Key = key; - this.Value = value; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeader() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.Json.g.cs deleted file mode 100644 index 87ec809e1..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.g.cs deleted file mode 100644 index 31c1af1bb..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// Matcher for the entry key (header name or query key). - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey - { - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("exact")] - public string? Exact { get; set; } - - /// - /// Match values that start with the given prefix. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] - public string? StartsWith { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - /// - /// Match values that start with the given prefix. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey( - string? exact, - string? startsWith) - { - this.Exact = exact; - this.StartsWith = startsWith; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.Json.g.cs deleted file mode 100644 index bc6a535a3..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.g.cs deleted file mode 100644 index 11f5ae668..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// Matcher for the entry value. - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue - { - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("exact")] - public string? Exact { get; set; } - - /// - /// Match values that start with the given prefix. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] - public string? StartsWith { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - /// - /// Match values that start with the given prefix. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue( - string? exact, - string? startsWith) - { - this.Exact = exact; - this.StartsWith = startsWith; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath.Json.g.cs deleted file mode 100644 index fdf72b892..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath.g.cs deleted file mode 100644 index 40a936939..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// Match on the request path. Comparison is case-sensitive. - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath - { - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("exact")] - public string? Exact { get; set; } - - /// - /// Match values that start with the given prefix. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] - public string? StartsWith { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - /// - /// Match values that start with the given prefix. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath( - string? exact, - string? startsWith) - { - this.Exact = exact; - this.StartsWith = startsWith; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.Json.g.cs deleted file mode 100644 index d6d4fd858..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.g.cs deleted file mode 100644 index fee629de3..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem - { - /// - /// Matcher for the entry key (header name or query key). - /// - [global::System.Text.Json.Serialization.JsonPropertyName("key")] - public global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey? Key { get; set; } - - /// - /// Matcher for the entry value. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - public global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue? Value { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Matcher for the entry key (header name or query key). - /// - /// - /// Matcher for the entry value. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem( - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey? key, - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue? value) - { - this.Key = key; - this.Value = value; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs deleted file mode 100644 index a36abd9da..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.g.cs deleted file mode 100644 index 25ca4d3b4..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// Matcher for the entry key (header name or query key). - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey - { - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("exact")] - public string? Exact { get; set; } - - /// - /// Match values that start with the given prefix. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] - public string? StartsWith { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - /// - /// Match values that start with the given prefix. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey( - string? exact, - string? startsWith) - { - this.Exact = exact; - this.StartsWith = startsWith; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs deleted file mode 100644 index 286da3f84..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.g.cs deleted file mode 100644 index 641ce0b0e..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// Matcher for the entry value. - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue - { - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("exact")] - public string? Exact { get; set; } - - /// - /// Match values that start with the given prefix. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] - public string? StartsWith { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - /// - /// Match values that start with the given prefix. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue( - string? exact, - string? startsWith) - { - this.Exact = exact; - this.StartsWith = startsWith; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.g.cs deleted file mode 100644 index 4813f8d89..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.g.cs +++ /dev/null @@ -1,70 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// The network access policy mode. Use \"allow-all\" to permit all outbound traffic. Use \"deny-all\" to block all outbound traffic. Use \"custom\" to specify explicit allow/deny rules.
- /// Example: custom - ///
- public enum CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode - { - /// - /// - /// - AllowAll, - /// - /// - /// - Custom, - /// - /// - /// - DefaultAllow, - /// - /// - /// - DefaultDeny, - /// - /// - /// - DenyAll, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode value) - { - return value switch - { - CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.AllowAll => "allow-all", - CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.Custom => "custom", - CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.DefaultAllow => "default-allow", - CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.DefaultDeny => "default-deny", - CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.DenyAll => "deny-all", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode? ToEnum(string value) - { - return value switch - { - "allow-all" => CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.AllowAll, - "custom" => CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.Custom, - "default-allow" => CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.DefaultAllow, - "default-deny" => CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.DefaultDeny, - "deny-all" => CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode.DenyAll, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2.Json.g.cs deleted file mode 100644 index e1a4f17de..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow.Json.g.cs deleted file mode 100644 index 0d23aabde..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem.Json.g.cs deleted file mode 100644 index 2b20bfb57..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch.Json.g.cs deleted file mode 100644 index ad8bf98b4..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader.Json.g.cs deleted file mode 100644 index c865987c2..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader.g.cs deleted file mode 100644 index 41895681b..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader - { - /// - /// Matcher for the entry key (header name or query key). - /// - [global::System.Text.Json.Serialization.JsonPropertyName("key")] - public global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey? Key { get; set; } - - /// - /// Matcher for the entry value. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - public global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue? Value { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Matcher for the entry key (header name or query key). - /// - /// - /// Matcher for the entry value. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader( - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey? key, - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue? value) - { - this.Key = key; - this.Value = value; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeader() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.Json.g.cs deleted file mode 100644 index 85ca4e053..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.g.cs deleted file mode 100644 index aa45ad315..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// Matcher for the entry key (header name or query key). - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey - { - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("exact")] - public string? Exact { get; set; } - - /// - /// Match values that start with the given prefix. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] - public string? StartsWith { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - /// - /// Match values that start with the given prefix. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey( - string? exact, - string? startsWith) - { - this.Exact = exact; - this.StartsWith = startsWith; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderKey() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.Json.g.cs deleted file mode 100644 index cf193c0b7..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.g.cs deleted file mode 100644 index b2a2d65c5..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// Matcher for the entry value. - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue - { - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("exact")] - public string? Exact { get; set; } - - /// - /// Match values that start with the given prefix. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] - public string? StartsWith { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - /// - /// Match values that start with the given prefix. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue( - string? exact, - string? startsWith) - { - this.Exact = exact; - this.StartsWith = startsWith; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchHeaderValue() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath.Json.g.cs deleted file mode 100644 index f0f598d74..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath.g.cs deleted file mode 100644 index 43eca73cc..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// Match on the request path. Comparison is case-sensitive. - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath - { - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("exact")] - public string? Exact { get; set; } - - /// - /// Match values that start with the given prefix. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] - public string? StartsWith { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - /// - /// Match values that start with the given prefix. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath( - string? exact, - string? startsWith) - { - this.Exact = exact; - this.StartsWith = startsWith; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.Json.g.cs deleted file mode 100644 index 64346afb5..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.g.cs deleted file mode 100644 index 2d4ae8f3b..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem - { - /// - /// Matcher for the entry key (header name or query key). - /// - [global::System.Text.Json.Serialization.JsonPropertyName("key")] - public global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey? Key { get; set; } - - /// - /// Matcher for the entry value. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - public global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue? Value { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Matcher for the entry key (header name or query key). - /// - /// - /// Matcher for the entry value. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem( - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey? key, - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue? value) - { - this.Key = key; - this.Value = value; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.Json.g.cs deleted file mode 100644 index c12542999..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.g.cs deleted file mode 100644 index 70bdc3f77..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// Matcher for the entry key (header name or query key). - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey - { - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("exact")] - public string? Exact { get; set; } - - /// - /// Match values that start with the given prefix. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] - public string? StartsWith { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - /// - /// Match values that start with the given prefix. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey( - string? exact, - string? startsWith) - { - this.Exact = exact; - this.StartsWith = startsWith; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.Json.g.cs deleted file mode 100644 index 998430eaa..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.g.cs deleted file mode 100644 index 703c42d8b..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// Matcher for the entry value. - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue - { - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("exact")] - public string? Exact { get; set; } - - /// - /// Match values that start with the given prefix. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] - public string? StartsWith { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. - /// - /// - /// Match values that start with the given prefix. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue( - string? exact, - string? startsWith) - { - this.Exact = exact; - this.StartsWith = startsWith; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem.Json.g.cs deleted file mode 100644 index 8733f693e..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.Json.g.cs deleted file mode 100644 index 269a196a3..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.g.cs deleted file mode 100644 index ddb575b70..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// - /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItemHeaders - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets.Json.g.cs deleted file mode 100644 index 0ecda933d..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse.Json.g.cs deleted file mode 100644 index 76d5a0184..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyResponse - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequest.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequest.Json.g.cs deleted file mode 100644 index 4ff945456..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequest.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdSnapshotRequest - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration.Json.g.cs deleted file mode 100644 index 862b6c3c9..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration.g.cs deleted file mode 100644 index e7c4829b2..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// - /// - public sealed partial class CreateSandboxesSessionsBySessionIdSnapshotRequestExpiration - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotResponse.Json.g.cs deleted file mode 100644 index 5ee86a41b..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotResponse.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdSnapshotResponse - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotResponse? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotResponse), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotResponse; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotResponse? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotResponse; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant1.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant1.Json.g.cs deleted file mode 100644 index 9c8c1f31c..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant1.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdStopResponseVariant1 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdStopResponseVariant1? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdStopResponseVariant1), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdStopResponseVariant1; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdStopResponseVariant1? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdStopResponseVariant1), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdStopResponseVariant1; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant2.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant2.Json.g.cs deleted file mode 100644 index 34364b547..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class CreateSandboxesSessionsBySessionIdStopResponseVariant2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdStopResponseVariant2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdStopResponseVariant2), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdStopResponseVariant2; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdStopResponseVariant2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdStopResponseVariant2), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdStopResponseVariant2; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSessionDirectoryRequest.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionDirectoryRequest.Json.g.cs new file mode 100644 index 000000000..cd519c607 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionDirectoryRequest.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class CreateSessionDirectoryRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.CreateSessionDirectoryRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.CreateSessionDirectoryRequest), + jsonSerializerContext) as global::Vercel.CreateSessionDirectoryRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.CreateSessionDirectoryRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.CreateSessionDirectoryRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSessionDirectoryRequest; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirRequest.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionDirectoryRequest.g.cs similarity index 90% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirRequest.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.CreateSessionDirectoryRequest.g.cs index 57aab4463..58336c9f7 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirRequest.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionDirectoryRequest.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdFsMkdirRequest + public sealed partial class CreateSessionDirectoryRequest { /// /// The base directory for resolving relative paths. If not specified, paths are resolved from the sandbox home directory.
@@ -39,7 +39,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdFsMkdirRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The path of the directory to create. Can be absolute or relative to the working directory.
@@ -56,7 +56,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdFsMkdirRequest #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdFsMkdirRequest( + public CreateSessionDirectoryRequest( string path, string? cwd, bool? recursive) @@ -67,9 +67,9 @@ public CreateSandboxesSessionsBySessionIdFsMkdirRequest( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdFsMkdirRequest() + public CreateSessionDirectoryRequest() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesResponsePagination.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionDirectoryResponse.Json.g.cs similarity index 85% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesResponsePagination.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.CreateSessionDirectoryResponse.Json.g.cs index 9cac0ad6e..b0f658aaa 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesResponsePagination.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionDirectoryResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class GetSandboxesResponsePagination + public sealed partial class CreateSessionDirectoryResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.GetSandboxesResponsePagination? FromJson( + public static global::Vercel.CreateSessionDirectoryResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.GetSandboxesResponsePagination), - jsonSerializerContext) as global::Vercel.GetSandboxesResponsePagination; + typeof(global::Vercel.CreateSessionDirectoryResponse), + jsonSerializerContext) as global::Vercel.CreateSessionDirectoryResponse; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.GetSandboxesResponsePagination? FromJson( + public static global::Vercel.CreateSessionDirectoryResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.GetSandboxesResponsePagination), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesResponsePagination; + typeof(global::Vercel.CreateSessionDirectoryResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSessionDirectoryResponse; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant1.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionDirectoryResponse.g.cs similarity index 87% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant1.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.CreateSessionDirectoryResponse.g.cs index 581e6121e..9e8781cf2 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant1.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionDirectoryResponse.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesSnapshotsResponseVariant1 + public sealed partial class CreateSessionDirectoryResponse { /// diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotRequest.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotRequest.Json.g.cs new file mode 100644 index 000000000..8ae4ce4e8 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotRequest.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class CreateSessionSnapshotRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.CreateSessionSnapshotRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.CreateSessionSnapshotRequest), + jsonSerializerContext) as global::Vercel.CreateSessionSnapshotRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.CreateSessionSnapshotRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.CreateSessionSnapshotRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSessionSnapshotRequest; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequest.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotRequest.g.cs similarity index 82% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequest.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotRequest.g.cs index 1c95ebd15..5521b7f32 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotRequest.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotRequest.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdSnapshotRequest + public sealed partial class CreateSessionSnapshotRequest { /// /// The number of milliseconds after which the snapshot will expire and be deleted. Use 0 for no expiration. @@ -22,7 +22,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdSnapshotRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The number of milliseconds after which the snapshot will expire and be deleted. Use 0 for no expiration. @@ -30,16 +30,16 @@ public sealed partial class CreateSandboxesSessionsBySessionIdSnapshotRequest #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdSnapshotRequest( + public CreateSessionSnapshotRequest( global::Vercel.OneOf? expiration) { this.Expiration = expiration; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdSnapshotRequest() + public CreateSessionSnapshotRequest() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequest.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotRequestExpiration.Json.g.cs similarity index 84% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequest.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotRequestExpiration.Json.g.cs index dd8f3b4c2..a533b8a3f 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequest.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotRequestExpiration.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class CreateSandboxesSessionsBySessionIdCmdRequest + public sealed partial class CreateSessionSnapshotRequestExpiration { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest? FromJson( + public static global::Vercel.CreateSessionSnapshotRequestExpiration? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest), - jsonSerializerContext) as global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest; + typeof(global::Vercel.CreateSessionSnapshotRequestExpiration), + jsonSerializerContext) as global::Vercel.CreateSessionSnapshotRequestExpiration; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest? FromJson( + public static global::Vercel.CreateSessionSnapshotRequestExpiration? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest; + typeof(global::Vercel.CreateSessionSnapshotRequestExpiration), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSessionSnapshotRequestExpiration; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestSnapshotExpiration.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotRequestExpiration.g.cs similarity index 85% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestSnapshotExpiration.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotRequestExpiration.g.cs index f170c1e64..25c8d7fd1 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestSnapshotExpiration.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotRequestExpiration.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class UpdateSandboxesByNameRequestSnapshotExpiration + public sealed partial class CreateSessionSnapshotRequestExpiration { /// diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotResponse.Json.g.cs new file mode 100644 index 000000000..4c9a4446d --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class CreateSessionSnapshotResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.CreateSessionSnapshotResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.CreateSessionSnapshotResponse), + jsonSerializerContext) as global::Vercel.CreateSessionSnapshotResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.CreateSessionSnapshotResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.CreateSessionSnapshotResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.CreateSessionSnapshotResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotResponse.g.cs similarity index 87% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotResponse.g.cs index eafa6d48f..53ccceac8 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdSnapshotResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.CreateSessionSnapshotResponse.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdSnapshotResponse + public sealed partial class CreateSessionSnapshotResponse { /// /// This object contains information related to a Snapshot of a Vercel Sandbox session (v2 API). @@ -29,7 +29,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdSnapshotResponse public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object contains information related to a Snapshot of a Vercel Sandbox session (v2 API). @@ -40,7 +40,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdSnapshotResponse #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdSnapshotResponse( + public CreateSessionSnapshotResponse( global::Vercel.Snapshot snapshot, global::Vercel.Session session) { @@ -49,9 +49,9 @@ public CreateSandboxesSessionsBySessionIdSnapshotResponse( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdSnapshotResponse() + public CreateSessionSnapshotResponse() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxResponse.Json.g.cs new file mode 100644 index 000000000..00176bb43 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class DeleteSandboxResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.DeleteSandboxResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.DeleteSandboxResponse), + jsonSerializerContext) as global::Vercel.DeleteSandboxResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.DeleteSandboxResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.DeleteSandboxResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.DeleteSandboxResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxesByNameResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxResponse.g.cs similarity index 86% rename from src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxesByNameResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxResponse.g.cs index 3373bdea4..1d8116e8a 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxesByNameResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxResponse.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class DeleteSandboxesByNameResponse + public sealed partial class DeleteSandboxResponse { /// /// This object contains information related to a Vercel NamedSandbox. @@ -22,7 +22,7 @@ public sealed partial class DeleteSandboxesByNameResponse public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object contains information related to a Vercel NamedSandbox. @@ -30,16 +30,16 @@ public sealed partial class DeleteSandboxesByNameResponse #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public DeleteSandboxesByNameResponse( + public DeleteSandboxResponse( global::Vercel.NamedSandbox sandbox) { this.Sandbox = sandbox ?? throw new global::System.ArgumentNullException(nameof(sandbox)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public DeleteSandboxesByNameResponse() + public DeleteSandboxResponse() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxesSnapshotsBySnapshotIdResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxesSnapshotsBySnapshotIdResponse.Json.g.cs deleted file mode 100644 index 26200dfb5..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxesSnapshotsBySnapshotIdResponse.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class DeleteSandboxesSnapshotsBySnapshotIdResponse - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.DeleteSandboxesSnapshotsBySnapshotIdResponse? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.DeleteSandboxesSnapshotsBySnapshotIdResponse), - jsonSerializerContext) as global::Vercel.DeleteSandboxesSnapshotsBySnapshotIdResponse; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.DeleteSandboxesSnapshotsBySnapshotIdResponse? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.DeleteSandboxesSnapshotsBySnapshotIdResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.DeleteSandboxesSnapshotsBySnapshotIdResponse; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxesByNameResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.DeleteSessionSnapshotResponse.Json.g.cs similarity index 87% rename from src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxesByNameResponse.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.DeleteSessionSnapshotResponse.Json.g.cs index e1fbbc549..696034dfc 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxesByNameResponse.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.DeleteSessionSnapshotResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class DeleteSandboxesByNameResponse + public sealed partial class DeleteSessionSnapshotResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.DeleteSandboxesByNameResponse? FromJson( + public static global::Vercel.DeleteSessionSnapshotResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.DeleteSandboxesByNameResponse), - jsonSerializerContext) as global::Vercel.DeleteSandboxesByNameResponse; + typeof(global::Vercel.DeleteSessionSnapshotResponse), + jsonSerializerContext) as global::Vercel.DeleteSessionSnapshotResponse; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.DeleteSandboxesByNameResponse? FromJson( + public static global::Vercel.DeleteSessionSnapshotResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.DeleteSandboxesByNameResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.DeleteSandboxesByNameResponse; + typeof(global::Vercel.DeleteSessionSnapshotResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.DeleteSessionSnapshotResponse; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxesSnapshotsBySnapshotIdResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.DeleteSessionSnapshotResponse.g.cs similarity index 83% rename from src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxesSnapshotsBySnapshotIdResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.DeleteSessionSnapshotResponse.g.cs index ad6d70e1c..28e2cfa79 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.DeleteSandboxesSnapshotsBySnapshotIdResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.DeleteSessionSnapshotResponse.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class DeleteSandboxesSnapshotsBySnapshotIdResponse + public sealed partial class DeleteSessionSnapshotResponse { /// /// This object contains information related to a Snapshot of a Vercel Sandbox session (v2 API). @@ -22,7 +22,7 @@ public sealed partial class DeleteSandboxesSnapshotsBySnapshotIdResponse public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object contains information related to a Snapshot of a Vercel Sandbox session (v2 API). @@ -30,16 +30,16 @@ public sealed partial class DeleteSandboxesSnapshotsBySnapshotIdResponse #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public DeleteSandboxesSnapshotsBySnapshotIdResponse( + public DeleteSessionSnapshotResponse( global::Vercel.Snapshot snapshot) { this.Snapshot = snapshot ?? throw new global::System.ArgumentNullException(nameof(snapshot)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public DeleteSandboxesSnapshotsBySnapshotIdResponse() + public DeleteSessionSnapshotResponse() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.ExtendSessionTimeoutRequest.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ExtendSessionTimeoutRequest.Json.g.cs new file mode 100644 index 000000000..ce4466af0 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ExtendSessionTimeoutRequest.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class ExtendSessionTimeoutRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.ExtendSessionTimeoutRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.ExtendSessionTimeoutRequest), + jsonSerializerContext) as global::Vercel.ExtendSessionTimeoutRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.ExtendSessionTimeoutRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.ExtendSessionTimeoutRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ExtendSessionTimeoutRequest; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ExtendSessionTimeoutRequest.g.cs similarity index 74% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ExtendSessionTimeoutRequest.g.cs index efef982b1..647e89652 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ExtendSessionTimeoutRequest.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdExtendTimeoutRequest + public sealed partial class ExtendSessionTimeoutRequest { /// /// The amount of time in milliseconds to add to the current timeout. Must be at least 1000ms (1 second).
@@ -24,7 +24,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdExtendTimeoutReque public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The amount of time in milliseconds to add to the current timeout. Must be at least 1000ms (1 second).
@@ -33,16 +33,16 @@ public sealed partial class CreateSandboxesSessionsBySessionIdExtendTimeoutReque #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdExtendTimeoutRequest( + public ExtendSessionTimeoutRequest( double duration) { this.Duration = duration; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdExtendTimeoutRequest() + public ExtendSessionTimeoutRequest() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.ExtendSessionTimeoutResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ExtendSessionTimeoutResponse.Json.g.cs new file mode 100644 index 000000000..0d028ca8f --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ExtendSessionTimeoutResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class ExtendSessionTimeoutResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.ExtendSessionTimeoutResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.ExtendSessionTimeoutResponse), + jsonSerializerContext) as global::Vercel.ExtendSessionTimeoutResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.ExtendSessionTimeoutResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.ExtendSessionTimeoutResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ExtendSessionTimeoutResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant1.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ExtendSessionTimeoutResponse.g.cs similarity index 75% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant1.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ExtendSessionTimeoutResponse.g.cs index 34577d54b..be50b1835 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant1.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ExtendSessionTimeoutResponse.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdStopResponseVariant1 + public sealed partial class ExtendSessionTimeoutResponse { /// /// This object contains information related to a Vercel Sandbox Session. v2 endpoints return "session" instead of "sandbox" as the response wrapper key. @@ -22,7 +22,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdStopResponseVarian public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object contains information related to a Vercel Sandbox Session. v2 endpoints return "session" instead of "sandbox" as the response wrapper key. @@ -30,16 +30,16 @@ public sealed partial class CreateSandboxesSessionsBySessionIdStopResponseVarian #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdStopResponseVariant1( + public ExtendSessionTimeoutResponse( global::Vercel.Session session) { this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdStopResponseVariant1() + public ExtendSessionTimeoutResponse() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetNamedSandboxResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetNamedSandboxResponse.Json.g.cs new file mode 100644 index 000000000..d95ae78e9 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetNamedSandboxResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class GetNamedSandboxResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.GetNamedSandboxResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.GetNamedSandboxResponse), + jsonSerializerContext) as global::Vercel.GetNamedSandboxResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.GetNamedSandboxResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.GetNamedSandboxResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetNamedSandboxResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesByNameResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetNamedSandboxResponse.g.cs similarity index 89% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesByNameResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.GetNamedSandboxResponse.g.cs index cfc689b32..6d3fe53d2 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesByNameResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.GetNamedSandboxResponse.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesByNameResponse + public sealed partial class GetNamedSandboxResponse { /// /// This object contains information related to a Vercel NamedSandbox. @@ -43,7 +43,7 @@ public sealed partial class GetSandboxesByNameResponse public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object contains information related to a Vercel NamedSandbox. @@ -56,7 +56,7 @@ public sealed partial class GetSandboxesByNameResponse #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public GetSandboxesByNameResponse( + public GetNamedSandboxResponse( global::Vercel.NamedSandbox sandbox, global::Vercel.Session session, global::System.Collections.Generic.IList routes, @@ -69,9 +69,9 @@ public GetSandboxesByNameResponse( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public GetSandboxesByNameResponse() + public GetNamedSandboxResponse() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1.Json.g.cs deleted file mode 100644 index db40b2423..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1), - jsonSerializerContext) as global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data.Json.g.cs deleted file mode 100644 index c73937522..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data), - jsonSerializerContext) as global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2.Json.g.cs deleted file mode 100644 index c57cf93d2..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2), - jsonSerializerContext) as global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse.Json.g.cs deleted file mode 100644 index 98c4dcfb4..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class GetSandboxesSessionsBySessionIdCmdByCmdIdResponse - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse), - jsonSerializerContext) as global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdResponse.Json.g.cs deleted file mode 100644 index 7024c05ed..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdResponse.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class GetSandboxesSessionsBySessionIdCmdResponse - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.GetSandboxesSessionsBySessionIdCmdResponse? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdResponse), - jsonSerializerContext) as global::Vercel.GetSandboxesSessionsBySessionIdCmdResponse; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.GetSandboxesSessionsBySessionIdCmdResponse? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.GetSandboxesSessionsBySessionIdCmdResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesSessionsBySessionIdCmdResponse; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdResponse.Json.g.cs deleted file mode 100644 index 485201c62..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdResponse.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class GetSandboxesSessionsBySessionIdResponse - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.GetSandboxesSessionsBySessionIdResponse? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.GetSandboxesSessionsBySessionIdResponse), - jsonSerializerContext) as global::Vercel.GetSandboxesSessionsBySessionIdResponse; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.GetSandboxesSessionsBySessionIdResponse? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.GetSandboxesSessionsBySessionIdResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesSessionsBySessionIdResponse; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant2.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant2.Json.g.cs deleted file mode 100644 index 77ab5aeb8..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class GetSandboxesSnapshotsResponseVariant2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.GetSandboxesSnapshotsResponseVariant2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.GetSandboxesSnapshotsResponseVariant2), - jsonSerializerContext) as global::Vercel.GetSandboxesSnapshotsResponseVariant2; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.GetSandboxesSnapshotsResponseVariant2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.GetSandboxesSnapshotsResponseVariant2), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesSnapshotsResponseVariant2; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant2Pagination.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant2Pagination.Json.g.cs deleted file mode 100644 index bb28e9b35..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant2Pagination.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class GetSandboxesSnapshotsResponseVariant2Pagination - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.GetSandboxesSnapshotsResponseVariant2Pagination? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.GetSandboxesSnapshotsResponseVariant2Pagination), - jsonSerializerContext) as global::Vercel.GetSandboxesSnapshotsResponseVariant2Pagination; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.GetSandboxesSnapshotsResponseVariant2Pagination? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.GetSandboxesSnapshotsResponseVariant2Pagination), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesSnapshotsResponseVariant2Pagination; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant1.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1.Json.g.cs similarity index 86% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant1.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1.Json.g.cs index c58637eb8..d5d6e6338 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant1.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class GetSandboxesSnapshotsResponseVariant1 + public sealed partial class GetSessionCommandLogsResponseVariant1 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.GetSandboxesSnapshotsResponseVariant1? FromJson( + public static global::Vercel.GetSessionCommandLogsResponseVariant1? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.GetSandboxesSnapshotsResponseVariant1), - jsonSerializerContext) as global::Vercel.GetSandboxesSnapshotsResponseVariant1; + typeof(global::Vercel.GetSessionCommandLogsResponseVariant1), + jsonSerializerContext) as global::Vercel.GetSessionCommandLogsResponseVariant1; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.GetSandboxesSnapshotsResponseVariant1? FromJson( + public static global::Vercel.GetSessionCommandLogsResponseVariant1? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.GetSandboxesSnapshotsResponseVariant1), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesSnapshotsResponseVariant1; + typeof(global::Vercel.GetSessionCommandLogsResponseVariant1), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSessionCommandLogsResponseVariant1; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1.g.cs similarity index 66% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1.g.cs index 9d4b4fa4a..0417f78d3 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1 + public sealed partial class GetSessionCommandLogsResponseVariant1 { /// /// @@ -20,7 +20,7 @@ public sealed partial class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsRespons /// [global::System.Text.Json.Serialization.JsonPropertyName("data")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data Data { get; set; } + public required global::Vercel.GetSessionCommandLogsResponseVariant1Data Data { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -29,25 +29,25 @@ public sealed partial class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsRespons public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1( + public GetSessionCommandLogsResponseVariant1( string stream, - global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data data) + global::Vercel.GetSessionCommandLogsResponseVariant1Data data) { this.Stream = stream ?? throw new global::System.ArgumentNullException(nameof(stream)); this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1() + public GetSessionCommandLogsResponseVariant1() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsBySnapshotIdResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1Data.Json.g.cs similarity index 84% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsBySnapshotIdResponse.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1Data.Json.g.cs index a85068cdc..3a5084aaa 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsBySnapshotIdResponse.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1Data.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class GetSandboxesSnapshotsBySnapshotIdResponse + public sealed partial class GetSessionCommandLogsResponseVariant1Data { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.GetSandboxesSnapshotsBySnapshotIdResponse? FromJson( + public static global::Vercel.GetSessionCommandLogsResponseVariant1Data? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.GetSandboxesSnapshotsBySnapshotIdResponse), - jsonSerializerContext) as global::Vercel.GetSandboxesSnapshotsBySnapshotIdResponse; + typeof(global::Vercel.GetSessionCommandLogsResponseVariant1Data), + jsonSerializerContext) as global::Vercel.GetSessionCommandLogsResponseVariant1Data; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.GetSandboxesSnapshotsBySnapshotIdResponse? FromJson( + public static global::Vercel.GetSessionCommandLogsResponseVariant1Data? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.GetSandboxesSnapshotsBySnapshotIdResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesSnapshotsBySnapshotIdResponse; + typeof(global::Vercel.GetSessionCommandLogsResponseVariant1Data), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSessionCommandLogsResponseVariant1Data; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1Data.g.cs similarity index 50% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1Data.g.cs index 97403b11b..34f6d208b 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1Data.g.cs @@ -6,21 +6,21 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data + public sealed partial class GetSessionCommandLogsResponseVariant1Data { /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("code")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeJsonConverter))] - public global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode Code { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataCodeJsonConverter))] + public global::Vercel.GetSessionCommandLogsResponseVariant1DataCode Code { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("message")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageJsonConverter))] - public global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage Message { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.GetSessionCommandLogsResponseVariant1DataMessageJsonConverter))] + public global::Vercel.GetSessionCommandLogsResponseVariant1DataMessage Message { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -29,25 +29,25 @@ public sealed partial class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsRespons public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data( - global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode code, - global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage message) + public GetSessionCommandLogsResponseVariant1Data( + global::Vercel.GetSessionCommandLogsResponseVariant1DataCode code, + global::Vercel.GetSessionCommandLogsResponseVariant1DataMessage message) { this.Code = code; this.Message = message; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1Data() + public GetSessionCommandLogsResponseVariant1Data() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1DataCode.g.cs similarity index 52% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1DataCode.g.cs index b1c45b74b..126225a4d 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1DataCode.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public enum GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode + public enum GetSessionCommandLogsResponseVariant1DataCode { /// /// @@ -17,27 +17,27 @@ public enum GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCod /// /// Enum extensions to do fast conversions without the reflection. /// - public static class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCodeExtensions + public static class GetSessionCommandLogsResponseVariant1DataCodeExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode value) + public static string ToValueString(this GetSessionCommandLogsResponseVariant1DataCode value) { return value switch { - GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode.SandboxStreamClosed => "sandbox_stream_closed", + GetSessionCommandLogsResponseVariant1DataCode.SandboxStreamClosed => "sandbox_stream_closed", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode? ToEnum(string value) + public static GetSessionCommandLogsResponseVariant1DataCode? ToEnum(string value) { return value switch { - "sandbox_stream_closed" => GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataCode.SandboxStreamClosed, + "sandbox_stream_closed" => GetSessionCommandLogsResponseVariant1DataCode.SandboxStreamClosed, _ => null, }; } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1DataMessage.g.cs similarity index 52% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1DataMessage.g.cs index 0eced83ad..4ebb08170 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant1DataMessage.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public enum GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage + public enum GetSessionCommandLogsResponseVariant1DataMessage { /// /// @@ -17,27 +17,27 @@ public enum GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMes /// /// Enum extensions to do fast conversions without the reflection. /// - public static class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessageExtensions + public static class GetSessionCommandLogsResponseVariant1DataMessageExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage value) + public static string ToValueString(this GetSessionCommandLogsResponseVariant1DataMessage value) { return value switch { - GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage.SandboxStreamWasClosedAndIsNotAcceptingCommands => "Sandbox stream was closed and is not accepting commands.", + GetSessionCommandLogsResponseVariant1DataMessage.SandboxStreamWasClosedAndIsNotAcceptingCommands => "Sandbox stream was closed and is not accepting commands.", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage? ToEnum(string value) + public static GetSessionCommandLogsResponseVariant1DataMessage? ToEnum(string value) { return value switch { - "Sandbox stream was closed and is not accepting commands." => GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant1DataMessage.SandboxStreamWasClosedAndIsNotAcceptingCommands, + "Sandbox stream was closed and is not accepting commands." => GetSessionCommandLogsResponseVariant1DataMessage.SandboxStreamWasClosedAndIsNotAcceptingCommands, _ => null, }; } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameResponseVariant2.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant2.Json.g.cs similarity index 86% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameResponseVariant2.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant2.Json.g.cs index 332757d90..6dda85b9c 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameResponseVariant2.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant2.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class UpdateSandboxesByNameResponseVariant2 + public sealed partial class GetSessionCommandLogsResponseVariant2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.UpdateSandboxesByNameResponseVariant2? FromJson( + public static global::Vercel.GetSessionCommandLogsResponseVariant2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.UpdateSandboxesByNameResponseVariant2), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameResponseVariant2; + typeof(global::Vercel.GetSessionCommandLogsResponseVariant2), + jsonSerializerContext) as global::Vercel.GetSessionCommandLogsResponseVariant2; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.UpdateSandboxesByNameResponseVariant2? FromJson( + public static global::Vercel.GetSessionCommandLogsResponseVariant2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameResponseVariant2), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameResponseVariant2; + typeof(global::Vercel.GetSessionCommandLogsResponseVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSessionCommandLogsResponseVariant2; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant2.g.cs similarity index 74% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant2.g.cs index 678d54618..5ae933621 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandLogsResponseVariant2.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2 + public sealed partial class GetSessionCommandLogsResponseVariant2 { /// /// @@ -29,14 +29,14 @@ public sealed partial class GetSandboxesSessionsBySessionIdCmdByCmdIdLogsRespons public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2( + public GetSessionCommandLogsResponseVariant2( string data, string stream) { @@ -45,9 +45,9 @@ public GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public GetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponseVariant2() + public GetSessionCommandLogsResponseVariant2() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandResponse.Json.g.cs new file mode 100644 index 000000000..15e9b6a1e --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class GetSessionCommandResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.GetSessionCommandResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.GetSessionCommandResponse), + jsonSerializerContext) as global::Vercel.GetSessionCommandResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.GetSessionCommandResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.GetSessionCommandResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSessionCommandResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandResponse.g.cs similarity index 75% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandResponse.g.cs index 846ce3b2b..5975280d2 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandResponse.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdCmdResponse + public sealed partial class GetSessionCommandResponse { /// /// This object represents a command run in a Vercel Sandbox session (v2 API). @@ -22,7 +22,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdCmdResponse public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object represents a command run in a Vercel Sandbox session (v2 API). @@ -30,16 +30,16 @@ public sealed partial class CreateSandboxesSessionsBySessionIdCmdResponse #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdCmdResponse( + public GetSessionCommandResponse( global::Vercel.SessionCommand command) { this.Command = command ?? throw new global::System.ArgumentNullException(nameof(command)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdCmdResponse() + public GetSessionCommandResponse() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdWait.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandWait.g.cs similarity index 60% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdWait.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandWait.g.cs index 138663ef1..d0371099a 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdWait.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionCommandWait.g.cs @@ -7,7 +7,7 @@ namespace Vercel /// If set to "true", the request will block until the command finishes execution. Useful for synchronously waiting for command completion.
/// Default Value: false ///
- public enum GetSandboxesSessionsBySessionIdCmdByCmdIdWait + public enum GetSessionCommandWait { /// /// @@ -22,29 +22,29 @@ public enum GetSandboxesSessionsBySessionIdCmdByCmdIdWait /// /// Enum extensions to do fast conversions without the reflection. /// - public static class GetSandboxesSessionsBySessionIdCmdByCmdIdWaitExtensions + public static class GetSessionCommandWaitExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this GetSandboxesSessionsBySessionIdCmdByCmdIdWait value) + public static string ToValueString(this GetSessionCommandWait value) { return value switch { - GetSandboxesSessionsBySessionIdCmdByCmdIdWait.False => "false", - GetSandboxesSessionsBySessionIdCmdByCmdIdWait.True => "true", + GetSessionCommandWait.False => "false", + GetSessionCommandWait.True => "true", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static GetSandboxesSessionsBySessionIdCmdByCmdIdWait? ToEnum(string value) + public static GetSessionCommandWait? ToEnum(string value) { return value switch { - "false" => GetSandboxesSessionsBySessionIdCmdByCmdIdWait.False, - "true" => GetSandboxesSessionsBySessionIdCmdByCmdIdWait.True, + "false" => GetSessionCommandWait.False, + "true" => GetSessionCommandWait.True, _ => null, }; } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSessionResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionResponse.Json.g.cs new file mode 100644 index 000000000..9df1c03ee --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class GetSessionResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.GetSessionResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.GetSessionResponse), + jsonSerializerContext) as global::Vercel.GetSessionResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.GetSessionResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.GetSessionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSessionResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionResponse.g.cs similarity index 83% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.GetSessionResponse.g.cs index 8b337c739..7b9365d89 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionResponse.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesSessionsBySessionIdResponse + public sealed partial class GetSessionResponse { /// /// This object contains information related to a Vercel Sandbox Session. v2 endpoints return "session" instead of "sandbox" as the response wrapper key. @@ -29,7 +29,7 @@ public sealed partial class GetSandboxesSessionsBySessionIdResponse public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object contains information related to a Vercel Sandbox Session. v2 endpoints return "session" instead of "sandbox" as the response wrapper key. @@ -38,7 +38,7 @@ public sealed partial class GetSandboxesSessionsBySessionIdResponse #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public GetSandboxesSessionsBySessionIdResponse( + public GetSessionResponse( global::Vercel.Session session, global::System.Collections.Generic.IList routes) { @@ -47,9 +47,9 @@ public GetSandboxesSessionsBySessionIdResponse( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public GetSandboxesSessionsBySessionIdResponse() + public GetSessionResponse() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesByNameResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionSnapshotResponse.Json.g.cs similarity index 86% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesByNameResponse.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.GetSessionSnapshotResponse.Json.g.cs index 3dccbcc1f..a093d900a 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesByNameResponse.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionSnapshotResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class GetSandboxesByNameResponse + public sealed partial class GetSessionSnapshotResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.GetSandboxesByNameResponse? FromJson( + public static global::Vercel.GetSessionSnapshotResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.GetSandboxesByNameResponse), - jsonSerializerContext) as global::Vercel.GetSandboxesByNameResponse; + typeof(global::Vercel.GetSessionSnapshotResponse), + jsonSerializerContext) as global::Vercel.GetSessionSnapshotResponse; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.GetSandboxesByNameResponse? FromJson( + public static global::Vercel.GetSessionSnapshotResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.GetSandboxesByNameResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesByNameResponse; + typeof(global::Vercel.GetSessionSnapshotResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSessionSnapshotResponse; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsBySnapshotIdResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.GetSessionSnapshotResponse.g.cs similarity index 77% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsBySnapshotIdResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.GetSessionSnapshotResponse.g.cs index b8d309c86..7f8a5962f 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsBySnapshotIdResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.GetSessionSnapshotResponse.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesSnapshotsBySnapshotIdResponse + public sealed partial class GetSessionSnapshotResponse { /// /// This object contains information related to a Snapshot of a Vercel Sandbox session (v2 API). @@ -22,7 +22,7 @@ public sealed partial class GetSandboxesSnapshotsBySnapshotIdResponse public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object contains information related to a Snapshot of a Vercel Sandbox session (v2 API). @@ -30,16 +30,16 @@ public sealed partial class GetSandboxesSnapshotsBySnapshotIdResponse #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public GetSandboxesSnapshotsBySnapshotIdResponse( + public GetSessionSnapshotResponse( global::Vercel.Snapshot snapshot) { this.Snapshot = snapshot ?? throw new global::System.ArgumentNullException(nameof(snapshot)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public GetSandboxesSnapshotsBySnapshotIdResponse() + public GetSessionSnapshotResponse() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.KillSessionCommandRequest.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.KillSessionCommandRequest.Json.g.cs new file mode 100644 index 000000000..f6002409c --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.KillSessionCommandRequest.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class KillSessionCommandRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.KillSessionCommandRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.KillSessionCommandRequest), + jsonSerializerContext) as global::Vercel.KillSessionCommandRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.KillSessionCommandRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.KillSessionCommandRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.KillSessionCommandRequest; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest.g.cs b/src/libs/Vercel/Generated/Vercel.Models.KillSessionCommandRequest.g.cs similarity index 75% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.KillSessionCommandRequest.g.cs index 8dcd0d4de..a06df04b5 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.KillSessionCommandRequest.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest + public sealed partial class KillSessionCommandRequest { /// /// The POSIX signal number to send to the process. Common values: 15 (SIGTERM) for graceful termination, 9 (SIGKILL) for forced termination.
@@ -24,7 +24,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The POSIX signal number to send to the process. Common values: 15 (SIGTERM) for graceful termination, 9 (SIGKILL) for forced termination.
@@ -33,16 +33,16 @@ public sealed partial class CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequ #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest( + public KillSessionCommandRequest( double signal) { this.Signal = signal; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest() + public KillSessionCommandRequest() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.KillSessionCommandResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.KillSessionCommandResponse.Json.g.cs new file mode 100644 index 000000000..1cb8403ad --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.KillSessionCommandResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class KillSessionCommandResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.KillSessionCommandResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.KillSessionCommandResponse), + jsonSerializerContext) as global::Vercel.KillSessionCommandResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.KillSessionCommandResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.KillSessionCommandResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.KillSessionCommandResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse2.g.cs b/src/libs/Vercel/Generated/Vercel.Models.KillSessionCommandResponse.g.cs similarity index 75% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse2.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.KillSessionCommandResponse.g.cs index 63e03cecc..f662468c5 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdResponse2.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.KillSessionCommandResponse.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdCmdResponse2 + public sealed partial class KillSessionCommandResponse { /// /// This object represents a command run in a Vercel Sandbox session (v2 API). @@ -22,7 +22,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdCmdResponse2 public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object represents a command run in a Vercel Sandbox session (v2 API). @@ -30,16 +30,16 @@ public sealed partial class CreateSandboxesSessionsBySessionIdCmdResponse2 #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdCmdResponse2( + public KillSessionCommandResponse( global::Vercel.SessionCommand command) { this.Command = command ?? throw new global::System.ArgumentNullException(nameof(command)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdCmdResponse2() + public KillSessionCommandResponse() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2Response.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2Response.Json.g.cs new file mode 100644 index 000000000..464b12281 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2Response.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class ListFlagsV2Response + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.ListFlagsV2Response? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.ListFlagsV2Response), + jsonSerializerContext) as global::Vercel.ListFlagsV2Response; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.ListFlagsV2Response? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.ListFlagsV2Response), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ListFlagsV2Response; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2Response.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2Response.g.cs new file mode 100644 index 000000000..c4244ac90 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2Response.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class ListFlagsV2Response + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pagination")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Vercel.ListFlagsV2ResponsePagination Pagination { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ListFlagsV2Response( + global::System.Collections.Generic.IList data, + global::Vercel.ListFlagsV2ResponsePagination pagination) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Pagination = pagination ?? throw new global::System.ArgumentNullException(nameof(pagination)); + } + + /// + /// Initializes a new instance of the class. + /// + public ListFlagsV2Response() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2ResponsePagination.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2ResponsePagination.Json.g.cs new file mode 100644 index 000000000..4708d97b8 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2ResponsePagination.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class ListFlagsV2ResponsePagination + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.ListFlagsV2ResponsePagination? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.ListFlagsV2ResponsePagination), + jsonSerializerContext) as global::Vercel.ListFlagsV2ResponsePagination; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.ListFlagsV2ResponsePagination? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.ListFlagsV2ResponsePagination), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ListFlagsV2ResponsePagination; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2ResponsePagination.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2ResponsePagination.g.cs new file mode 100644 index 000000000..0cddf2271 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2ResponsePagination.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class ListFlagsV2ResponsePagination + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("next")] + public string? Next { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ListFlagsV2ResponsePagination( + string? next) + { + this.Next = next; + } + + /// + /// Initializes a new instance of the class. + /// + public ListFlagsV2ResponsePagination() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2State.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2State.g.cs new file mode 100644 index 000000000..83d85e955 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListFlagsV2State.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// The state of the flags to retrieve. Defaults to `active`. + /// + public enum ListFlagsV2State + { + /// + /// + /// + Active, + /// + /// + /// + Archived, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ListFlagsV2StateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ListFlagsV2State value) + { + return value switch + { + ListFlagsV2State.Active => "active", + ListFlagsV2State.Archived => "archived", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ListFlagsV2State? ToEnum(string value) + { + return value switch + { + "active" => ListFlagsV2State.Active, + "archived" => ListFlagsV2State.Archived, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListSandboxesResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSandboxesResponse.Json.g.cs new file mode 100644 index 000000000..880aeb4f1 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSandboxesResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class ListSandboxesResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.ListSandboxesResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.ListSandboxesResponse), + jsonSerializerContext) as global::Vercel.ListSandboxesResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.ListSandboxesResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.ListSandboxesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ListSandboxesResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSandboxesResponse.g.cs similarity index 77% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSandboxesResponse.g.cs index 8fbc84f28..33d5ff214 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSandboxesResponse.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesResponse + public sealed partial class ListSandboxesResponse { /// /// @@ -20,7 +20,7 @@ public sealed partial class GetSandboxesResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("pagination")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Vercel.GetSandboxesResponsePagination Pagination { get; set; } + public required global::Vercel.ListSandboxesResponsePagination Pagination { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -29,25 +29,25 @@ public sealed partial class GetSandboxesResponse public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public GetSandboxesResponse( + public ListSandboxesResponse( global::System.Collections.Generic.IList sandboxes, - global::Vercel.GetSandboxesResponsePagination pagination) + global::Vercel.ListSandboxesResponsePagination pagination) { this.Sandboxes = sandboxes ?? throw new global::System.ArgumentNullException(nameof(sandboxes)); this.Pagination = pagination ?? throw new global::System.ArgumentNullException(nameof(pagination)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public GetSandboxesResponse() + public ListSandboxesResponse() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListSandboxesResponsePagination.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSandboxesResponsePagination.Json.g.cs new file mode 100644 index 000000000..44a73bfa2 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSandboxesResponsePagination.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class ListSandboxesResponsePagination + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.ListSandboxesResponsePagination? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.ListSandboxesResponsePagination), + jsonSerializerContext) as global::Vercel.ListSandboxesResponsePagination; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.ListSandboxesResponsePagination? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.ListSandboxesResponsePagination), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ListSandboxesResponsePagination; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesResponsePagination.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSandboxesResponsePagination.g.cs similarity index 78% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesResponsePagination.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSandboxesResponsePagination.g.cs index 13f2add18..be88dbd86 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesResponsePagination.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSandboxesResponsePagination.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesResponsePagination + public sealed partial class ListSandboxesResponsePagination { /// /// @@ -28,14 +28,14 @@ public sealed partial class GetSandboxesResponsePagination public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public GetSandboxesResponsePagination( + public ListSandboxesResponsePagination( double count, string? next) { @@ -44,9 +44,9 @@ public GetSandboxesResponsePagination( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public GetSandboxesResponsePagination() + public ListSandboxesResponsePagination() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSortBy.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSandboxesSortBy.g.cs similarity index 58% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSortBy.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSandboxesSortBy.g.cs index a97d4f01e..73f25c3e3 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSortBy.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSandboxesSortBy.g.cs @@ -7,7 +7,7 @@ namespace Vercel /// Field to sort by.
/// Default Value: createdAt ///
- public enum GetSandboxesSortBy + public enum ListSandboxesSortBy { /// /// @@ -30,33 +30,33 @@ public enum GetSandboxesSortBy /// /// Enum extensions to do fast conversions without the reflection. /// - public static class GetSandboxesSortByExtensions + public static class ListSandboxesSortByExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this GetSandboxesSortBy value) + public static string ToValueString(this ListSandboxesSortBy value) { return value switch { - GetSandboxesSortBy.CreatedAt => "createdAt", - GetSandboxesSortBy.CurrentSnapshotId => "currentSnapshotId", - GetSandboxesSortBy.Name => "name", - GetSandboxesSortBy.StatusUpdatedAt => "statusUpdatedAt", + ListSandboxesSortBy.CreatedAt => "createdAt", + ListSandboxesSortBy.CurrentSnapshotId => "currentSnapshotId", + ListSandboxesSortBy.Name => "name", + ListSandboxesSortBy.StatusUpdatedAt => "statusUpdatedAt", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static GetSandboxesSortBy? ToEnum(string value) + public static ListSandboxesSortBy? ToEnum(string value) { return value switch { - "createdAt" => GetSandboxesSortBy.CreatedAt, - "currentSnapshotId" => GetSandboxesSortBy.CurrentSnapshotId, - "name" => GetSandboxesSortBy.Name, - "statusUpdatedAt" => GetSandboxesSortBy.StatusUpdatedAt, + "createdAt" => ListSandboxesSortBy.CreatedAt, + "currentSnapshotId" => ListSandboxesSortBy.CurrentSnapshotId, + "name" => ListSandboxesSortBy.Name, + "statusUpdatedAt" => ListSandboxesSortBy.StatusUpdatedAt, _ => null, }; } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSortOrder.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSandboxesSortOrder.g.cs similarity index 66% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSortOrder.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSandboxesSortOrder.g.cs index 7f168b34e..da5ec0ce1 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSortOrder.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSandboxesSortOrder.g.cs @@ -7,7 +7,7 @@ namespace Vercel /// Sort direction. Defaults to desc.
/// Default Value: desc ///
- public enum GetSandboxesSortOrder + public enum ListSandboxesSortOrder { /// /// @@ -22,29 +22,29 @@ public enum GetSandboxesSortOrder /// /// Enum extensions to do fast conversions without the reflection. /// - public static class GetSandboxesSortOrderExtensions + public static class ListSandboxesSortOrderExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this GetSandboxesSortOrder value) + public static string ToValueString(this ListSandboxesSortOrder value) { return value switch { - GetSandboxesSortOrder.Asc => "asc", - GetSandboxesSortOrder.Desc => "desc", + ListSandboxesSortOrder.Asc => "asc", + ListSandboxesSortOrder.Desc => "desc", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static GetSandboxesSortOrder? ToEnum(string value) + public static ListSandboxesSortOrder? ToEnum(string value) { return value switch { - "asc" => GetSandboxesSortOrder.Asc, - "desc" => GetSandboxesSortOrder.Desc, + "asc" => ListSandboxesSortOrder.Asc, + "desc" => ListSandboxesSortOrder.Desc, _ => null, }; } diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListSessionCommandsResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionCommandsResponse.Json.g.cs new file mode 100644 index 000000000..d96cfb58c --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionCommandsResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class ListSessionCommandsResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.ListSessionCommandsResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.ListSessionCommandsResponse), + jsonSerializerContext) as global::Vercel.ListSessionCommandsResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.ListSessionCommandsResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.ListSessionCommandsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ListSessionCommandsResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionCommandsResponse.g.cs similarity index 75% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSessionCommandsResponse.g.cs index 99f3107d0..087828574 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionCommandsResponse.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesSessionsBySessionIdCmdResponse + public sealed partial class ListSessionCommandsResponse { /// /// @@ -22,22 +22,22 @@ public sealed partial class GetSandboxesSessionsBySessionIdCmdResponse public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public GetSandboxesSessionsBySessionIdCmdResponse( + public ListSessionCommandsResponse( global::System.Collections.Generic.IList commands) { this.Commands = commands ?? throw new global::System.ArgumentNullException(nameof(commands)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public GetSandboxesSessionsBySessionIdCmdResponse() + public ListSessionCommandsResponse() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant1.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant1.Json.g.cs similarity index 86% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant1.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant1.Json.g.cs index 9fd92a6c9..9aba1d4ce 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant1.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant1.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class GetSandboxesSessionsResponseVariant1 + public sealed partial class ListSessionSnapshotsResponseVariant1 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.GetSandboxesSessionsResponseVariant1? FromJson( + public static global::Vercel.ListSessionSnapshotsResponseVariant1? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.GetSandboxesSessionsResponseVariant1), - jsonSerializerContext) as global::Vercel.GetSandboxesSessionsResponseVariant1; + typeof(global::Vercel.ListSessionSnapshotsResponseVariant1), + jsonSerializerContext) as global::Vercel.ListSessionSnapshotsResponseVariant1; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.GetSandboxesSessionsResponseVariant1? FromJson( + public static global::Vercel.ListSessionSnapshotsResponseVariant1? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.GetSandboxesSessionsResponseVariant1), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesSessionsResponseVariant1; + typeof(global::Vercel.ListSessionSnapshotsResponseVariant1), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ListSessionSnapshotsResponseVariant1; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant1.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant1.g.cs similarity index 88% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant1.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant1.g.cs index 636e0400e..fbabe5e93 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant1.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant1.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesSessionsResponseVariant1 + public sealed partial class ListSessionSnapshotsResponseVariant1 { /// diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant2.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant2.Json.g.cs similarity index 86% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant2.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant2.Json.g.cs index 61a021169..c8f243a7a 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant2.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant2.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class GetSandboxesSessionsResponseVariant2 + public sealed partial class ListSessionSnapshotsResponseVariant2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.GetSandboxesSessionsResponseVariant2? FromJson( + public static global::Vercel.ListSessionSnapshotsResponseVariant2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.GetSandboxesSessionsResponseVariant2), - jsonSerializerContext) as global::Vercel.GetSandboxesSessionsResponseVariant2; + typeof(global::Vercel.ListSessionSnapshotsResponseVariant2), + jsonSerializerContext) as global::Vercel.ListSessionSnapshotsResponseVariant2; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.GetSandboxesSessionsResponseVariant2? FromJson( + public static global::Vercel.ListSessionSnapshotsResponseVariant2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.GetSandboxesSessionsResponseVariant2), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesSessionsResponseVariant2; + typeof(global::Vercel.ListSessionSnapshotsResponseVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ListSessionSnapshotsResponseVariant2; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant2.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant2.g.cs similarity index 73% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant2.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant2.g.cs index 3a3e6aa8b..65ef340e4 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant2.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant2.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesSnapshotsResponseVariant2 + public sealed partial class ListSessionSnapshotsResponseVariant2 { /// /// @@ -20,7 +20,7 @@ public sealed partial class GetSandboxesSnapshotsResponseVariant2 /// [global::System.Text.Json.Serialization.JsonPropertyName("pagination")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Vercel.GetSandboxesSnapshotsResponseVariant2Pagination Pagination { get; set; } + public required global::Vercel.ListSessionSnapshotsResponseVariant2Pagination Pagination { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -29,25 +29,25 @@ public sealed partial class GetSandboxesSnapshotsResponseVariant2 public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public GetSandboxesSnapshotsResponseVariant2( + public ListSessionSnapshotsResponseVariant2( global::System.Collections.Generic.IList snapshots, - global::Vercel.GetSandboxesSnapshotsResponseVariant2Pagination pagination) + global::Vercel.ListSessionSnapshotsResponseVariant2Pagination pagination) { this.Snapshots = snapshots ?? throw new global::System.ArgumentNullException(nameof(snapshots)); this.Pagination = pagination ?? throw new global::System.ArgumentNullException(nameof(pagination)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public GetSandboxesSnapshotsResponseVariant2() + public ListSessionSnapshotsResponseVariant2() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant2Pagination.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant2Pagination.Json.g.cs similarity index 86% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant2Pagination.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant2Pagination.Json.g.cs index 91cd4f1b3..362d61875 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant2Pagination.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant2Pagination.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class GetSandboxesSessionsResponseVariant2Pagination + public sealed partial class ListSessionSnapshotsResponseVariant2Pagination { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.GetSandboxesSessionsResponseVariant2Pagination? FromJson( + public static global::Vercel.ListSessionSnapshotsResponseVariant2Pagination? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.GetSandboxesSessionsResponseVariant2Pagination), - jsonSerializerContext) as global::Vercel.GetSandboxesSessionsResponseVariant2Pagination; + typeof(global::Vercel.ListSessionSnapshotsResponseVariant2Pagination), + jsonSerializerContext) as global::Vercel.ListSessionSnapshotsResponseVariant2Pagination; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.GetSandboxesSessionsResponseVariant2Pagination? FromJson( + public static global::Vercel.ListSessionSnapshotsResponseVariant2Pagination? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.GetSandboxesSessionsResponseVariant2Pagination), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesSessionsResponseVariant2Pagination; + typeof(global::Vercel.ListSessionSnapshotsResponseVariant2Pagination), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ListSessionSnapshotsResponseVariant2Pagination; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant2Pagination.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant2Pagination.g.cs similarity index 76% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant2Pagination.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant2Pagination.g.cs index 08025adc9..4f2b5b2f0 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant2Pagination.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsResponseVariant2Pagination.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesSessionsResponseVariant2Pagination + public sealed partial class ListSessionSnapshotsResponseVariant2Pagination { /// /// @@ -28,14 +28,14 @@ public sealed partial class GetSandboxesSessionsResponseVariant2Pagination public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public GetSandboxesSessionsResponseVariant2Pagination( + public ListSessionSnapshotsResponseVariant2Pagination( double count, string? next) { @@ -44,9 +44,9 @@ public GetSandboxesSessionsResponseVariant2Pagination( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public GetSandboxesSessionsResponseVariant2Pagination() + public ListSessionSnapshotsResponseVariant2Pagination() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsSortOrder.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsSortOrder.g.cs similarity index 64% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsSortOrder.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsSortOrder.g.cs index 55a1ccddc..a7623cfad 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsSortOrder.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionSnapshotsSortOrder.g.cs @@ -7,7 +7,7 @@ namespace Vercel /// Sort direction for results by creation time.
/// Default Value: desc ///
- public enum GetSandboxesSessionsSortOrder + public enum ListSessionSnapshotsSortOrder { /// /// @@ -22,29 +22,29 @@ public enum GetSandboxesSessionsSortOrder /// /// Enum extensions to do fast conversions without the reflection. /// - public static class GetSandboxesSessionsSortOrderExtensions + public static class ListSessionSnapshotsSortOrderExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this GetSandboxesSessionsSortOrder value) + public static string ToValueString(this ListSessionSnapshotsSortOrder value) { return value switch { - GetSandboxesSessionsSortOrder.Asc => "asc", - GetSandboxesSessionsSortOrder.Desc => "desc", + ListSessionSnapshotsSortOrder.Asc => "asc", + ListSessionSnapshotsSortOrder.Desc => "desc", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static GetSandboxesSessionsSortOrder? ToEnum(string value) + public static ListSessionSnapshotsSortOrder? ToEnum(string value) { return value switch { - "asc" => GetSandboxesSessionsSortOrder.Asc, - "desc" => GetSandboxesSessionsSortOrder.Desc, + "asc" => ListSessionSnapshotsSortOrder.Asc, + "desc" => ListSessionSnapshotsSortOrder.Desc, _ => null, }; } diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant1.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant1.Json.g.cs new file mode 100644 index 000000000..88bd594e3 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant1.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class ListSessionsResponseVariant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.ListSessionsResponseVariant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.ListSessionsResponseVariant1), + jsonSerializerContext) as global::Vercel.ListSessionsResponseVariant1; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.ListSessionsResponseVariant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.ListSessionsResponseVariant1), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ListSessionsResponseVariant1; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsWriteResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant1.g.cs similarity index 85% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsWriteResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant1.g.cs index 30311636e..e175ee51b 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsWriteResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant1.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdFsWriteResponse + public sealed partial class ListSessionsResponseVariant1 { /// diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant2.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant2.Json.g.cs new file mode 100644 index 000000000..ecb20d315 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class ListSessionsResponseVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.ListSessionsResponseVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.ListSessionsResponseVariant2), + jsonSerializerContext) as global::Vercel.ListSessionsResponseVariant2; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.ListSessionsResponseVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.ListSessionsResponseVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ListSessionsResponseVariant2; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant2.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant2.g.cs similarity index 73% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant2.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant2.g.cs index d3ed96c76..40afeabaa 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsResponseVariant2.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant2.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesSessionsResponseVariant2 + public sealed partial class ListSessionsResponseVariant2 { /// /// @@ -20,7 +20,7 @@ public sealed partial class GetSandboxesSessionsResponseVariant2 /// [global::System.Text.Json.Serialization.JsonPropertyName("pagination")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Vercel.GetSandboxesSessionsResponseVariant2Pagination Pagination { get; set; } + public required global::Vercel.ListSessionsResponseVariant2Pagination Pagination { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -29,25 +29,25 @@ public sealed partial class GetSandboxesSessionsResponseVariant2 public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public GetSandboxesSessionsResponseVariant2( + public ListSessionsResponseVariant2( global::System.Collections.Generic.IList sessions, - global::Vercel.GetSandboxesSessionsResponseVariant2Pagination pagination) + global::Vercel.ListSessionsResponseVariant2Pagination pagination) { this.Sessions = sessions ?? throw new global::System.ArgumentNullException(nameof(sessions)); this.Pagination = pagination ?? throw new global::System.ArgumentNullException(nameof(pagination)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public GetSandboxesSessionsResponseVariant2() + public ListSessionsResponseVariant2() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant2Pagination.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant2Pagination.Json.g.cs new file mode 100644 index 000000000..573892620 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant2Pagination.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class ListSessionsResponseVariant2Pagination + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.ListSessionsResponseVariant2Pagination? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.ListSessionsResponseVariant2Pagination), + jsonSerializerContext) as global::Vercel.ListSessionsResponseVariant2Pagination; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.ListSessionsResponseVariant2Pagination? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.ListSessionsResponseVariant2Pagination), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ListSessionsResponseVariant2Pagination; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant2Pagination.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant2Pagination.g.cs similarity index 74% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant2Pagination.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant2Pagination.g.cs index 1c377cb90..eb5a24825 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsResponseVariant2Pagination.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionsResponseVariant2Pagination.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesSnapshotsResponseVariant2Pagination + public sealed partial class ListSessionsResponseVariant2Pagination { /// /// @@ -28,14 +28,14 @@ public sealed partial class GetSandboxesSnapshotsResponseVariant2Pagination public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public GetSandboxesSnapshotsResponseVariant2Pagination( + public ListSessionsResponseVariant2Pagination( double count, string? next) { @@ -44,9 +44,9 @@ public GetSandboxesSnapshotsResponseVariant2Pagination( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public GetSandboxesSnapshotsResponseVariant2Pagination() + public ListSessionsResponseVariant2Pagination() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsSortOrder.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListSessionsSortOrder.g.cs similarity index 63% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsSortOrder.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ListSessionsSortOrder.g.cs index e101044a0..82622dfc5 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSnapshotsSortOrder.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ListSessionsSortOrder.g.cs @@ -7,7 +7,7 @@ namespace Vercel /// Sort direction for results by creation time.
/// Default Value: desc ///
- public enum GetSandboxesSnapshotsSortOrder + public enum ListSessionsSortOrder { /// /// @@ -22,29 +22,29 @@ public enum GetSandboxesSnapshotsSortOrder /// /// Enum extensions to do fast conversions without the reflection. /// - public static class GetSandboxesSnapshotsSortOrderExtensions + public static class ListSessionsSortOrderExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this GetSandboxesSnapshotsSortOrder value) + public static string ToValueString(this ListSessionsSortOrder value) { return value switch { - GetSandboxesSnapshotsSortOrder.Asc => "asc", - GetSandboxesSnapshotsSortOrder.Desc => "desc", + ListSessionsSortOrder.Asc => "asc", + ListSessionsSortOrder.Desc => "desc", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static GetSandboxesSnapshotsSortOrder? ToEnum(string value) + public static ListSessionsSortOrder? ToEnum(string value) { return value switch { - "asc" => GetSandboxesSnapshotsSortOrder.Asc, - "desc" => GetSandboxesSnapshotsSortOrder.Desc, + "asc" => ListSessionsSortOrder.Asc, + "desc" => ListSessionsSortOrder.Desc, _ => null, }; } diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2Kind.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2Kind.g.cs new file mode 100644 index 000000000..4b78a3966 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2Kind.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// The kind of flags to retrieve. + /// + public enum ListTeamFlagsV2Kind + { + /// + /// + /// + Boolean, + /// + /// + /// + Json, + /// + /// + /// + Number, + /// + /// + /// + String, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ListTeamFlagsV2KindExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ListTeamFlagsV2Kind value) + { + return value switch + { + ListTeamFlagsV2Kind.Boolean => "boolean", + ListTeamFlagsV2Kind.Json => "json", + ListTeamFlagsV2Kind.Number => "number", + ListTeamFlagsV2Kind.String => "string", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ListTeamFlagsV2Kind? ToEnum(string value) + { + return value switch + { + "boolean" => ListTeamFlagsV2Kind.Boolean, + "json" => ListTeamFlagsV2Kind.Json, + "number" => ListTeamFlagsV2Kind.Number, + "string" => ListTeamFlagsV2Kind.String, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2Response.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2Response.Json.g.cs new file mode 100644 index 000000000..143ae4583 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2Response.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class ListTeamFlagsV2Response + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.ListTeamFlagsV2Response? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.ListTeamFlagsV2Response), + jsonSerializerContext) as global::Vercel.ListTeamFlagsV2Response; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.ListTeamFlagsV2Response? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.ListTeamFlagsV2Response), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ListTeamFlagsV2Response; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2Response.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2Response.g.cs new file mode 100644 index 000000000..37711c0b5 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2Response.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class ListTeamFlagsV2Response + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pagination")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Vercel.ListTeamFlagsV2ResponsePagination Pagination { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ListTeamFlagsV2Response( + global::System.Collections.Generic.IList data, + global::Vercel.ListTeamFlagsV2ResponsePagination pagination) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Pagination = pagination ?? throw new global::System.ArgumentNullException(nameof(pagination)); + } + + /// + /// Initializes a new instance of the class. + /// + public ListTeamFlagsV2Response() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2ResponsePagination.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2ResponsePagination.Json.g.cs new file mode 100644 index 000000000..e2100d7fe --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2ResponsePagination.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class ListTeamFlagsV2ResponsePagination + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.ListTeamFlagsV2ResponsePagination? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.ListTeamFlagsV2ResponsePagination), + jsonSerializerContext) as global::Vercel.ListTeamFlagsV2ResponsePagination; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.ListTeamFlagsV2ResponsePagination? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.ListTeamFlagsV2ResponsePagination), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ListTeamFlagsV2ResponsePagination; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2ResponsePagination.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2ResponsePagination.g.cs new file mode 100644 index 000000000..3ec9dba24 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2ResponsePagination.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class ListTeamFlagsV2ResponsePagination + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("next")] + public string? Next { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ListTeamFlagsV2ResponsePagination( + string? next) + { + this.Next = next; + } + + /// + /// Initializes a new instance of the class. + /// + public ListTeamFlagsV2ResponsePagination() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2State.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2State.g.cs new file mode 100644 index 000000000..e3e4a2b5d --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ListTeamFlagsV2State.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// The state of the flags to retrieve. Defaults to `active`. + /// + public enum ListTeamFlagsV2State + { + /// + /// + /// + Active, + /// + /// + /// + Archived, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ListTeamFlagsV2StateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ListTeamFlagsV2State value) + { + return value switch + { + ListTeamFlagsV2State.Active => "active", + ListTeamFlagsV2State.Archived => "archived", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ListTeamFlagsV2State? ToEnum(string value) + { + return value switch + { + "active" => ListTeamFlagsV2State.Active, + "archived" => ListTeamFlagsV2State.Archived, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.NamedSandbox.g.cs b/src/libs/Vercel/Generated/Vercel.Models.NamedSandbox.g.cs index ba63c79b6..93b89478b 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.NamedSandbox.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.NamedSandbox.g.cs @@ -167,7 +167,7 @@ public sealed partial class NamedSandbox public global::System.Collections.Generic.Dictionary? Tags { get; set; } /// - /// Key-value pairs of mount path and volume. + /// Key-value pairs of mount path and drive. /// [global::System.Text.Json.Serialization.JsonPropertyName("mounts")] public global::System.Collections.Generic.Dictionary? Mounts { get; set; } @@ -284,7 +284,7 @@ public sealed partial class NamedSandbox /// Example: {"team":"hive","user":"bob"} /// /// - /// Key-value pairs of mount path and volume. + /// Key-value pairs of mount path and drive. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/Vercel/Generated/Vercel.Models.NamedSandboxMounts.g.cs b/src/libs/Vercel/Generated/Vercel.Models.NamedSandboxMounts.g.cs index be4765368..077b416c8 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.NamedSandboxMounts.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.NamedSandboxMounts.g.cs @@ -4,7 +4,7 @@ namespace Vercel { /// - /// Key-value pairs of mount path and volume. + /// Key-value pairs of mount path and drive. /// public sealed partial class NamedSandboxMounts { diff --git a/src/libs/Vercel/Generated/Vercel.Models.NamedSandboxMounts2.g.cs b/src/libs/Vercel/Generated/Vercel.Models.NamedSandboxMounts2.g.cs index bbabd392f..e8d17accf 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.NamedSandboxMounts2.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.NamedSandboxMounts2.g.cs @@ -4,16 +4,16 @@ namespace Vercel { /// - /// Key-value pairs of mount path and volume. + /// Key-value pairs of mount path and drive. /// public sealed partial class NamedSandboxMounts2 { /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("volume")] + [global::System.Text.Json.Serialization.JsonPropertyName("drive")] [global::System.Text.Json.Serialization.JsonRequired] - public required string Volume { get; set; } + public required string Drive { get; set; } /// /// @@ -31,16 +31,16 @@ public sealed partial class NamedSandboxMounts2 /// /// Initializes a new instance of the class. /// - /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public NamedSandboxMounts2( - string volume, + string drive, global::Vercel.NamedSandboxMountsMode? mode) { - this.Volume = volume ?? throw new global::System.ArgumentNullException(nameof(volume)); + this.Drive = drive ?? throw new global::System.ArgumentNullException(nameof(drive)); this.Mode = mode; } diff --git a/src/libs/Vercel/Generated/Vercel.Models.ReadSessionFileRequest.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ReadSessionFileRequest.Json.g.cs new file mode 100644 index 000000000..d1f6b39e2 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.ReadSessionFileRequest.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class ReadSessionFileRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.ReadSessionFileRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.ReadSessionFileRequest), + jsonSerializerContext) as global::Vercel.ReadSessionFileRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.ReadSessionFileRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.ReadSessionFileRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.ReadSessionFileRequest; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsReadRequest.g.cs b/src/libs/Vercel/Generated/Vercel.Models.ReadSessionFileRequest.g.cs similarity index 82% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsReadRequest.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.ReadSessionFileRequest.g.cs index 8432416f7..b81a762ec 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsReadRequest.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.ReadSessionFileRequest.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdFsReadRequest + public sealed partial class ReadSessionFileRequest { /// /// The base directory for resolving relative paths. If not specified, paths are resolved from the sandbox home directory.
@@ -32,7 +32,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdFsReadRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The path of the file to read. Can be absolute or relative to the working directory.
@@ -45,7 +45,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdFsReadRequest #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdFsReadRequest( + public ReadSessionFileRequest( string path, string? cwd) { @@ -54,9 +54,9 @@ public CreateSandboxesSessionsBySessionIdFsReadRequest( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdFsReadRequest() + public ReadSessionFileRequest() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandRequest.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandRequest.Json.g.cs new file mode 100644 index 000000000..2819e345c --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandRequest.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class RunSessionCommandRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.RunSessionCommandRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.RunSessionCommandRequest), + jsonSerializerContext) as global::Vercel.RunSessionCommandRequest; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.RunSessionCommandRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.RunSessionCommandRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.RunSessionCommandRequest; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequest.g.cs b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandRequest.g.cs similarity index 91% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequest.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandRequest.g.cs index 8b7a2bf11..724bc024e 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequest.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandRequest.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdCmdRequest + public sealed partial class RunSessionCommandRequest { /// /// The executable or shell command to run. This is the program name without arguments.
@@ -63,7 +63,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdCmdRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The executable or shell command to run. This is the program name without arguments.
@@ -93,7 +93,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdCmdRequest #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdCmdRequest( + public RunSessionCommandRequest( string command, global::System.Collections.Generic.IList? args, string? cwd, @@ -110,9 +110,9 @@ public CreateSandboxesSessionsBySessionIdCmdRequest( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdCmdRequest() + public RunSessionCommandRequest() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandRequestEnv.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandRequestEnv.Json.g.cs new file mode 100644 index 000000000..95ffe6671 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandRequestEnv.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class RunSessionCommandRequestEnv + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.RunSessionCommandRequestEnv? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.RunSessionCommandRequestEnv), + jsonSerializerContext) as global::Vercel.RunSessionCommandRequestEnv; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.RunSessionCommandRequestEnv? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.RunSessionCommandRequestEnv), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.RunSessionCommandRequestEnv; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequestEnv.g.cs b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandRequestEnv.g.cs similarity index 89% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequestEnv.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandRequestEnv.g.cs index e4e66c8cd..5fb042159 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdRequestEnv.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandRequestEnv.g.cs @@ -8,7 +8,7 @@ namespace Vercel /// Default Value: {}
/// Example: {"NODE_ENV":"production","DEBUG":"true"} ///
- public sealed partial class CreateSandboxesSessionsBySessionIdCmdRequestEnv + public sealed partial class RunSessionCommandRequestEnv { /// diff --git a/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandResponse.Json.g.cs new file mode 100644 index 000000000..5487be5dd --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class RunSessionCommandResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.RunSessionCommandResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.RunSessionCommandResponse), + jsonSerializerContext) as global::Vercel.RunSessionCommandResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.RunSessionCommandResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.RunSessionCommandResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.RunSessionCommandResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandResponse.g.cs similarity index 74% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandResponse.g.cs index 7ec673f42..abce52473 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandResponse.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class GetSandboxesSessionsBySessionIdCmdByCmdIdResponse + public sealed partial class RunSessionCommandResponse { /// /// This object represents a command run in a Vercel Sandbox session (v2 API). @@ -22,7 +22,7 @@ public sealed partial class GetSandboxesSessionsBySessionIdCmdByCmdIdResponse public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object represents a command run in a Vercel Sandbox session (v2 API). @@ -30,16 +30,16 @@ public sealed partial class GetSandboxesSessionsBySessionIdCmdByCmdIdResponse #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public GetSandboxesSessionsBySessionIdCmdByCmdIdResponse( + public RunSessionCommandResponse( global::Vercel.SessionCommand command) { this.Command = command ?? throw new global::System.ArgumentNullException(nameof(command)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public GetSandboxesSessionsBySessionIdCmdByCmdIdResponse() + public RunSessionCommandResponse() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandResponse2.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandResponse2.Json.g.cs new file mode 100644 index 000000000..38ee2b5e3 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandResponse2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class RunSessionCommandResponse2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.RunSessionCommandResponse2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.RunSessionCommandResponse2), + jsonSerializerContext) as global::Vercel.RunSessionCommandResponse2; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.RunSessionCommandResponse2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.RunSessionCommandResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.RunSessionCommandResponse2; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandResponse2.g.cs similarity index 73% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandResponse2.g.cs index ed5538420..bfe9e4f09 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.RunSessionCommandResponse2.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse + public sealed partial class RunSessionCommandResponse2 { /// /// This object represents a command run in a Vercel Sandbox session (v2 API). @@ -22,7 +22,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResp public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object represents a command run in a Vercel Sandbox session (v2 API). @@ -30,16 +30,16 @@ public sealed partial class CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResp #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse( + public RunSessionCommandResponse2( global::Vercel.SessionCommand command) { this.Command = command ?? throw new global::System.ArgumentNullException(nameof(command)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse() + public RunSessionCommandResponse2() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.StopSessionResponseVariant1.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.StopSessionResponseVariant1.Json.g.cs new file mode 100644 index 000000000..007d9eb1c --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.StopSessionResponseVariant1.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class StopSessionResponseVariant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.StopSessionResponseVariant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.StopSessionResponseVariant1), + jsonSerializerContext) as global::Vercel.StopSessionResponseVariant1; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.StopSessionResponseVariant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.StopSessionResponseVariant1), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.StopSessionResponseVariant1; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.StopSessionResponseVariant1.g.cs similarity index 75% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.StopSessionResponseVariant1.g.cs index 5c7e598ab..02e730b14 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.StopSessionResponseVariant1.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdExtendTimeoutResponse + public sealed partial class StopSessionResponseVariant1 { /// /// This object contains information related to a Vercel Sandbox Session. v2 endpoints return "session" instead of "sandbox" as the response wrapper key. @@ -22,7 +22,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdExtendTimeoutRespo public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object contains information related to a Vercel Sandbox Session. v2 endpoints return "session" instead of "sandbox" as the response wrapper key. @@ -30,16 +30,16 @@ public sealed partial class CreateSandboxesSessionsBySessionIdExtendTimeoutRespo #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdExtendTimeoutResponse( + public StopSessionResponseVariant1( global::Vercel.Session session) { this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdExtendTimeoutResponse() + public StopSessionResponseVariant1() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.StopSessionResponseVariant2.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.StopSessionResponseVariant2.Json.g.cs new file mode 100644 index 000000000..c781f857c --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.StopSessionResponseVariant2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class StopSessionResponseVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.StopSessionResponseVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.StopSessionResponseVariant2), + jsonSerializerContext) as global::Vercel.StopSessionResponseVariant2; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.StopSessionResponseVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.StopSessionResponseVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.StopSessionResponseVariant2; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant2.g.cs b/src/libs/Vercel/Generated/Vercel.Models.StopSessionResponseVariant2.g.cs similarity index 85% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant2.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.StopSessionResponseVariant2.g.cs index 385a1832f..e87b649c8 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdStopResponseVariant2.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.StopSessionResponseVariant2.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdStopResponseVariant2 + public sealed partial class StopSessionResponseVariant2 { /// /// This object contains information related to a Snapshot of a Vercel Sandbox session (v2 API). @@ -36,7 +36,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdStopResponseVarian public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object contains information related to a Snapshot of a Vercel Sandbox session (v2 API). @@ -50,7 +50,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdStopResponseVarian #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdStopResponseVariant2( + public StopSessionResponseVariant2( global::Vercel.Snapshot snapshot, global::Vercel.NamedSandbox sandbox, global::Vercel.Session session) @@ -61,9 +61,9 @@ public CreateSandboxesSessionsBySessionIdStopResponseVariant2( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdStopResponseVariant2() + public StopSessionResponseVariant2() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequest.Json.g.cs similarity index 87% rename from src/libs/Vercel/Generated/Vercel.Models.GetSandboxesResponse.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequest.Json.g.cs index 8cf3b18ff..f3bf18239 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.GetSandboxesResponse.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class GetSandboxesResponse + public sealed partial class UpdateSandboxRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.GetSandboxesResponse? FromJson( + public static global::Vercel.UpdateSandboxRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.GetSandboxesResponse), - jsonSerializerContext) as global::Vercel.GetSandboxesResponse; + typeof(global::Vercel.UpdateSandboxRequest), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequest; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.GetSandboxesResponse? FromJson( + public static global::Vercel.UpdateSandboxRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.GetSandboxesResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.GetSandboxesResponse; + typeof(global::Vercel.UpdateSandboxRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequest; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequest.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequest.g.cs similarity index 86% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequest.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequest.g.cs index 8980a1a6f..abc35f8c6 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequest.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequest.g.cs @@ -6,13 +6,13 @@ namespace Vercel /// /// /// - public sealed partial class UpdateSandboxesByNameRequest + public sealed partial class UpdateSandboxRequest { /// /// Resources to define the VM /// [global::System.Text.Json.Serialization.JsonPropertyName("resources")] - public global::Vercel.UpdateSandboxesByNameRequestResources? Resources { get; set; } + public global::Vercel.UpdateSandboxRequestResources? Resources { get; set; } /// /// The runtime environment for the sandbox. Determines the pre-installed language runtimes and tools available.
@@ -20,8 +20,8 @@ public sealed partial class UpdateSandboxesByNameRequest ///
/// node24 [global::System.Text.Json.Serialization.JsonPropertyName("runtime")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestRuntimeJsonConverter))] - public global::Vercel.UpdateSandboxesByNameRequestRuntime? Runtime { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.UpdateSandboxRequestRuntimeJsonConverter))] + public global::Vercel.UpdateSandboxRequestRuntime? Runtime { get; set; } /// /// Maximum duration in milliseconds that the sandbox can run before being automatically stopped.
@@ -50,15 +50,15 @@ public sealed partial class UpdateSandboxesByNameRequest /// Protect the N most recent snapshots with different expiration/deletion behavior. Set to null to clear. ///
[global::System.Text.Json.Serialization.JsonPropertyName("keepLastSnapshots")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.OneOfJsonConverter))] - public global::Vercel.OneOf? KeepLastSnapshots { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.OneOfJsonConverter))] + public global::Vercel.OneOf? KeepLastSnapshots { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("networkPolicy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.OneOfJsonConverter))] - public global::Vercel.OneOf? NetworkPolicy { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.OneOfJsonConverter))] + public global::Vercel.OneOf? NetworkPolicy { get; set; } /// /// Default environment variables for the sandbox. Set to empty object to clear.
@@ -97,7 +97,7 @@ public sealed partial class UpdateSandboxesByNameRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Resources to define the VM @@ -139,14 +139,14 @@ public sealed partial class UpdateSandboxesByNameRequest #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequest( - global::Vercel.UpdateSandboxesByNameRequestResources? resources, - global::Vercel.UpdateSandboxesByNameRequestRuntime? runtime, + public UpdateSandboxRequest( + global::Vercel.UpdateSandboxRequestResources? resources, + global::Vercel.UpdateSandboxRequestRuntime? runtime, int? timeout, bool? persistent, global::Vercel.OneOf? snapshotExpiration, - global::Vercel.OneOf? keepLastSnapshots, - global::Vercel.OneOf? networkPolicy, + global::Vercel.OneOf? keepLastSnapshots, + global::Vercel.OneOf? networkPolicy, global::System.Collections.Generic.Dictionary? env, global::System.Collections.Generic.IList? ports, string? currentSnapshotId, @@ -166,9 +166,9 @@ public UpdateSandboxesByNameRequest( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequest() + public UpdateSandboxRequest() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequest.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestEnv.Json.g.cs similarity index 87% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequest.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestEnv.Json.g.cs index 5c827083e..db45f7cc1 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequest.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestEnv.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class UpdateSandboxesByNameRequest + public sealed partial class UpdateSandboxRequestEnv { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.UpdateSandboxesByNameRequest? FromJson( + public static global::Vercel.UpdateSandboxRequestEnv? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.UpdateSandboxesByNameRequest), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequest; + typeof(global::Vercel.UpdateSandboxRequestEnv), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestEnv; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.UpdateSandboxesByNameRequest? FromJson( + public static global::Vercel.UpdateSandboxRequestEnv? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequest; + typeof(global::Vercel.UpdateSandboxRequestEnv), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestEnv; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestEnv.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestEnv.g.cs similarity index 90% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestEnv.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestEnv.g.cs index 3e14ef75a..e9574432a 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestEnv.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestEnv.g.cs @@ -7,7 +7,7 @@ namespace Vercel /// Default environment variables for the sandbox. Set to empty object to clear.
/// Example: {"NODE_ENV":"production","HELLO":"world"} ///
- public sealed partial class UpdateSandboxesByNameRequestEnv + public sealed partial class UpdateSandboxRequestEnv { /// diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestResources.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestKeepLastSnapshots.Json.g.cs similarity index 86% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestResources.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestKeepLastSnapshots.Json.g.cs index a139506a6..4e42921db 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestResources.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestKeepLastSnapshots.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class UpdateSandboxesByNameRequestResources + public sealed partial class UpdateSandboxRequestKeepLastSnapshots { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.UpdateSandboxesByNameRequestResources? FromJson( + public static global::Vercel.UpdateSandboxRequestKeepLastSnapshots? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.UpdateSandboxesByNameRequestResources), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestResources; + typeof(global::Vercel.UpdateSandboxRequestKeepLastSnapshots), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestKeepLastSnapshots; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.UpdateSandboxesByNameRequestResources? FromJson( + public static global::Vercel.UpdateSandboxRequestKeepLastSnapshots? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestResources), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestResources; + typeof(global::Vercel.UpdateSandboxRequestKeepLastSnapshots), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestKeepLastSnapshots; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshots.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestKeepLastSnapshots.g.cs similarity index 89% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshots.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestKeepLastSnapshots.g.cs index f92d6a97e..e66935ba8 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshots.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestKeepLastSnapshots.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class UpdateSandboxesByNameRequestKeepLastSnapshots + public sealed partial class UpdateSandboxRequestKeepLastSnapshots { /// /// Number of most recent snapshots to keep. @@ -35,7 +35,7 @@ public sealed partial class UpdateSandboxesByNameRequestKeepLastSnapshots public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Number of most recent snapshots to keep. @@ -49,7 +49,7 @@ public sealed partial class UpdateSandboxesByNameRequestKeepLastSnapshots #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestKeepLastSnapshots( + public UpdateSandboxRequestKeepLastSnapshots( int count, global::Vercel.OneOf? expiration, bool? deleteEvicted) @@ -60,9 +60,9 @@ public UpdateSandboxesByNameRequestKeepLastSnapshots( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestKeepLastSnapshots() + public UpdateSandboxRequestKeepLastSnapshots() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshots.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestKeepLastSnapshotsExpiration.Json.g.cs similarity index 83% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshots.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestKeepLastSnapshotsExpiration.Json.g.cs index 8e6d5caef..b5abb9be3 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshots.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestKeepLastSnapshotsExpiration.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class UpdateSandboxesByNameRequestKeepLastSnapshots + public sealed partial class UpdateSandboxRequestKeepLastSnapshotsExpiration { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.UpdateSandboxesByNameRequestKeepLastSnapshots? FromJson( + public static global::Vercel.UpdateSandboxRequestKeepLastSnapshotsExpiration? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.UpdateSandboxesByNameRequestKeepLastSnapshots), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestKeepLastSnapshots; + typeof(global::Vercel.UpdateSandboxRequestKeepLastSnapshotsExpiration), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestKeepLastSnapshotsExpiration; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.UpdateSandboxesByNameRequestKeepLastSnapshots? FromJson( + public static global::Vercel.UpdateSandboxRequestKeepLastSnapshotsExpiration? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestKeepLastSnapshots), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestKeepLastSnapshots; + typeof(global::Vercel.UpdateSandboxRequestKeepLastSnapshotsExpiration), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestKeepLastSnapshotsExpiration; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestKeepLastSnapshotsExpiration.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestKeepLastSnapshotsExpiration.g.cs new file mode 100644 index 000000000..5fce8f9c7 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestKeepLastSnapshotsExpiration.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class UpdateSandboxRequestKeepLastSnapshotsExpiration + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1.Json.g.cs new file mode 100644 index 000000000..136656ec3 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1.g.cs similarity index 86% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1.g.cs index 5988d1ebb..15c0384ed 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// Network access policy for the sandbox.\n Controls which external hosts the sandbox can communicate with.\n Use \"allow-all\" mode to allow all traffic, \"deny-all\" to block all traffic or \"custom\" to provide specific rules. /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1 + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1 { /// /// The network access policy mode. Use \"allow-all\" to permit all outbound traffic. Use \"deny-all\" to block all outbound traffic. Use \"custom\" to specify explicit allow/deny rules.
@@ -14,9 +14,9 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1 ///
/// custom [global::System.Text.Json.Serialization.JsonPropertyName("mode")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.UpdateSandboxRequestNetworkPolicyVariant1ModeJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode Mode { get; set; } + public required global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1Mode Mode { get; set; } /// /// List of domain names the sandbox is allowed to connect to. Only applies when mode is \"custom\". Supports wildcard patterns (e.g., \"*.example.com\" matches all subdomains).
@@ -46,7 +46,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1 /// HTTP header injection rules for outgoing requests matching specific domains. Traffic to matching domains will be intercepted instead of proxied through encrypted connections. ///
[global::System.Text.Json.Serialization.JsonPropertyName("injectionRules")] - public global::System.Collections.Generic.IList? InjectionRules { get; set; } + public global::System.Collections.Generic.IList? InjectionRules { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -55,7 +55,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1 public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The network access policy mode. Use \"allow-all\" to permit all outbound traffic. Use \"deny-all\" to block all outbound traffic. Use \"custom\" to specify explicit allow/deny rules.
@@ -79,12 +79,12 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1 #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant1( - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode mode, + public UpdateSandboxRequestNetworkPolicyVariant1( + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1Mode mode, global::System.Collections.Generic.IList? allowedDomains, global::System.Collections.Generic.IList? allowedCIDRs, global::System.Collections.Generic.IList? deniedCIDRs, - global::System.Collections.Generic.IList? injectionRules) + global::System.Collections.Generic.IList? injectionRules) { this.Mode = mode; this.AllowedDomains = allowedDomains; @@ -94,9 +94,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant1( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant1() + public UpdateSandboxRequestNetworkPolicyVariant1() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule.Json.g.cs new file mode 100644 index 000000000..646b0d3f2 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRule + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule.g.cs similarity index 83% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule.g.cs index a1245977c..d4f8b205e 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRule.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRule { /// /// The domain (or pattern) of requests to add headers for. Supports wildcards like *.example.com. @@ -26,7 +26,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj /// Optional L7 match. When provided, the injection rule only applies to requests that satisfy every specified dimension. When multiple injection rules target the same domain they are evaluated in order and the first match wins; a rule without `match` matches any request and shadows later rules for the same domain. /// [global::System.Text.Json.Serialization.JsonPropertyName("match")] - public global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch? Match { get; set; } + public global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch? Match { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -35,7 +35,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The domain (or pattern) of requests to add headers for. Supports wildcards like *.example.com. @@ -49,10 +49,10 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule( + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRule( string domain, global::System.Collections.Generic.Dictionary headers, - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch? match) + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch? match) { this.Domain = domain ?? throw new global::System.ArgumentNullException(nameof(domain)); this.Headers = headers ?? throw new global::System.ArgumentNullException(nameof(headers)); @@ -60,9 +60,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule() + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRule() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders.Json.g.cs new file mode 100644 index 000000000..ae2377bd2 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders.g.cs similarity index 85% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders.g.cs index d8dea7460..85c81b850 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// HTTP headers to inject into requests for this domain. Existing headers with the same name will be overridden. /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleHeaders { /// diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch.Json.g.cs new file mode 100644 index 000000000..d466c8bbe --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch.g.cs similarity index 78% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch.g.cs index e6b0eb870..72d780cd7 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch.g.cs @@ -6,13 +6,13 @@ namespace Vercel /// /// Optional L7 match. When provided, the injection rule only applies to requests that satisfy every specified dimension. When multiple injection rules target the same domain they are evaluated in order and the first match wins; a rule without `match` matches any request and shadows later rules for the same domain. /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch { /// /// Match on the request path. Comparison is case-sensitive. /// [global::System.Text.Json.Serialization.JsonPropertyName("path")] - public global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath? Path { get; set; } + public global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath? Path { get; set; } /// /// HTTP methods to match. Any single match succeeds (OR semantics). @@ -24,13 +24,13 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All /// Query-string entry matchers. Multiple entries are ANDed. Query parameter names and values are both compared case-sensitively (RFC 3986). When a request has multiple values for the same key, any matching value satisfies the matcher. /// [global::System.Text.Json.Serialization.JsonPropertyName("queryString")] - public global::System.Collections.Generic.IList? QueryString { get; set; } + public global::System.Collections.Generic.IList? QueryString { get; set; } /// /// Header matchers. Multiple entries are ANDed. Header names are compared case-insensitively (RFC 9110); header values are compared case-sensitively. When a request has multiple values for the same header, any matching value satisfies the matcher. /// [global::System.Text.Json.Serialization.JsonPropertyName("headers")] - public global::System.Collections.Generic.IList? Headers { get; set; } + public global::System.Collections.Generic.IList? Headers { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -39,7 +39,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Match on the request path. Comparison is case-sensitive. @@ -56,11 +56,11 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch( - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath? path, + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch( + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath? path, global::System.Collections.Generic.IList? method, - global::System.Collections.Generic.IList? queryString, - global::System.Collections.Generic.IList? headers) + global::System.Collections.Generic.IList? queryString, + global::System.Collections.Generic.IList? headers) { this.Path = path; this.Method = method; @@ -69,9 +69,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch() + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatch() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader.Json.g.cs new file mode 100644 index 000000000..84a3ac15e --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader.g.cs similarity index 62% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader.g.cs index 2ad975fa8..be7036651 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader.g.cs @@ -6,19 +6,19 @@ namespace Vercel /// /// /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader { /// /// Matcher for the entry key (header name or query key). /// [global::System.Text.Json.Serialization.JsonPropertyName("key")] - public global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey? Key { get; set; } + public global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey? Key { get; set; } /// /// Matcher for the entry value. /// [global::System.Text.Json.Serialization.JsonPropertyName("value")] - public global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue? Value { get; set; } + public global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue? Value { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -27,7 +27,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Matcher for the entry key (header name or query key). @@ -38,18 +38,18 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader( - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey? key, - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue? value) + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader( + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey? key, + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue? value) { this.Key = key; this.Value = value; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader() + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeader() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.Json.g.cs new file mode 100644 index 000000000..9d3bc2806 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.g.cs similarity index 80% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.g.cs index 3e39e788c..fa3ade0e2 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// Matcher for the entry key (header name or query key). /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey { /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -27,7 +27,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -38,7 +38,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey( + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey( string? exact, string? startsWith) { @@ -47,9 +47,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey() + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.Json.g.cs new file mode 100644 index 000000000..1921d6006 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.g.cs similarity index 80% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.g.cs index 0467be186..2a7ff52fa 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// Matcher for the entry value. /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue { /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -27,7 +27,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -38,7 +38,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue( + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue( string? exact, string? startsWith) { @@ -47,9 +47,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValu } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue() + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath.Json.g.cs new file mode 100644 index 000000000..e59702b6d --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath.g.cs similarity index 81% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath.g.cs index 5053f9e92..3e59c6ee4 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// Match on the request path. Comparison is case-sensitive. /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath { /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -27,7 +27,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -38,7 +38,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath( + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath( string? exact, string? startsWith) { @@ -47,9 +47,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath() + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchPath() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.Json.g.cs new file mode 100644 index 000000000..7a009b270 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.g.cs similarity index 60% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.g.cs index 38938e7f8..82fa26ead 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.g.cs @@ -6,19 +6,19 @@ namespace Vercel /// /// /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem { /// /// Matcher for the entry key (header name or query key). /// [global::System.Text.Json.Serialization.JsonPropertyName("key")] - public global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey? Key { get; set; } + public global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey? Key { get; set; } /// /// Matcher for the entry value. /// [global::System.Text.Json.Serialization.JsonPropertyName("value")] - public global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue? Value { get; set; } + public global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue? Value { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -27,7 +27,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Matcher for the entry key (header name or query key). @@ -38,18 +38,18 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem( - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey? key, - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue? value) + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem( + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey? key, + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue? value) { this.Key = key; this.Value = value; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem() + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs new file mode 100644 index 000000000..f0feba129 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.g.cs similarity index 79% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.g.cs index d4b3ab249..556f042da 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// Matcher for the entry key (header name or query key). /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey { /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -27,7 +27,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -38,7 +38,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey( + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey( string? exact, string? startsWith) { @@ -47,9 +47,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStrin } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey() + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs new file mode 100644 index 000000000..9c38d1269 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.g.cs similarity index 78% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.g.cs index ece9d0f6c..769699fd3 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// Matcher for the entry value. /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue { /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -27,7 +27,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -38,7 +38,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue( + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue( string? exact, string? startsWith) { @@ -47,9 +47,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStrin } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue() + public UpdateSandboxRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1Mode.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1Mode.g.cs new file mode 100644 index 000000000..f5f51adda --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant1Mode.g.cs @@ -0,0 +1,70 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// The network access policy mode. Use \"allow-all\" to permit all outbound traffic. Use \"deny-all\" to block all outbound traffic. Use \"custom\" to specify explicit allow/deny rules.
+ /// Example: custom + ///
+ public enum UpdateSandboxRequestNetworkPolicyVariant1Mode + { + /// + /// + /// + AllowAll, + /// + /// + /// + Custom, + /// + /// + /// + DefaultAllow, + /// + /// + /// + DefaultDeny, + /// + /// + /// + DenyAll, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UpdateSandboxRequestNetworkPolicyVariant1ModeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UpdateSandboxRequestNetworkPolicyVariant1Mode value) + { + return value switch + { + UpdateSandboxRequestNetworkPolicyVariant1Mode.AllowAll => "allow-all", + UpdateSandboxRequestNetworkPolicyVariant1Mode.Custom => "custom", + UpdateSandboxRequestNetworkPolicyVariant1Mode.DefaultAllow => "default-allow", + UpdateSandboxRequestNetworkPolicyVariant1Mode.DefaultDeny => "default-deny", + UpdateSandboxRequestNetworkPolicyVariant1Mode.DenyAll => "deny-all", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UpdateSandboxRequestNetworkPolicyVariant1Mode? ToEnum(string value) + { + return value switch + { + "allow-all" => UpdateSandboxRequestNetworkPolicyVariant1Mode.AllowAll, + "custom" => UpdateSandboxRequestNetworkPolicyVariant1Mode.Custom, + "default-allow" => UpdateSandboxRequestNetworkPolicyVariant1Mode.DefaultAllow, + "default-deny" => UpdateSandboxRequestNetworkPolicyVariant1Mode.DefaultDeny, + "deny-all" => UpdateSandboxRequestNetworkPolicyVariant1Mode.DenyAll, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2.Json.g.cs new file mode 100644 index 000000000..497bc9aea --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2.g.cs similarity index 71% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2.g.cs index 9e7109bcd..af375bb46 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2.g.cs @@ -6,20 +6,20 @@ namespace Vercel /// /// /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2 + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2 { /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("allow")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>))] - public global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>? Allow { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>))] + public global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>? Allow { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("subnets")] - public global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets? Subnets { get; set; } + public global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Subnets? Subnets { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,25 +28,25 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2 public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant2( - global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>? allow, - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets? subnets) + public UpdateSandboxRequestNetworkPolicyVariant2( + global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>? allow, + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Subnets? subnets) { this.Allow = allow; this.Subnets = subnets; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant2() + public UpdateSandboxRequestNetworkPolicyVariant2() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestSnapshotExpiration.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Allow.Json.g.cs similarity index 84% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestSnapshotExpiration.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Allow.Json.g.cs index d506ea109..7f1595ad4 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestSnapshotExpiration.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Allow.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class UpdateSandboxesByNameRequestSnapshotExpiration + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2Allow { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.UpdateSandboxesByNameRequestSnapshotExpiration? FromJson( + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Allow? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.UpdateSandboxesByNameRequestSnapshotExpiration), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestSnapshotExpiration; + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Allow), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Allow; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.UpdateSandboxesByNameRequestSnapshotExpiration? FromJson( + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Allow? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestSnapshotExpiration), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestSnapshotExpiration; + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Allow), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Allow; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Allow.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Allow.g.cs new file mode 100644 index 000000000..21a09386f --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Allow.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2Allow + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItem.Json.g.cs similarity index 83% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItem.Json.g.cs index 4e02c49c2..69c015281 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItem.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1 + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItem { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1? FromJson( + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItem? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1; + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItem), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItem; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1? FromJson( + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItem? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1; + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItem), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItem; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItem.g.cs similarity index 76% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItem.g.cs index e640d329a..57b137be8 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItem.g.cs @@ -6,19 +6,19 @@ namespace Vercel /// /// /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItem { /// /// Optional L7 match. When provided, the injection rule only applies to requests that satisfy every specified dimension. When multiple injection rules target the same domain they are evaluated in order and the first match wins; a rule without `match` matches any request and shadows later rules for the same domain. /// [global::System.Text.Json.Serialization.JsonPropertyName("match")] - public global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch? Match { get; set; } + public global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch? Match { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("transform")] - public global::System.Collections.Generic.IList? Transform { get; set; } + public global::System.Collections.Generic.IList? Transform { get; set; } /// /// HTTP/1.1 proxy URL to forward traffic to. Must not include query string or fragment. @@ -33,7 +33,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Optional L7 match. When provided, the injection rule only applies to requests that satisfy every specified dimension. When multiple injection rules target the same domain they are evaluated in order and the first match wins; a rule without `match` matches any request and shadows later rules for the same domain. @@ -45,9 +45,9 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem( - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch? match, - global::System.Collections.Generic.IList? transform, + public UpdateSandboxRequestNetworkPolicyVariant2AllowItem( + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch? match, + global::System.Collections.Generic.IList? transform, string? forwardURL) { this.Match = match; @@ -56,9 +56,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem() + public UpdateSandboxRequestNetworkPolicyVariant2AllowItem() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch.Json.g.cs similarity index 82% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch.Json.g.cs index a291fa91a..f4fec0781 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration? FromJson( + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration; + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration? FromJson( + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration; + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch.g.cs similarity index 77% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch.g.cs index 9d2383675..2df086090 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch.g.cs @@ -6,13 +6,13 @@ namespace Vercel /// /// Optional L7 match. When provided, the injection rule only applies to requests that satisfy every specified dimension. When multiple injection rules target the same domain they are evaluated in order and the first match wins; a rule without `match` matches any request and shadows later rules for the same domain. /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch { /// /// Match on the request path. Comparison is case-sensitive. /// [global::System.Text.Json.Serialization.JsonPropertyName("path")] - public global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath? Path { get; set; } + public global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath? Path { get; set; } /// /// HTTP methods to match. Any single match succeeds (OR semantics). @@ -24,13 +24,13 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj /// Query-string entry matchers. Multiple entries are ANDed. Query parameter names and values are both compared case-sensitively (RFC 3986). When a request has multiple values for the same key, any matching value satisfies the matcher. /// [global::System.Text.Json.Serialization.JsonPropertyName("queryString")] - public global::System.Collections.Generic.IList? QueryString { get; set; } + public global::System.Collections.Generic.IList? QueryString { get; set; } /// /// Header matchers. Multiple entries are ANDed. Header names are compared case-insensitively (RFC 9110); header values are compared case-sensitively. When a request has multiple values for the same header, any matching value satisfies the matcher. /// [global::System.Text.Json.Serialization.JsonPropertyName("headers")] - public global::System.Collections.Generic.IList? Headers { get; set; } + public global::System.Collections.Generic.IList? Headers { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -39,7 +39,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Match on the request path. Comparison is case-sensitive. @@ -56,11 +56,11 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch( - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath? path, + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch( + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath? path, global::System.Collections.Generic.IList? method, - global::System.Collections.Generic.IList? queryString, - global::System.Collections.Generic.IList? headers) + global::System.Collections.Generic.IList? queryString, + global::System.Collections.Generic.IList? headers) { this.Path = path; this.Method = method; @@ -69,9 +69,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch() + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatch() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader.Json.g.cs new file mode 100644 index 000000000..cd3cceb80 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader.g.cs similarity index 61% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader.g.cs index 4f7f64776..a0c9f24e7 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader.g.cs @@ -6,19 +6,19 @@ namespace Vercel /// /// /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader { /// /// Matcher for the entry key (header name or query key). /// [global::System.Text.Json.Serialization.JsonPropertyName("key")] - public global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey? Key { get; set; } + public global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey? Key { get; set; } /// /// Matcher for the entry value. /// [global::System.Text.Json.Serialization.JsonPropertyName("value")] - public global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue? Value { get; set; } + public global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue? Value { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -27,7 +27,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Matcher for the entry key (header name or query key). @@ -38,18 +38,18 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader( - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey? key, - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue? value) + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader( + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey? key, + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue? value) { this.Key = key; this.Value = value; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader() + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeader() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.Json.g.cs new file mode 100644 index 000000000..3a612ac6c --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.g.cs similarity index 80% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.g.cs index 9e573e95f..5237d6946 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// Matcher for the entry key (header name or query key). /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey { /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -27,7 +27,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -38,7 +38,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey( + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey( string? exact, string? startsWith) { @@ -47,9 +47,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey() + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderKey() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.Json.g.cs new file mode 100644 index 000000000..978ab123f --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.g.cs similarity index 79% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.g.cs index 82a2f14b5..44ff7cc7a 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// Matcher for the entry value. /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue { /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -27,7 +27,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -38,7 +38,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue( + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue( string? exact, string? startsWith) { @@ -47,9 +47,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue() + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchHeaderValue() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath.Json.g.cs new file mode 100644 index 000000000..6706220cc --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath.g.cs similarity index 81% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath.g.cs index bb8345f84..340418761 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// Match on the request path. Comparison is case-sensitive. /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath { /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -27,7 +27,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -38,7 +38,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath( + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath( string? exact, string? startsWith) { @@ -47,9 +47,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath() + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchPath() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.Json.g.cs new file mode 100644 index 000000000..80f966da6 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.g.cs similarity index 59% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.g.cs index 55012111a..114767161 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.g.cs @@ -6,19 +6,19 @@ namespace Vercel /// /// /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem { /// /// Matcher for the entry key (header name or query key). /// [global::System.Text.Json.Serialization.JsonPropertyName("key")] - public global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey? Key { get; set; } + public global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey? Key { get; set; } /// /// Matcher for the entry value. /// [global::System.Text.Json.Serialization.JsonPropertyName("value")] - public global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue? Value { get; set; } + public global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue? Value { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -27,7 +27,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Matcher for the entry key (header name or query key). @@ -38,18 +38,18 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem( - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey? key, - global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue? value) + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem( + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey? key, + global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue? value) { this.Key = key; this.Value = value; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem() + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.Json.g.cs new file mode 100644 index 000000000..4d3c1d441 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.g.cs similarity index 78% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.g.cs index 0e044855f..907321531 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// Matcher for the entry key (header name or query key). /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey { /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -27,7 +27,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -38,7 +38,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey( + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey( string? exact, string? startsWith) { @@ -47,9 +47,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryS } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey() + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.Json.g.cs new file mode 100644 index 000000000..91b3ff1cc --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.g.cs new file mode 100644 index 000000000..e549acf74 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// Matcher for the entry value. + /// + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue + { + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exact")] + public string? Exact { get; set; } + + /// + /// Match values that start with the given prefix. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] + public string? StartsWith { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + /// + /// Match values that start with the given prefix. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue( + string? exact, + string? startsWith) + { + this.Exact = exact; + this.StartsWith = startsWith; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem.Json.g.cs new file mode 100644 index 000000000..85cfd782e --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem.g.cs similarity index 73% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem.g.cs index 08576dd4e..3c174320d 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem { /// /// @@ -21,22 +21,22 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2All public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem( + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem( global::System.Collections.Generic.Dictionary? headers) { this.Headers = headers; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem() + public UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItem() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.Json.g.cs new file mode 100644 index 000000000..3860f58b8 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.g.cs similarity index 82% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.g.cs index 6ebd5b9e0..4e1130675 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Allow + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2AllowItemTransformItemHeaders { /// diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Subnets.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Subnets.Json.g.cs new file mode 100644 index 000000000..5e587ff1f --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Subnets.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2Subnets + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Subnets? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Subnets), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Subnets; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Subnets? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Subnets), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestNetworkPolicyVariant2Subnets; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Subnets.g.cs similarity index 81% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Subnets.g.cs index f65280adf..7b75d32c1 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestNetworkPolicyVariant2Subnets.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets + public sealed partial class UpdateSandboxRequestNetworkPolicyVariant2Subnets { /// /// @@ -27,14 +27,14 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2Sub public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets( + public UpdateSandboxRequestNetworkPolicyVariant2Subnets( global::System.Collections.Generic.IList? allow, global::System.Collections.Generic.IList? deny) { @@ -43,9 +43,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets() + public UpdateSandboxRequestNetworkPolicyVariant2Subnets() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestEnv.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestResources.Json.g.cs similarity index 86% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestEnv.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestResources.Json.g.cs index 5e571a167..5e245daef 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestEnv.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestResources.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class UpdateSandboxesByNameRequestEnv + public sealed partial class UpdateSandboxRequestResources { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.UpdateSandboxesByNameRequestEnv? FromJson( + public static global::Vercel.UpdateSandboxRequestResources? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.UpdateSandboxesByNameRequestEnv), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestEnv; + typeof(global::Vercel.UpdateSandboxRequestResources), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestResources; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.UpdateSandboxesByNameRequestEnv? FromJson( + public static global::Vercel.UpdateSandboxRequestResources? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestEnv), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestEnv; + typeof(global::Vercel.UpdateSandboxRequestResources), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestResources; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestResources.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestResources.g.cs similarity index 88% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestResources.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestResources.g.cs index 93a06bcb7..e2189756a 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestResources.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestResources.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// Resources to define the VM /// - public sealed partial class UpdateSandboxesByNameRequestResources + public sealed partial class UpdateSandboxRequestResources { /// /// The number of virtual CPUs to allocate to the sandbox. Must be 1, or an even number.
@@ -31,7 +31,7 @@ public sealed partial class UpdateSandboxesByNameRequestResources public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The number of virtual CPUs to allocate to the sandbox. Must be 1, or an even number.
@@ -44,7 +44,7 @@ public sealed partial class UpdateSandboxesByNameRequestResources #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestResources( + public UpdateSandboxRequestResources( int? vcpus, int? memory) { @@ -53,9 +53,9 @@ public UpdateSandboxesByNameRequestResources( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestResources() + public UpdateSandboxRequestResources() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestRuntime.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestRuntime.g.cs similarity index 55% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestRuntime.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestRuntime.g.cs index 38577cd26..1f50a563c 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestRuntime.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestRuntime.g.cs @@ -7,7 +7,7 @@ namespace Vercel /// The runtime environment for the sandbox. Determines the pre-installed language runtimes and tools available.
/// Example: node24 ///
- public enum UpdateSandboxesByNameRequestRuntime + public enum UpdateSandboxRequestRuntime { /// /// @@ -30,33 +30,33 @@ public enum UpdateSandboxesByNameRequestRuntime /// /// Enum extensions to do fast conversions without the reflection. /// - public static class UpdateSandboxesByNameRequestRuntimeExtensions + public static class UpdateSandboxRequestRuntimeExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this UpdateSandboxesByNameRequestRuntime value) + public static string ToValueString(this UpdateSandboxRequestRuntime value) { return value switch { - UpdateSandboxesByNameRequestRuntime.Node22 => "node22", - UpdateSandboxesByNameRequestRuntime.Node24 => "node24", - UpdateSandboxesByNameRequestRuntime.Node26 => "node26", - UpdateSandboxesByNameRequestRuntime.Python313 => "python3.13", + UpdateSandboxRequestRuntime.Node22 => "node22", + UpdateSandboxRequestRuntime.Node24 => "node24", + UpdateSandboxRequestRuntime.Node26 => "node26", + UpdateSandboxRequestRuntime.Python313 => "python3.13", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static UpdateSandboxesByNameRequestRuntime? ToEnum(string value) + public static UpdateSandboxRequestRuntime? ToEnum(string value) { return value switch { - "node22" => UpdateSandboxesByNameRequestRuntime.Node22, - "node24" => UpdateSandboxesByNameRequestRuntime.Node24, - "node26" => UpdateSandboxesByNameRequestRuntime.Node26, - "python3.13" => UpdateSandboxesByNameRequestRuntime.Python313, + "node22" => UpdateSandboxRequestRuntime.Node22, + "node24" => UpdateSandboxRequestRuntime.Node24, + "node26" => UpdateSandboxRequestRuntime.Node26, + "python3.13" => UpdateSandboxRequestRuntime.Python313, _ => null, }; } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestSnapshotExpiration.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestSnapshotExpiration.Json.g.cs new file mode 100644 index 000000000..05428e01b --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestSnapshotExpiration.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxRequestSnapshotExpiration + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxRequestSnapshotExpiration? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxRequestSnapshotExpiration), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestSnapshotExpiration; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxRequestSnapshotExpiration? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxRequestSnapshotExpiration), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestSnapshotExpiration; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestSnapshotExpiration.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestSnapshotExpiration.g.cs new file mode 100644 index 000000000..82b5f851e --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestSnapshotExpiration.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class UpdateSandboxRequestSnapshotExpiration + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestTags.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestTags.Json.g.cs similarity index 86% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestTags.Json.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestTags.Json.g.cs index 42b27168f..b8600237d 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestTags.Json.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestTags.Json.g.cs @@ -2,7 +2,7 @@ namespace Vercel { - public sealed partial class UpdateSandboxesByNameRequestTags + public sealed partial class UpdateSandboxRequestTags { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::Vercel.UpdateSandboxesByNameRequestTags? FromJson( + public static global::Vercel.UpdateSandboxRequestTags? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::Vercel.UpdateSandboxesByNameRequestTags), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestTags; + typeof(global::Vercel.UpdateSandboxRequestTags), + jsonSerializerContext) as global::Vercel.UpdateSandboxRequestTags; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::Vercel.UpdateSandboxesByNameRequestTags? FromJson( + public static global::Vercel.UpdateSandboxRequestTags? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestTags), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestTags; + typeof(global::Vercel.UpdateSandboxRequestTags), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxRequestTags; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestTags.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestTags.g.cs similarity index 90% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestTags.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestTags.g.cs index ec82ef408..e75b52a36 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestTags.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxRequestTags.g.cs @@ -7,7 +7,7 @@ namespace Vercel /// Key-value tags to associate with the sandbox. Replaces existing tags. Set to empty object to clear. Maximum 5 tags.
/// Example: {"env":"staging","team":"platform"} ///
- public sealed partial class UpdateSandboxesByNameRequestTags + public sealed partial class UpdateSandboxRequestTags { /// diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxResponseVariant1.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxResponseVariant1.Json.g.cs new file mode 100644 index 000000000..1420d5c61 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxResponseVariant1.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxResponseVariant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxResponseVariant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxResponseVariant1), + jsonSerializerContext) as global::Vercel.UpdateSandboxResponseVariant1; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxResponseVariant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxResponseVariant1), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxResponseVariant1; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameResponseVariant1.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxResponseVariant1.g.cs similarity index 88% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameResponseVariant1.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxResponseVariant1.g.cs index bf1b84c32..a797d1623 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameResponseVariant1.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxResponseVariant1.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class UpdateSandboxesByNameResponseVariant1 + public sealed partial class UpdateSandboxResponseVariant1 { /// /// @@ -29,7 +29,7 @@ public sealed partial class UpdateSandboxesByNameResponseVariant1 public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// @@ -38,7 +38,7 @@ public sealed partial class UpdateSandboxesByNameResponseVariant1 #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameResponseVariant1( + public UpdateSandboxResponseVariant1( global::System.Collections.Generic.IList routes, global::Vercel.NamedSandbox sandbox) { @@ -47,9 +47,9 @@ public UpdateSandboxesByNameResponseVariant1( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameResponseVariant1() + public UpdateSandboxResponseVariant1() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxResponseVariant2.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxResponseVariant2.Json.g.cs new file mode 100644 index 000000000..02461b597 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxResponseVariant2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSandboxResponseVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSandboxResponseVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSandboxResponseVariant2), + jsonSerializerContext) as global::Vercel.UpdateSandboxResponseVariant2; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSandboxResponseVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSandboxResponseVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxResponseVariant2; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameResponseVariant2.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxResponseVariant2.g.cs similarity index 92% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameResponseVariant2.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxResponseVariant2.g.cs index ce342e91e..55fc40a76 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameResponseVariant2.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxResponseVariant2.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class UpdateSandboxesByNameResponseVariant2 + public sealed partial class UpdateSandboxResponseVariant2 { /// /// This object contains information related to a Vercel NamedSandbox. @@ -43,7 +43,7 @@ public sealed partial class UpdateSandboxesByNameResponseVariant2 public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object contains information related to a Vercel NamedSandbox. @@ -56,7 +56,7 @@ public sealed partial class UpdateSandboxesByNameResponseVariant2 #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameResponseVariant2( + public UpdateSandboxResponseVariant2( global::Vercel.NamedSandbox sandbox, global::Vercel.Session session, global::System.Collections.Generic.IList routes, @@ -69,9 +69,9 @@ public UpdateSandboxesByNameResponseVariant2( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameResponseVariant2() + public UpdateSandboxResponseVariant2() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration.g.cs deleted file mode 100644 index cf298ef62..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// - /// - public sealed partial class UpdateSandboxesByNameRequestKeepLastSnapshotsExpiration - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule.Json.g.cs deleted file mode 100644 index fbaf04ee2..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRule; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders.Json.g.cs deleted file mode 100644 index 0b796d9f3..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleHeaders; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch.Json.g.cs deleted file mode 100644 index e4615b36c..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatch; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader.Json.g.cs deleted file mode 100644 index d3b6a460d..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeader; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.Json.g.cs deleted file mode 100644 index 333eccf70..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderKey; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.Json.g.cs deleted file mode 100644 index ae6d71cbf..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchHeaderValue; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath.Json.g.cs deleted file mode 100644 index 22da7f1c8..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchPath; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.Json.g.cs deleted file mode 100644 index 546a50873..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItem; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs deleted file mode 100644 index f9f0bbc62..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemKey; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs deleted file mode 100644 index 3aad4acb6..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.g.cs deleted file mode 100644 index 017ccf441..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.g.cs +++ /dev/null @@ -1,70 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// The network access policy mode. Use \"allow-all\" to permit all outbound traffic. Use \"deny-all\" to block all outbound traffic. Use \"custom\" to specify explicit allow/deny rules.
- /// Example: custom - ///
- public enum UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode - { - /// - /// - /// - AllowAll, - /// - /// - /// - Custom, - /// - /// - /// - DefaultAllow, - /// - /// - /// - DefaultDeny, - /// - /// - /// - DenyAll, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class UpdateSandboxesByNameRequestNetworkPolicyVariant1ModeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode value) - { - return value switch - { - UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.AllowAll => "allow-all", - UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.Custom => "custom", - UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.DefaultAllow => "default-allow", - UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.DefaultDeny => "default-deny", - UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.DenyAll => "deny-all", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode? ToEnum(string value) - { - return value switch - { - "allow-all" => UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.AllowAll, - "custom" => UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.Custom, - "default-allow" => UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.DefaultAllow, - "default-deny" => UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.DefaultDeny, - "deny-all" => UpdateSandboxesByNameRequestNetworkPolicyVariant1Mode.DenyAll, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2.Json.g.cs deleted file mode 100644 index 1c83887e2..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow.Json.g.cs deleted file mode 100644 index 7e200ddb2..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow.g.cs deleted file mode 100644 index 0f7c74e02..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// - /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2Allow - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem.Json.g.cs deleted file mode 100644 index 5c8ae3a4c..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItem; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch.Json.g.cs deleted file mode 100644 index 4b5f8543e..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatch; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader.Json.g.cs deleted file mode 100644 index e73453b38..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeader; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.Json.g.cs deleted file mode 100644 index f7dbec8bc..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderKey; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.Json.g.cs deleted file mode 100644 index 3ffef0755..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchHeaderValue; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath.Json.g.cs deleted file mode 100644 index a5c706b58..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchPath; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.Json.g.cs deleted file mode 100644 index 1b60341b6..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItem; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.Json.g.cs deleted file mode 100644 index 36a051641..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemKey; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.Json.g.cs deleted file mode 100644 index 3a9b702a9..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemMatchQueryStringItemValue; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem.Json.g.cs deleted file mode 100644 index 3e80a9911..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItem; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.Json.g.cs deleted file mode 100644 index 3252b60e4..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.g.cs deleted file mode 100644 index 41c788545..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Vercel -{ - /// - /// - /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2AllowItemTransformItemHeaders - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets.Json.g.cs deleted file mode 100644 index 7ee893c79..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameRequestNetworkPolicyVariant2Subnets; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameResponseVariant1.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameResponseVariant1.Json.g.cs deleted file mode 100644 index 12b065863..000000000 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameResponseVariant1.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Vercel -{ - public sealed partial class UpdateSandboxesByNameResponseVariant1 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Vercel.UpdateSandboxesByNameResponseVariant1? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Vercel.UpdateSandboxesByNameResponseVariant1), - jsonSerializerContext) as global::Vercel.UpdateSandboxesByNameResponseVariant1; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Vercel.UpdateSandboxesByNameResponseVariant1? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Vercel.UpdateSandboxesByNameResponseVariant1), - jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSandboxesByNameResponseVariant1; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1.Json.g.cs new file mode 100644 index 000000000..037e30c71 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1.g.cs similarity index 82% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1.g.cs index 7ca7b1b0e..53ff6b7f7 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// Network access policy for the sandbox.\n Controls which external hosts the sandbox can communicate with.\n Use \"allow-all\" mode to allow all traffic, \"deny-all\" to block all traffic or \"custom\" to provide specific rules. /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1 + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1 { /// /// The network access policy mode. Use \"allow-all\" to permit all outbound traffic. Use \"deny-all\" to block all outbound traffic. Use \"custom\" to specify explicit allow/deny rules.
@@ -14,9 +14,9 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque ///
/// custom [global::System.Text.Json.Serialization.JsonPropertyName("mode")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1ModeJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.UpdateSessionNetworkPolicyRequestVariant1ModeJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode Mode { get; set; } + public required global::Vercel.UpdateSessionNetworkPolicyRequestVariant1Mode Mode { get; set; } /// /// List of domain names the sandbox is allowed to connect to. Only applies when mode is \"custom\". Supports wildcard patterns (e.g., \"*.example.com\" matches all subdomains).
@@ -46,7 +46,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque /// HTTP header injection rules for outgoing requests matching specific domains. Traffic to matching domains will be intercepted instead of proxied through encrypted connections. ///
[global::System.Text.Json.Serialization.JsonPropertyName("injectionRules")] - public global::System.Collections.Generic.IList? InjectionRules { get; set; } + public global::System.Collections.Generic.IList? InjectionRules { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -55,7 +55,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The network access policy mode. Use \"allow-all\" to permit all outbound traffic. Use \"deny-all\" to block all outbound traffic. Use \"custom\" to specify explicit allow/deny rules.
@@ -79,12 +79,12 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1( - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1Mode mode, + public UpdateSessionNetworkPolicyRequestVariant1( + global::Vercel.UpdateSessionNetworkPolicyRequestVariant1Mode mode, global::System.Collections.Generic.IList? allowedDomains, global::System.Collections.Generic.IList? allowedCIDRs, global::System.Collections.Generic.IList? deniedCIDRs, - global::System.Collections.Generic.IList? injectionRules) + global::System.Collections.Generic.IList? injectionRules) { this.Mode = mode; this.AllowedDomains = allowedDomains; @@ -94,9 +94,9 @@ public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1() + public UpdateSessionNetworkPolicyRequestVariant1() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRule.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRule.Json.g.cs new file mode 100644 index 000000000..78728e2a0 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRule.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRule + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRule? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRule), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRule; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRule? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRule), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRule; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRule.g.cs similarity index 78% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRule.g.cs index 48e0ce387..1ebe24c67 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRule.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRule { /// /// The domain (or pattern) of requests to add headers for. Supports wildcards like *.example.com. @@ -26,7 +26,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque /// Optional L7 match. When provided, the injection rule only applies to requests that satisfy every specified dimension. When multiple injection rules target the same domain they are evaluated in order and the first match wins; a rule without `match` matches any request and shadows later rules for the same domain. /// [global::System.Text.Json.Serialization.JsonPropertyName("match")] - public global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch? Match { get; set; } + public global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch? Match { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -35,7 +35,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The domain (or pattern) of requests to add headers for. Supports wildcards like *.example.com. @@ -49,10 +49,10 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule( + public UpdateSessionNetworkPolicyRequestVariant1InjectionRule( string domain, global::System.Collections.Generic.Dictionary headers, - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch? match) + global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch? match) { this.Domain = domain ?? throw new global::System.ArgumentNullException(nameof(domain)); this.Headers = headers ?? throw new global::System.ArgumentNullException(nameof(headers)); @@ -60,9 +60,9 @@ public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRu } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRule() + public UpdateSessionNetworkPolicyRequestVariant1InjectionRule() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders.Json.g.cs new file mode 100644 index 000000000..7ff6ff8e4 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders.g.cs similarity index 83% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders.g.cs index f1a8d7591..cbaad2d8b 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// HTTP headers to inject into requests for this domain. Existing headers with the same name will be overridden. /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleHeaders + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleHeaders { /// diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch.Json.g.cs new file mode 100644 index 000000000..1f9655caa --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch.g.cs similarity index 73% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch.g.cs index 2f1af55c7..0a24c7de2 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch.g.cs @@ -6,13 +6,13 @@ namespace Vercel /// /// Optional L7 match. When provided, the injection rule only applies to requests that satisfy every specified dimension. When multiple injection rules target the same domain they are evaluated in order and the first match wins; a rule without `match` matches any request and shadows later rules for the same domain. /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch { /// /// Match on the request path. Comparison is case-sensitive. /// [global::System.Text.Json.Serialization.JsonPropertyName("path")] - public global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath? Path { get; set; } + public global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath? Path { get; set; } /// /// HTTP methods to match. Any single match succeeds (OR semantics). @@ -24,13 +24,13 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque /// Query-string entry matchers. Multiple entries are ANDed. Query parameter names and values are both compared case-sensitively (RFC 3986). When a request has multiple values for the same key, any matching value satisfies the matcher. /// [global::System.Text.Json.Serialization.JsonPropertyName("queryString")] - public global::System.Collections.Generic.IList? QueryString { get; set; } + public global::System.Collections.Generic.IList? QueryString { get; set; } /// /// Header matchers. Multiple entries are ANDed. Header names are compared case-insensitively (RFC 9110); header values are compared case-sensitively. When a request has multiple values for the same header, any matching value satisfies the matcher. /// [global::System.Text.Json.Serialization.JsonPropertyName("headers")] - public global::System.Collections.Generic.IList? Headers { get; set; } + public global::System.Collections.Generic.IList? Headers { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -39,7 +39,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Match on the request path. Comparison is case-sensitive. @@ -56,11 +56,11 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch( - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatchPath? path, + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch( + global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath? path, global::System.Collections.Generic.IList? method, - global::System.Collections.Generic.IList? queryString, - global::System.Collections.Generic.IList? headers) + global::System.Collections.Generic.IList? queryString, + global::System.Collections.Generic.IList? headers) { this.Path = path; this.Method = method; @@ -69,9 +69,9 @@ public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMa } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch() + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatch() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader.Json.g.cs new file mode 100644 index 000000000..edeafac8a --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader.g.cs new file mode 100644 index 000000000..cb33595dc --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader + { + /// + /// Matcher for the entry key (header name or query key). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("key")] + public global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey? Key { get; set; } + + /// + /// Matcher for the entry value. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + public global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue? Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Matcher for the entry key (header name or query key). + /// + /// + /// Matcher for the entry value. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader( + global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey? key, + global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue? value) + { + this.Key = key; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeader() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.Json.g.cs new file mode 100644 index 000000000..f11959565 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.g.cs new file mode 100644 index 000000000..5ef4545ef --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// Matcher for the entry key (header name or query key). + /// + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey + { + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exact")] + public string? Exact { get; set; } + + /// + /// Match values that start with the given prefix. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] + public string? StartsWith { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + /// + /// Match values that start with the given prefix. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey( + string? exact, + string? startsWith) + { + this.Exact = exact; + this.StartsWith = startsWith; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderKey() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.Json.g.cs new file mode 100644 index 000000000..c11b36d2d --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.g.cs new file mode 100644 index 000000000..37da5778b --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// Matcher for the entry value. + /// + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue + { + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exact")] + public string? Exact { get; set; } + + /// + /// Match values that start with the given prefix. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] + public string? StartsWith { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + /// + /// Match values that start with the given prefix. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue( + string? exact, + string? startsWith) + { + this.Exact = exact; + this.StartsWith = startsWith; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchHeaderValue() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath.Json.g.cs new file mode 100644 index 000000000..37a64d167 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath.g.cs new file mode 100644 index 000000000..f65bc63ee --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// Match on the request path. Comparison is case-sensitive. + /// + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath + { + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exact")] + public string? Exact { get; set; } + + /// + /// Match values that start with the given prefix. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] + public string? StartsWith { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + /// + /// Match values that start with the given prefix. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath( + string? exact, + string? startsWith) + { + this.Exact = exact; + this.StartsWith = startsWith; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchPath() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.Json.g.cs new file mode 100644 index 000000000..b55f91fb2 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.g.cs new file mode 100644 index 000000000..e7cafb831 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem + { + /// + /// Matcher for the entry key (header name or query key). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("key")] + public global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey? Key { get; set; } + + /// + /// Matcher for the entry value. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + public global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue? Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Matcher for the entry key (header name or query key). + /// + /// + /// Matcher for the entry value. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem( + global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey? key, + global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue? value) + { + this.Key = key; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs new file mode 100644 index 000000000..ea57a50fe --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.g.cs new file mode 100644 index 000000000..b4bd0d027 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// Matcher for the entry key (header name or query key). + /// + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey + { + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exact")] + public string? Exact { get; set; } + + /// + /// Match values that start with the given prefix. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] + public string? StartsWith { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + /// + /// Match values that start with the given prefix. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey( + string? exact, + string? startsWith) + { + this.Exact = exact; + this.StartsWith = startsWith; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemKey() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs new file mode 100644 index 000000000..b1c0bf820 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.g.cs similarity index 78% rename from src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.g.cs index 1a836433d..b320f98c3 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// Matcher for the entry value. /// - public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue + public sealed partial class UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue { /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -27,7 +27,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. @@ -38,7 +38,7 @@ public sealed partial class UpdateSandboxesByNameRequestNetworkPolicyVariant1Inj #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue( + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue( string? exact, string? startsWith) { @@ -47,9 +47,9 @@ public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryS } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public UpdateSandboxesByNameRequestNetworkPolicyVariant1InjectionRuleMatchQueryStringItemValue() + public UpdateSessionNetworkPolicyRequestVariant1InjectionRuleMatchQueryStringItemValue() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1Mode.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1Mode.g.cs new file mode 100644 index 000000000..6ca7279c8 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant1Mode.g.cs @@ -0,0 +1,70 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// The network access policy mode. Use \"allow-all\" to permit all outbound traffic. Use \"deny-all\" to block all outbound traffic. Use \"custom\" to specify explicit allow/deny rules.
+ /// Example: custom + ///
+ public enum UpdateSessionNetworkPolicyRequestVariant1Mode + { + /// + /// + /// + AllowAll, + /// + /// + /// + Custom, + /// + /// + /// + DefaultAllow, + /// + /// + /// + DefaultDeny, + /// + /// + /// + DenyAll, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UpdateSessionNetworkPolicyRequestVariant1ModeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UpdateSessionNetworkPolicyRequestVariant1Mode value) + { + return value switch + { + UpdateSessionNetworkPolicyRequestVariant1Mode.AllowAll => "allow-all", + UpdateSessionNetworkPolicyRequestVariant1Mode.Custom => "custom", + UpdateSessionNetworkPolicyRequestVariant1Mode.DefaultAllow => "default-allow", + UpdateSessionNetworkPolicyRequestVariant1Mode.DefaultDeny => "default-deny", + UpdateSessionNetworkPolicyRequestVariant1Mode.DenyAll => "deny-all", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UpdateSessionNetworkPolicyRequestVariant1Mode? ToEnum(string value) + { + return value switch + { + "allow-all" => UpdateSessionNetworkPolicyRequestVariant1Mode.AllowAll, + "custom" => UpdateSessionNetworkPolicyRequestVariant1Mode.Custom, + "default-allow" => UpdateSessionNetworkPolicyRequestVariant1Mode.DefaultAllow, + "default-deny" => UpdateSessionNetworkPolicyRequestVariant1Mode.DefaultDeny, + "deny-all" => UpdateSessionNetworkPolicyRequestVariant1Mode.DenyAll, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2.Json.g.cs new file mode 100644 index 000000000..4a8b7ee38 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2.g.cs similarity index 63% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2.g.cs index 8cc31c18b..ab17e8869 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2.g.cs @@ -6,20 +6,20 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2 + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2 { /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("allow")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>))] - public global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>? Allow { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Vercel.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.Dictionary>>))] + public global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>? Allow { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("subnets")] - public global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets? Subnets { get; set; } + public global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Subnets? Subnets { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -28,25 +28,25 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2( - global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>? allow, - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets? subnets) + public UpdateSessionNetworkPolicyRequestVariant2( + global::Vercel.OneOf, global::System.Collections.Generic.Dictionary>>? allow, + global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Subnets? subnets) { this.Allow = allow; this.Subnets = subnets; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2() + public UpdateSessionNetworkPolicyRequestVariant2() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Allow.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Allow.Json.g.cs new file mode 100644 index 000000000..2ba55078e --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Allow.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2Allow + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Allow? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Allow), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Allow; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Allow? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Allow), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Allow; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Allow.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Allow.g.cs new file mode 100644 index 000000000..8095de16a --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Allow.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2Allow + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItem.Json.g.cs new file mode 100644 index 000000000..e3124ff6e --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItem.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItem), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItem; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItem), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItem; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItem.g.cs similarity index 70% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItem.g.cs index d39b5fb85..7dcb192bc 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItem.g.cs @@ -6,19 +6,19 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItem { /// /// Optional L7 match. When provided, the injection rule only applies to requests that satisfy every specified dimension. When multiple injection rules target the same domain they are evaluated in order and the first match wins; a rule without `match` matches any request and shadows later rules for the same domain. /// [global::System.Text.Json.Serialization.JsonPropertyName("match")] - public global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch? Match { get; set; } + public global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch? Match { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("transform")] - public global::System.Collections.Generic.IList? Transform { get; set; } + public global::System.Collections.Generic.IList? Transform { get; set; } /// /// HTTP/1.1 proxy URL to forward traffic to. Must not include query string or fragment. @@ -33,7 +33,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Optional L7 match. When provided, the injection rule only applies to requests that satisfy every specified dimension. When multiple injection rules target the same domain they are evaluated in order and the first match wins; a rule without `match` matches any request and shadows later rules for the same domain. @@ -45,9 +45,9 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem( - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemMatch? match, - global::System.Collections.Generic.IList? transform, + public UpdateSessionNetworkPolicyRequestVariant2AllowItem( + global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch? match, + global::System.Collections.Generic.IList? transform, string? forwardURL) { this.Match = match; @@ -56,9 +56,9 @@ public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItem() + public UpdateSessionNetworkPolicyRequestVariant2AllowItem() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch.Json.g.cs new file mode 100644 index 000000000..287839dc9 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch.g.cs similarity index 72% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch.g.cs index 812709253..58a6f75a3 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch.g.cs @@ -6,13 +6,13 @@ namespace Vercel /// /// Optional L7 match. When provided, the injection rule only applies to requests that satisfy every specified dimension. When multiple injection rules target the same domain they are evaluated in order and the first match wins; a rule without `match` matches any request and shadows later rules for the same domain. /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch { /// /// Match on the request path. Comparison is case-sensitive. /// [global::System.Text.Json.Serialization.JsonPropertyName("path")] - public global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath? Path { get; set; } + public global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath? Path { get; set; } /// /// HTTP methods to match. Any single match succeeds (OR semantics). @@ -24,13 +24,13 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque /// Query-string entry matchers. Multiple entries are ANDed. Query parameter names and values are both compared case-sensitively (RFC 3986). When a request has multiple values for the same key, any matching value satisfies the matcher. /// [global::System.Text.Json.Serialization.JsonPropertyName("queryString")] - public global::System.Collections.Generic.IList? QueryString { get; set; } + public global::System.Collections.Generic.IList? QueryString { get; set; } /// /// Header matchers. Multiple entries are ANDed. Header names are compared case-insensitively (RFC 9110); header values are compared case-sensitively. When a request has multiple values for the same header, any matching value satisfies the matcher. /// [global::System.Text.Json.Serialization.JsonPropertyName("headers")] - public global::System.Collections.Generic.IList? Headers { get; set; } + public global::System.Collections.Generic.IList? Headers { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -39,7 +39,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Match on the request path. Comparison is case-sensitive. @@ -56,11 +56,11 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch( - global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatchPath? path, + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch( + global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath? path, global::System.Collections.Generic.IList? method, - global::System.Collections.Generic.IList? queryString, - global::System.Collections.Generic.IList? headers) + global::System.Collections.Generic.IList? queryString, + global::System.Collections.Generic.IList? headers) { this.Path = path; this.Method = method; @@ -69,9 +69,9 @@ public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRu } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant1InjectionRuleMatch() + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatch() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader.Json.g.cs new file mode 100644 index 000000000..0d125f0d8 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader.g.cs new file mode 100644 index 000000000..5b5bad166 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader + { + /// + /// Matcher for the entry key (header name or query key). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("key")] + public global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey? Key { get; set; } + + /// + /// Matcher for the entry value. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + public global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue? Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Matcher for the entry key (header name or query key). + /// + /// + /// Matcher for the entry value. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader( + global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey? key, + global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue? value) + { + this.Key = key; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeader() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.Json.g.cs new file mode 100644 index 000000000..360aafac2 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.g.cs new file mode 100644 index 000000000..3ac4422f7 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// Matcher for the entry key (header name or query key). + /// + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey + { + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exact")] + public string? Exact { get; set; } + + /// + /// Match values that start with the given prefix. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] + public string? StartsWith { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + /// + /// Match values that start with the given prefix. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey( + string? exact, + string? startsWith) + { + this.Exact = exact; + this.StartsWith = startsWith; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderKey() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.Json.g.cs new file mode 100644 index 000000000..58f1587d6 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.g.cs new file mode 100644 index 000000000..a7478cdc9 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// Matcher for the entry value. + /// + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue + { + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exact")] + public string? Exact { get; set; } + + /// + /// Match values that start with the given prefix. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] + public string? StartsWith { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + /// + /// Match values that start with the given prefix. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue( + string? exact, + string? startsWith) + { + this.Exact = exact; + this.StartsWith = startsWith; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchHeaderValue() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath.Json.g.cs new file mode 100644 index 000000000..18c6593d0 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath.g.cs new file mode 100644 index 000000000..1a2d3aeb9 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// Match on the request path. Comparison is case-sensitive. + /// + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath + { + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exact")] + public string? Exact { get; set; } + + /// + /// Match values that start with the given prefix. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] + public string? StartsWith { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + /// + /// Match values that start with the given prefix. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath( + string? exact, + string? startsWith) + { + this.Exact = exact; + this.StartsWith = startsWith; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchPath() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.Json.g.cs new file mode 100644 index 000000000..23215b255 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.g.cs new file mode 100644 index 000000000..79d303325 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem + { + /// + /// Matcher for the entry key (header name or query key). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("key")] + public global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey? Key { get; set; } + + /// + /// Matcher for the entry value. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + public global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue? Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Matcher for the entry key (header name or query key). + /// + /// + /// Matcher for the entry value. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem( + global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey? key, + global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue? value) + { + this.Key = key; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.Json.g.cs new file mode 100644 index 000000000..e07683ac9 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.g.cs new file mode 100644 index 000000000..b8c17f43a --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// Matcher for the entry key (header name or query key). + /// + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey + { + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exact")] + public string? Exact { get; set; } + + /// + /// Match values that start with the given prefix. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] + public string? StartsWith { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + /// + /// Match values that start with the given prefix. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey( + string? exact, + string? startsWith) + { + this.Exact = exact; + this.StartsWith = startsWith; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemKey() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.Json.g.cs new file mode 100644 index 000000000..0277e5057 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.g.cs new file mode 100644 index 000000000..e075f88dd --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// Matcher for the entry value. + /// + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue + { + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exact")] + public string? Exact { get; set; } + + /// + /// Match values that start with the given prefix. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("startsWith")] + public string? StartsWith { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Match the value exactly. Case-sensitive for paths, header values, and methods; case-insensitive for domains and header keys. + /// + /// + /// Match values that start with the given prefix. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue( + string? exact, + string? startsWith) + { + this.Exact = exact; + this.StartsWith = startsWith; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateSessionNetworkPolicyRequestVariant2AllowItemMatchQueryStringItemValue() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem.Json.g.cs new file mode 100644 index 000000000..8f345fe62 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem.g.cs similarity index 63% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem.g.cs index 118f24a18..d87d325fd 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem { /// /// @@ -21,22 +21,22 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem( + public UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem( global::System.Collections.Generic.Dictionary? headers) { this.Headers = headers; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2AllowItemTransformItem() + public UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItem() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.Json.g.cs new file mode 100644 index 000000000..f2bacf24a --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.g.cs similarity index 82% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.g.cs index 7598dc17f..4be7c47f7 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdFsMkdirResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdFsMkdirResponse + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2AllowItemTransformItemHeaders { /// diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Subnets.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Subnets.Json.g.cs new file mode 100644 index 000000000..3e5a7751c --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Subnets.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2Subnets + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Subnets? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Subnets), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Subnets; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Subnets? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Subnets), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyRequestVariant2Subnets; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Subnets.g.cs similarity index 72% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Subnets.g.cs index 742d0860c..fcda3341e 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyRequestVariant2Subnets.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets + public sealed partial class UpdateSessionNetworkPolicyRequestVariant2Subnets { /// /// @@ -27,14 +27,14 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyReque public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets( + public UpdateSessionNetworkPolicyRequestVariant2Subnets( global::System.Collections.Generic.IList? allow, global::System.Collections.Generic.IList? deny) { @@ -43,9 +43,9 @@ public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyRequestVariant2Subnets() + public UpdateSessionNetworkPolicyRequestVariant2Subnets() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyResponse.Json.g.cs new file mode 100644 index 000000000..ad2163688 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class UpdateSessionNetworkPolicyResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.UpdateSessionNetworkPolicyResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.UpdateSessionNetworkPolicyResponse), + jsonSerializerContext) as global::Vercel.UpdateSessionNetworkPolicyResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.UpdateSessionNetworkPolicyResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.UpdateSessionNetworkPolicyResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.UpdateSessionNetworkPolicyResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyResponse.g.cs similarity index 75% rename from src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse.g.cs rename to src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyResponse.g.cs index 216ef1de1..51d09680b 100644 --- a/src/libs/Vercel/Generated/Vercel.Models.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse.g.cs +++ b/src/libs/Vercel/Generated/Vercel.Models.UpdateSessionNetworkPolicyResponse.g.cs @@ -6,7 +6,7 @@ namespace Vercel /// /// /// - public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyResponse + public sealed partial class UpdateSessionNetworkPolicyResponse { /// /// This object contains information related to a Vercel Sandbox Session. v2 endpoints return "session" instead of "sandbox" as the response wrapper key. @@ -22,7 +22,7 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRespo public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// This object contains information related to a Vercel Sandbox Session. v2 endpoints return "session" instead of "sandbox" as the response wrapper key. @@ -30,16 +30,16 @@ public sealed partial class CreateSandboxesSessionsBySessionIdNetworkPolicyRespo #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CreateSandboxesSessionsBySessionIdNetworkPolicyResponse( + public UpdateSessionNetworkPolicyResponse( global::Vercel.Session session) { this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CreateSandboxesSessionsBySessionIdNetworkPolicyResponse() + public UpdateSessionNetworkPolicyResponse() { } diff --git a/src/libs/Vercel/Generated/Vercel.Models.WriteSessionFilesResponse.Json.g.cs b/src/libs/Vercel/Generated/Vercel.Models.WriteSessionFilesResponse.Json.g.cs new file mode 100644 index 000000000..06a2481a7 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.WriteSessionFilesResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Vercel +{ + public sealed partial class WriteSessionFilesResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Vercel.WriteSessionFilesResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Vercel.WriteSessionFilesResponse), + jsonSerializerContext) as global::Vercel.WriteSessionFilesResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Vercel.WriteSessionFilesResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Vercel.WriteSessionFilesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Vercel.WriteSessionFilesResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Vercel/Generated/Vercel.Models.WriteSessionFilesResponse.g.cs b/src/libs/Vercel/Generated/Vercel.Models.WriteSessionFilesResponse.g.cs new file mode 100644 index 000000000..c5092f5ed --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.Models.WriteSessionFilesResponse.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// + /// + public sealed partial class WriteSessionFilesResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxes.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.CreateSandboxes.g.cs similarity index 95% rename from src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxes.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.CreateSandboxes.g.cs index 2bb4f07cc..fcc79a8d6 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxes.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.CreateSandboxes.g.cs @@ -3,7 +3,7 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { @@ -27,10 +27,14 @@ public partial class VercelClient }; partial void PrepareCreateSandboxesArguments( global::System.Net.Http.HttpClient httpClient, + ref string? teamId, + ref string? slug, global::Vercel.CreateSandboxesRequest request); partial void PrepareCreateSandboxesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string? teamId, + string? slug, global::Vercel.CreateSandboxesRequest request); partial void ProcessCreateSandboxesResponse( global::System.Net.Http.HttpClient httpClient, @@ -42,8 +46,15 @@ partial void ProcessCreateSandboxesResponseContent( ref string content); /// - /// + /// Create a named sandbox
+ /// Creates a named sandbox environment. Named sandboxes have a unique name within a project and support automatic snapshotting on shutdown. ///
+ /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -51,12 +62,16 @@ partial void ProcessCreateSandboxesResponseContent( public async global::System.Threading.Tasks.Task CreateSandboxesAsync( global::Vercel.CreateSandboxesRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await CreateSandboxesAsResponseAsync( request: request, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -64,8 +79,15 @@ partial void ProcessCreateSandboxesResponseContent( return __response.Body; } /// - /// + /// Create a named sandbox
+ /// Creates a named sandbox environment. Named sandboxes have a unique name within a project and support automatic snapshotting on shutdown. ///
+ /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -73,6 +95,8 @@ partial void ProcessCreateSandboxesResponseContent( public async global::System.Threading.Tasks.Task> CreateSandboxesAsResponseAsync( global::Vercel.CreateSandboxesRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -82,6 +106,8 @@ partial void ProcessCreateSandboxesResponseContent( client: HttpClient); PrepareCreateSandboxesArguments( httpClient: HttpClient, + teamId: ref teamId, + slug: ref slug, request: request); @@ -108,8 +134,12 @@ partial void ProcessCreateSandboxesResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: "/sandboxes", + path: "/v2/sandboxes", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -156,6 +186,8 @@ partial void ProcessCreateSandboxesResponseContent( PrepareCreateSandboxesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, + teamId: teamId, + slug: slug, request: request); return __httpRequest; @@ -175,7 +207,7 @@ partial void ProcessCreateSandboxesResponseContent( context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "CreateSandboxes", methodName: "CreateSandboxesAsync", - pathTemplate: "\"/sandboxes\"", + pathTemplate: "\"/v2/sandboxes\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -209,7 +241,7 @@ partial void ProcessCreateSandboxesResponseContent( context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "CreateSandboxes", methodName: "CreateSandboxesAsync", - pathTemplate: "\"/sandboxes\"", + pathTemplate: "\"/v2/sandboxes\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -250,7 +282,7 @@ partial void ProcessCreateSandboxesResponseContent( context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "CreateSandboxes", methodName: "CreateSandboxesAsync", - pathTemplate: "\"/sandboxes\"", + pathTemplate: "\"/v2/sandboxes\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -298,7 +330,7 @@ partial void ProcessCreateSandboxesResponseContent( context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "CreateSandboxes", methodName: "CreateSandboxesAsync", - pathTemplate: "\"/sandboxes\"", + pathTemplate: "\"/v2/sandboxes\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -320,7 +352,7 @@ partial void ProcessCreateSandboxesResponseContent( context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "CreateSandboxes", methodName: "CreateSandboxesAsync", - pathTemplate: "\"/sandboxes\"", + pathTemplate: "\"/v2/sandboxes\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -752,8 +784,15 @@ partial void ProcessCreateSandboxesResponseContent( } } /// - /// + /// Create a named sandbox
+ /// Creates a named sandbox environment. Named sandboxes have a unique name within a project and support automatic snapshotting on shutdown. ///
+ /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// /// Resources to define the VM @@ -806,6 +845,8 @@ partial void ProcessCreateSandboxesResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task CreateSandboxesAsync( + string? teamId = default, + string? slug = default, global::Vercel.OneOf? networkPolicy = default, global::Vercel.CreateSandboxesRequestResources? resources = default, global::Vercel.CreateSandboxesRequestRuntime? runtime = default, @@ -840,6 +881,8 @@ partial void ProcessCreateSandboxesResponseContent( }; return await CreateSandboxesAsync( + teamId: teamId, + slug: slug, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdFsMkdir.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.CreateSessionDirectory.g.cs similarity index 88% rename from src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdFsMkdir.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.CreateSessionDirectory.g.cs index 6303b23a9..4f08e0ede 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdFsMkdir.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.CreateSessionDirectory.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_CreateSandboxesSessionsBySessionIdFsMkdirSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_CreateSessionDirectorySecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,50 +21,65 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_CreateSandboxesSessionsBySessionIdFsMkdirSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_CreateSessionDirectorySecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_CreateSandboxesSessionsBySessionIdFsMkdirSecurityRequirement0, + { s_CreateSessionDirectorySecurityRequirement0, }; - partial void PrepareCreateSandboxesSessionsBySessionIdFsMkdirArguments( + partial void PrepareCreateSessionDirectoryArguments( global::System.Net.Http.HttpClient httpClient, ref string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest request); - partial void PrepareCreateSandboxesSessionsBySessionIdFsMkdirRequest( + ref string? teamId, + ref string? slug, + global::Vercel.CreateSessionDirectoryRequest request); + partial void PrepareCreateSessionDirectoryRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest request); - partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponse( + string? teamId, + string? slug, + global::Vercel.CreateSessionDirectoryRequest request); + partial void ProcessCreateSessionDirectoryResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( + partial void ProcessCreateSessionDirectoryResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Create a directory
+ /// Creates a new directory in a session's filesystem. By default, parent directories are created recursively if they don't exist (similar to `mkdir -p`). ///
/// /// The unique identifier of the session to create the directory in.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdFsMkdirAsync( + public async global::System.Threading.Tasks.Task CreateSessionDirectoryAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest request, + global::Vercel.CreateSessionDirectoryRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await CreateSandboxesSessionsBySessionIdFsMkdirAsResponseAsync( + var __response = await CreateSessionDirectoryAsResponseAsync( sessionId: sessionId, request: request, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -72,20 +87,29 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( return __response.Body; } /// - /// + /// Create a directory
+ /// Creates a new directory in a session's filesystem. By default, parent directories are created recursively if they don't exist (similar to `mkdir -p`). ///
/// /// The unique identifier of the session to create the directory in.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdFsMkdirAsResponseAsync( + public async global::System.Threading.Tasks.Task> CreateSessionDirectoryAsResponseAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest request, + global::Vercel.CreateSessionDirectoryRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -93,16 +117,18 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( PrepareArguments( client: HttpClient); - PrepareCreateSandboxesSessionsBySessionIdFsMkdirArguments( + PrepareCreateSessionDirectoryArguments( httpClient: HttpClient, sessionId: ref sessionId, + teamId: ref teamId, + slug: ref slug, request: request); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateSandboxesSessionsBySessionIdFsMkdirSecurityRequirements, - operationName: "CreateSandboxesSessionsBySessionIdFsMkdirAsync"); + securityRequirements: s_CreateSessionDirectorySecurityRequirements, + operationName: "CreateSessionDirectoryAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -122,8 +148,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}/fs/mkdir", + path: $"/v2/sandboxes/sessions/{sessionId}/fs/mkdir", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -167,10 +197,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateSandboxesSessionsBySessionIdFsMkdirRequest( + PrepareCreateSessionDirectoryRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, sessionId: sessionId!, + teamId: teamId, + slug: slug, request: request); return __httpRequest; @@ -188,9 +220,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsMkdir", - methodName: "CreateSandboxesSessionsBySessionIdFsMkdirAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/mkdir\"", + operationId: "CreateSessionDirectory", + methodName: "CreateSessionDirectoryAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/mkdir\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -222,9 +254,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsMkdir", - methodName: "CreateSandboxesSessionsBySessionIdFsMkdirAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/mkdir\"", + operationId: "CreateSessionDirectory", + methodName: "CreateSessionDirectoryAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/mkdir\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -263,9 +295,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsMkdir", - methodName: "CreateSandboxesSessionsBySessionIdFsMkdirAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/mkdir\"", + operationId: "CreateSessionDirectory", + methodName: "CreateSessionDirectoryAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/mkdir\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -303,7 +335,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponse( + ProcessCreateSessionDirectoryResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -311,9 +343,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsMkdir", - methodName: "CreateSandboxesSessionsBySessionIdFsMkdirAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/mkdir\"", + operationId: "CreateSessionDirectory", + methodName: "CreateSessionDirectoryAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/mkdir\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -333,9 +365,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsMkdir", - methodName: "CreateSandboxesSessionsBySessionIdFsMkdirAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/mkdir\"", + operationId: "CreateSessionDirectory", + methodName: "CreateSessionDirectoryAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/mkdir\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -619,7 +651,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( + ProcessCreateSessionDirectoryResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -699,12 +731,19 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( } } /// - /// + /// Create a directory
+ /// Creates a new directory in a session's filesystem. By default, parent directories are created recursively if they don't exist (similar to `mkdir -p`). ///
/// /// The unique identifier of the session to create the directory in.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// The base directory for resolving relative paths. If not specified, paths are resolved from the sandbox home directory.
/// Example: /home/vercel-sandbox @@ -720,23 +759,27 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsMkdirResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdFsMkdirAsync( + public async global::System.Threading.Tasks.Task CreateSessionDirectoryAsync( string sessionId, string path, + string? teamId = default, + string? slug = default, string? cwd = default, bool? recursive = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Vercel.CreateSandboxesSessionsBySessionIdFsMkdirRequest + var __request = new global::Vercel.CreateSessionDirectoryRequest { Cwd = cwd, Path = path, Recursive = recursive, }; - return await CreateSandboxesSessionsBySessionIdFsMkdirAsync( + return await CreateSessionDirectoryAsync( sessionId: sessionId, + teamId: teamId, + slug: slug, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdSnapshot.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.CreateSessionSnapshot.g.cs similarity index 87% rename from src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdSnapshot.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.CreateSessionSnapshot.g.cs index 334d49a9e..b37f7483a 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdSnapshot.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.CreateSessionSnapshot.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_CreateSandboxesSessionsBySessionIdSnapshotSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_CreateSessionSnapshotSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,50 +21,65 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_CreateSandboxesSessionsBySessionIdSnapshotSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_CreateSessionSnapshotSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_CreateSandboxesSessionsBySessionIdSnapshotSecurityRequirement0, + { s_CreateSessionSnapshotSecurityRequirement0, }; - partial void PrepareCreateSandboxesSessionsBySessionIdSnapshotArguments( + partial void PrepareCreateSessionSnapshotArguments( global::System.Net.Http.HttpClient httpClient, ref string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest request); - partial void PrepareCreateSandboxesSessionsBySessionIdSnapshotRequest( + ref string? teamId, + ref string? slug, + global::Vercel.CreateSessionSnapshotRequest request); + partial void PrepareCreateSessionSnapshotRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest request); - partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponse( + string? teamId, + string? slug, + global::Vercel.CreateSessionSnapshotRequest request); + partial void ProcessCreateSessionSnapshotResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( + partial void ProcessCreateSessionSnapshotResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Create a snapshot
+ /// Creates a point-in-time snapshot of a running session's filesystem. Snapshots can be used to quickly restore a session to a previous state or to create new sessions with pre-configured environments. The session must be running and able to accept commands for a snapshot to be created. The session will be terminated after the snapshot is created. ///
/// /// The unique identifier of the session to snapshot.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdSnapshotAsync( + public async global::System.Threading.Tasks.Task CreateSessionSnapshotAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest request, + global::Vercel.CreateSessionSnapshotRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await CreateSandboxesSessionsBySessionIdSnapshotAsResponseAsync( + var __response = await CreateSessionSnapshotAsResponseAsync( sessionId: sessionId, request: request, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -72,20 +87,29 @@ partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( return __response.Body; } /// - /// + /// Create a snapshot
+ /// Creates a point-in-time snapshot of a running session's filesystem. Snapshots can be used to quickly restore a session to a previous state or to create new sessions with pre-configured environments. The session must be running and able to accept commands for a snapshot to be created. The session will be terminated after the snapshot is created. ///
/// /// The unique identifier of the session to snapshot.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdSnapshotAsResponseAsync( + public async global::System.Threading.Tasks.Task> CreateSessionSnapshotAsResponseAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest request, + global::Vercel.CreateSessionSnapshotRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -93,16 +117,18 @@ partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( PrepareArguments( client: HttpClient); - PrepareCreateSandboxesSessionsBySessionIdSnapshotArguments( + PrepareCreateSessionSnapshotArguments( httpClient: HttpClient, sessionId: ref sessionId, + teamId: ref teamId, + slug: ref slug, request: request); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateSandboxesSessionsBySessionIdSnapshotSecurityRequirements, - operationName: "CreateSandboxesSessionsBySessionIdSnapshotAsync"); + securityRequirements: s_CreateSessionSnapshotSecurityRequirements, + operationName: "CreateSessionSnapshotAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -122,8 +148,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}/snapshot", + path: $"/v2/sandboxes/sessions/{sessionId}/snapshot", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -167,10 +197,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateSandboxesSessionsBySessionIdSnapshotRequest( + PrepareCreateSessionSnapshotRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, sessionId: sessionId!, + teamId: teamId, + slug: slug, request: request); return __httpRequest; @@ -188,9 +220,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdSnapshot", - methodName: "CreateSandboxesSessionsBySessionIdSnapshotAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/snapshot\"", + operationId: "CreateSessionSnapshot", + methodName: "CreateSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/snapshot\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -222,9 +254,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdSnapshot", - methodName: "CreateSandboxesSessionsBySessionIdSnapshotAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/snapshot\"", + operationId: "CreateSessionSnapshot", + methodName: "CreateSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/snapshot\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -263,9 +295,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdSnapshot", - methodName: "CreateSandboxesSessionsBySessionIdSnapshotAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/snapshot\"", + operationId: "CreateSessionSnapshot", + methodName: "CreateSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/snapshot\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -303,7 +335,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessCreateSandboxesSessionsBySessionIdSnapshotResponse( + ProcessCreateSessionSnapshotResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -311,9 +343,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdSnapshot", - methodName: "CreateSandboxesSessionsBySessionIdSnapshotAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/snapshot\"", + operationId: "CreateSessionSnapshot", + methodName: "CreateSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/snapshot\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -333,9 +365,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdSnapshot", - methodName: "CreateSandboxesSessionsBySessionIdSnapshotAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/snapshot\"", + operationId: "CreateSessionSnapshot", + methodName: "CreateSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/snapshot\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -651,7 +683,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( + ProcessCreateSessionSnapshotResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -660,9 +692,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.CreateSessionSnapshotResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -692,9 +724,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.CreateSessionSnapshotResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -735,31 +767,42 @@ partial void ProcessCreateSandboxesSessionsBySessionIdSnapshotResponseContent( } } /// - /// + /// Create a snapshot
+ /// Creates a point-in-time snapshot of a running session's filesystem. Snapshots can be used to quickly restore a session to a previous state or to create new sessions with pre-configured environments. The session must be running and able to accept commands for a snapshot to be created. The session will be terminated after the snapshot is created. ///
/// /// The unique identifier of the session to snapshot.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// The number of milliseconds after which the snapshot will expire and be deleted. Use 0 for no expiration. /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdSnapshotAsync( + public async global::System.Threading.Tasks.Task CreateSessionSnapshotAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.OneOf? expiration = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Vercel.CreateSandboxesSessionsBySessionIdSnapshotRequest + var __request = new global::Vercel.CreateSessionSnapshotRequest { Expiration = expiration, }; - return await CreateSandboxesSessionsBySessionIdSnapshotAsync( + return await CreateSessionSnapshotAsync( sessionId: sessionId, + teamId: teamId, + slug: slug, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.DeleteSandboxesByName.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.DeleteSandbox.g.cs similarity index 90% rename from src/libs/Vercel/Generated/Vercel.VercelClient.DeleteSandboxesByName.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.DeleteSandbox.g.cs index a6af2b513..933991450 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.DeleteSandboxesByName.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.DeleteSandbox.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_DeleteSandboxesByNameSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_DeleteSandboxSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,30 +21,35 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_DeleteSandboxesByNameSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_DeleteSandboxSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_DeleteSandboxesByNameSecurityRequirement0, + { s_DeleteSandboxSecurityRequirement0, }; - partial void PrepareDeleteSandboxesByNameArguments( + partial void PrepareDeleteSandboxArguments( global::System.Net.Http.HttpClient httpClient, ref string name, - ref string? projectId); - partial void PrepareDeleteSandboxesByNameRequest( + ref string? projectId, + ref string? teamId, + ref string? slug); + partial void PrepareDeleteSandboxRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string name, - string? projectId); - partial void ProcessDeleteSandboxesByNameResponse( + string? projectId, + string? teamId, + string? slug); + partial void ProcessDeleteSandboxResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessDeleteSandboxesByNameResponseContent( + partial void ProcessDeleteSandboxResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Delete a sandbox
+ /// Deletes a sandbox by name. If sandboxes are currently running, they will be stopped first. This operation deletes all sandbox entities with the given name and the named sandbox metadata. ///
/// /// The sandbox name to delete.
@@ -53,18 +58,28 @@ partial void ProcessDeleteSandboxesByNameResponseContent( /// /// The project ID that owns the named sandbox. When provided, takes precedence over OIDC project context. /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task DeleteSandboxesByNameAsync( + public async global::System.Threading.Tasks.Task DeleteSandboxAsync( string name, string? projectId = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await DeleteSandboxesByNameAsResponseAsync( + var __response = await DeleteSandboxAsResponseAsync( name: name, projectId: projectId, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -72,7 +87,8 @@ partial void ProcessDeleteSandboxesByNameResponseContent( return __response.Body; } /// - /// + /// Delete a sandbox
+ /// Deletes a sandbox by name. If sandboxes are currently running, they will be stopped first. This operation deletes all sandbox entities with the given name and the named sandbox metadata. ///
/// /// The sandbox name to delete.
@@ -81,27 +97,37 @@ partial void ProcessDeleteSandboxesByNameResponseContent( /// /// The project ID that owns the named sandbox. When provided, takes precedence over OIDC project context. /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> DeleteSandboxesByNameAsResponseAsync( + public async global::System.Threading.Tasks.Task> DeleteSandboxAsResponseAsync( string name, string? projectId = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareDeleteSandboxesByNameArguments( + PrepareDeleteSandboxArguments( httpClient: HttpClient, name: ref name, - projectId: ref projectId); + projectId: ref projectId, + teamId: ref teamId, + slug: ref slug); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_DeleteSandboxesByNameSecurityRequirements, - operationName: "DeleteSandboxesByNameAsync"); + securityRequirements: s_DeleteSandboxSecurityRequirements, + operationName: "DeleteSandboxAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -121,10 +147,12 @@ partial void ProcessDeleteSandboxesByNameResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/{name}", + path: $"/v2/sandboxes/{name}", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("projectId", projectId) + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -163,11 +191,13 @@ partial void ProcessDeleteSandboxesByNameResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareDeleteSandboxesByNameRequest( + PrepareDeleteSandboxRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, name: name!, - projectId: projectId); + projectId: projectId, + teamId: teamId, + slug: slug); return __httpRequest; } @@ -184,9 +214,9 @@ partial void ProcessDeleteSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DeleteSandboxesByName", - methodName: "DeleteSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "DeleteSandbox", + methodName: "DeleteSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest!, @@ -218,9 +248,9 @@ partial void ProcessDeleteSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DeleteSandboxesByName", - methodName: "DeleteSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "DeleteSandbox", + methodName: "DeleteSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest!, @@ -259,9 +289,9 @@ partial void ProcessDeleteSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DeleteSandboxesByName", - methodName: "DeleteSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "DeleteSandbox", + methodName: "DeleteSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest!, @@ -299,7 +329,7 @@ partial void ProcessDeleteSandboxesByNameResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessDeleteSandboxesByNameResponse( + ProcessDeleteSandboxResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -307,9 +337,9 @@ partial void ProcessDeleteSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DeleteSandboxesByName", - methodName: "DeleteSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "DeleteSandbox", + methodName: "DeleteSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest!, @@ -329,9 +359,9 @@ partial void ProcessDeleteSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DeleteSandboxesByName", - methodName: "DeleteSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "DeleteSandbox", + methodName: "DeleteSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest!, @@ -615,7 +645,7 @@ partial void ProcessDeleteSandboxesByNameResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessDeleteSandboxesByNameResponseContent( + ProcessDeleteSandboxResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -624,9 +654,9 @@ partial void ProcessDeleteSandboxesByNameResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.DeleteSandboxesByNameResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.DeleteSandboxResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -656,9 +686,9 @@ partial void ProcessDeleteSandboxesByNameResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::Vercel.DeleteSandboxesByNameResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.DeleteSandboxResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.DeleteSandboxesSnapshotsBySnapshotId.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.DeleteSessionSnapshot.g.cs similarity index 87% rename from src/libs/Vercel/Generated/Vercel.VercelClient.DeleteSandboxesSnapshotsBySnapshotId.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.DeleteSessionSnapshot.g.cs index a838aee17..7c57470bb 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.DeleteSandboxesSnapshotsBySnapshotId.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.DeleteSessionSnapshot.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_DeleteSandboxesSnapshotsBySnapshotIdSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_DeleteSessionSnapshotSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,43 +21,58 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_DeleteSandboxesSnapshotsBySnapshotIdSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_DeleteSessionSnapshotSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_DeleteSandboxesSnapshotsBySnapshotIdSecurityRequirement0, + { s_DeleteSessionSnapshotSecurityRequirement0, }; - partial void PrepareDeleteSandboxesSnapshotsBySnapshotIdArguments( + partial void PrepareDeleteSessionSnapshotArguments( global::System.Net.Http.HttpClient httpClient, - ref string snapshotId); - partial void PrepareDeleteSandboxesSnapshotsBySnapshotIdRequest( + ref string snapshotId, + ref string? teamId, + ref string? slug); + partial void PrepareDeleteSessionSnapshotRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string snapshotId); - partial void ProcessDeleteSandboxesSnapshotsBySnapshotIdResponse( + string snapshotId, + string? teamId, + string? slug); + partial void ProcessDeleteSessionSnapshotResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessDeleteSandboxesSnapshotsBySnapshotIdResponseContent( + partial void ProcessDeleteSessionSnapshotResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Delete a snapshot
+ /// Permanently deletes a snapshot and frees its associated storage. This action cannot be undone. After deletion, the snapshot can no longer be used to create new sessions. ///
/// /// The unique identifier of the snapshot to delete.
/// Example: snap_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task DeleteSandboxesSnapshotsBySnapshotIdAsync( + public async global::System.Threading.Tasks.Task DeleteSessionSnapshotAsync( string snapshotId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await DeleteSandboxesSnapshotsBySnapshotIdAsResponseAsync( + var __response = await DeleteSessionSnapshotAsResponseAsync( snapshotId: snapshotId, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -65,31 +80,42 @@ partial void ProcessDeleteSandboxesSnapshotsBySnapshotIdResponseContent( return __response.Body; } /// - /// + /// Delete a snapshot
+ /// Permanently deletes a snapshot and frees its associated storage. This action cannot be undone. After deletion, the snapshot can no longer be used to create new sessions. ///
/// /// The unique identifier of the snapshot to delete.
/// Example: snap_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> DeleteSandboxesSnapshotsBySnapshotIdAsResponseAsync( + public async global::System.Threading.Tasks.Task> DeleteSessionSnapshotAsResponseAsync( string snapshotId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareDeleteSandboxesSnapshotsBySnapshotIdArguments( + PrepareDeleteSessionSnapshotArguments( httpClient: HttpClient, - snapshotId: ref snapshotId); + snapshotId: ref snapshotId, + teamId: ref teamId, + slug: ref slug); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_DeleteSandboxesSnapshotsBySnapshotIdSecurityRequirements, - operationName: "DeleteSandboxesSnapshotsBySnapshotIdAsync"); + securityRequirements: s_DeleteSessionSnapshotSecurityRequirements, + operationName: "DeleteSessionSnapshotAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -109,8 +135,12 @@ partial void ProcessDeleteSandboxesSnapshotsBySnapshotIdResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/snapshots/{snapshotId}", + path: $"/v2/sandboxes/snapshots/{snapshotId}", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -148,10 +178,12 @@ partial void ProcessDeleteSandboxesSnapshotsBySnapshotIdResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareDeleteSandboxesSnapshotsBySnapshotIdRequest( + PrepareDeleteSessionSnapshotRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - snapshotId: snapshotId!); + snapshotId: snapshotId!, + teamId: teamId, + slug: slug); return __httpRequest; } @@ -168,9 +200,9 @@ partial void ProcessDeleteSandboxesSnapshotsBySnapshotIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DeleteSandboxesSnapshotsBySnapshotId", - methodName: "DeleteSandboxesSnapshotsBySnapshotIdAsync", - pathTemplate: "$\"/sandboxes/snapshots/{snapshotId}\"", + operationId: "DeleteSessionSnapshot", + methodName: "DeleteSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/snapshots/{snapshotId}\"", httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest!, @@ -202,9 +234,9 @@ partial void ProcessDeleteSandboxesSnapshotsBySnapshotIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DeleteSandboxesSnapshotsBySnapshotId", - methodName: "DeleteSandboxesSnapshotsBySnapshotIdAsync", - pathTemplate: "$\"/sandboxes/snapshots/{snapshotId}\"", + operationId: "DeleteSessionSnapshot", + methodName: "DeleteSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/snapshots/{snapshotId}\"", httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest!, @@ -243,9 +275,9 @@ partial void ProcessDeleteSandboxesSnapshotsBySnapshotIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DeleteSandboxesSnapshotsBySnapshotId", - methodName: "DeleteSandboxesSnapshotsBySnapshotIdAsync", - pathTemplate: "$\"/sandboxes/snapshots/{snapshotId}\"", + operationId: "DeleteSessionSnapshot", + methodName: "DeleteSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/snapshots/{snapshotId}\"", httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest!, @@ -283,7 +315,7 @@ partial void ProcessDeleteSandboxesSnapshotsBySnapshotIdResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessDeleteSandboxesSnapshotsBySnapshotIdResponse( + ProcessDeleteSessionSnapshotResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -291,9 +323,9 @@ partial void ProcessDeleteSandboxesSnapshotsBySnapshotIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DeleteSandboxesSnapshotsBySnapshotId", - methodName: "DeleteSandboxesSnapshotsBySnapshotIdAsync", - pathTemplate: "$\"/sandboxes/snapshots/{snapshotId}\"", + operationId: "DeleteSessionSnapshot", + methodName: "DeleteSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/snapshots/{snapshotId}\"", httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest!, @@ -313,9 +345,9 @@ partial void ProcessDeleteSandboxesSnapshotsBySnapshotIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "DeleteSandboxesSnapshotsBySnapshotId", - methodName: "DeleteSandboxesSnapshotsBySnapshotIdAsync", - pathTemplate: "$\"/sandboxes/snapshots/{snapshotId}\"", + operationId: "DeleteSessionSnapshot", + methodName: "DeleteSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/snapshots/{snapshotId}\"", httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest!, @@ -503,7 +535,7 @@ partial void ProcessDeleteSandboxesSnapshotsBySnapshotIdResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessDeleteSandboxesSnapshotsBySnapshotIdResponseContent( + ProcessDeleteSessionSnapshotResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -512,9 +544,9 @@ partial void ProcessDeleteSandboxesSnapshotsBySnapshotIdResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.DeleteSandboxesSnapshotsBySnapshotIdResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.DeleteSessionSnapshotResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -544,9 +576,9 @@ partial void ProcessDeleteSandboxesSnapshotsBySnapshotIdResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::Vercel.DeleteSandboxesSnapshotsBySnapshotIdResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.DeleteSessionSnapshotResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdExtendTimeout.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.ExtendSessionTimeout.g.cs similarity index 87% rename from src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdExtendTimeout.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.ExtendSessionTimeout.g.cs index fc319c34f..22fed32ff 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdExtendTimeout.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.ExtendSessionTimeout.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_CreateSandboxesSessionsBySessionIdExtendTimeoutSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_ExtendSessionTimeoutSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,50 +21,65 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_CreateSandboxesSessionsBySessionIdExtendTimeoutSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_ExtendSessionTimeoutSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_CreateSandboxesSessionsBySessionIdExtendTimeoutSecurityRequirement0, + { s_ExtendSessionTimeoutSecurityRequirement0, }; - partial void PrepareCreateSandboxesSessionsBySessionIdExtendTimeoutArguments( + partial void PrepareExtendSessionTimeoutArguments( global::System.Net.Http.HttpClient httpClient, ref string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest request); - partial void PrepareCreateSandboxesSessionsBySessionIdExtendTimeoutRequest( + ref string? teamId, + ref string? slug, + global::Vercel.ExtendSessionTimeoutRequest request); + partial void PrepareExtendSessionTimeoutRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest request); - partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponse( + string? teamId, + string? slug, + global::Vercel.ExtendSessionTimeoutRequest request); + partial void ProcessExtendSessionTimeoutResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseContent( + partial void ProcessExtendSessionTimeoutResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Extend session timeout
+ /// Extends the maximum execution time of a running session. The session must be active and able to accept commands. The total timeout cannot exceed the maximum allowed limit for your account. ///
/// /// The unique identifier of the session to extend the timeout for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdExtendTimeoutAsync( + public async global::System.Threading.Tasks.Task ExtendSessionTimeoutAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest request, + global::Vercel.ExtendSessionTimeoutRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await CreateSandboxesSessionsBySessionIdExtendTimeoutAsResponseAsync( + var __response = await ExtendSessionTimeoutAsResponseAsync( sessionId: sessionId, request: request, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -72,20 +87,29 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte return __response.Body; } /// - /// + /// Extend session timeout
+ /// Extends the maximum execution time of a running session. The session must be active and able to accept commands. The total timeout cannot exceed the maximum allowed limit for your account. ///
/// /// The unique identifier of the session to extend the timeout for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdExtendTimeoutAsResponseAsync( + public async global::System.Threading.Tasks.Task> ExtendSessionTimeoutAsResponseAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest request, + global::Vercel.ExtendSessionTimeoutRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -93,16 +117,18 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte PrepareArguments( client: HttpClient); - PrepareCreateSandboxesSessionsBySessionIdExtendTimeoutArguments( + PrepareExtendSessionTimeoutArguments( httpClient: HttpClient, sessionId: ref sessionId, + teamId: ref teamId, + slug: ref slug, request: request); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateSandboxesSessionsBySessionIdExtendTimeoutSecurityRequirements, - operationName: "CreateSandboxesSessionsBySessionIdExtendTimeoutAsync"); + securityRequirements: s_ExtendSessionTimeoutSecurityRequirements, + operationName: "ExtendSessionTimeoutAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -122,8 +148,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}/extend-timeout", + path: $"/v2/sandboxes/sessions/{sessionId}/extend-timeout", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -167,10 +197,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateSandboxesSessionsBySessionIdExtendTimeoutRequest( + PrepareExtendSessionTimeoutRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, sessionId: sessionId!, + teamId: teamId, + slug: slug, request: request); return __httpRequest; @@ -188,9 +220,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdExtendTimeout", - methodName: "CreateSandboxesSessionsBySessionIdExtendTimeoutAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/extend-timeout\"", + operationId: "ExtendSessionTimeout", + methodName: "ExtendSessionTimeoutAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/extend-timeout\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -222,9 +254,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdExtendTimeout", - methodName: "CreateSandboxesSessionsBySessionIdExtendTimeoutAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/extend-timeout\"", + operationId: "ExtendSessionTimeout", + methodName: "ExtendSessionTimeoutAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/extend-timeout\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -263,9 +295,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdExtendTimeout", - methodName: "CreateSandboxesSessionsBySessionIdExtendTimeoutAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/extend-timeout\"", + operationId: "ExtendSessionTimeout", + methodName: "ExtendSessionTimeoutAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/extend-timeout\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -303,7 +335,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte ProcessResponse( client: HttpClient, response: __response); - ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponse( + ProcessExtendSessionTimeoutResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -311,9 +343,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdExtendTimeout", - methodName: "CreateSandboxesSessionsBySessionIdExtendTimeoutAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/extend-timeout\"", + operationId: "ExtendSessionTimeout", + methodName: "ExtendSessionTimeoutAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/extend-timeout\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -333,9 +365,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdExtendTimeout", - methodName: "CreateSandboxesSessionsBySessionIdExtendTimeoutAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/extend-timeout\"", + operationId: "ExtendSessionTimeout", + methodName: "ExtendSessionTimeoutAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/extend-timeout\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -619,7 +651,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte client: HttpClient, response: __response, content: ref __content); - ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseContent( + ProcessExtendSessionTimeoutResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -628,9 +660,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.ExtendSessionTimeoutResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -660,9 +692,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte #endif ).ConfigureAwait(false); - var __value = await global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.ExtendSessionTimeoutResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -703,12 +735,19 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte } } /// - /// + /// Extend session timeout
+ /// Extends the maximum execution time of a running session. The session must be active and able to accept commands. The total timeout cannot exceed the maximum allowed limit for your account. ///
/// /// The unique identifier of the session to extend the timeout for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// The amount of time in milliseconds to add to the current timeout. Must be at least 1000ms (1 second).
/// Example: 300000 @@ -716,19 +755,23 @@ partial void ProcessCreateSandboxesSessionsBySessionIdExtendTimeoutResponseConte /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdExtendTimeoutAsync( + public async global::System.Threading.Tasks.Task ExtendSessionTimeoutAsync( string sessionId, double duration, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Vercel.CreateSandboxesSessionsBySessionIdExtendTimeoutRequest + var __request = new global::Vercel.ExtendSessionTimeoutRequest { Duration = duration, }; - return await CreateSandboxesSessionsBySessionIdExtendTimeoutAsync( + return await ExtendSessionTimeoutAsync( sessionId: sessionId, + teamId: teamId, + slug: slug, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesByName.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.GetNamedSandbox.g.cs similarity index 90% rename from src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesByName.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.GetNamedSandbox.g.cs index 8e16d1a5a..e911ca673 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesByName.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.GetNamedSandbox.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_GetSandboxesByNameSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_GetNamedSandboxSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,32 +21,37 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetSandboxesByNameSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetNamedSandboxSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_GetSandboxesByNameSecurityRequirement0, + { s_GetNamedSandboxSecurityRequirement0, }; - partial void PrepareGetSandboxesByNameArguments( + partial void PrepareGetNamedSandboxArguments( global::System.Net.Http.HttpClient httpClient, ref string name, ref string? projectId, - ref bool? resume); - partial void PrepareGetSandboxesByNameRequest( + ref bool? resume, + ref string? teamId, + ref string? slug); + partial void PrepareGetNamedSandboxRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string name, string? projectId, - bool? resume); - partial void ProcessGetSandboxesByNameResponse( + bool? resume, + string? teamId, + string? slug); + partial void ProcessGetNamedSandboxResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessGetSandboxesByNameResponseContent( + partial void ProcessGetNamedSandboxResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Get a named sandbox
+ /// Retrieves a named sandbox by name, including its current sandbox and routes. If the sandbox is stopped and resume is true, a new sandbox will be created from the most recent snapshot. ///
/// /// Name for the sandbox. Must be unique per project and URL-safe (alphanumeric, hyphens, underscores).
@@ -60,20 +65,30 @@ partial void ProcessGetSandboxesByNameResponseContent( /// Whether to automatically resume a stopped named sandbox by creating a new instance from its snapshot. Defaults to false.
/// Default Value: false /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task GetSandboxesByNameAsync( + public async global::System.Threading.Tasks.Task GetNamedSandboxAsync( string name, string? projectId = default, bool? resume = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await GetSandboxesByNameAsResponseAsync( + var __response = await GetNamedSandboxAsResponseAsync( name: name, projectId: projectId, resume: resume, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -81,7 +96,8 @@ partial void ProcessGetSandboxesByNameResponseContent( return __response.Body; } /// - /// + /// Get a named sandbox
+ /// Retrieves a named sandbox by name, including its current sandbox and routes. If the sandbox is stopped and resume is true, a new sandbox will be created from the most recent snapshot. ///
/// /// Name for the sandbox. Must be unique per project and URL-safe (alphanumeric, hyphens, underscores).
@@ -95,29 +111,39 @@ partial void ProcessGetSandboxesByNameResponseContent( /// Whether to automatically resume a stopped named sandbox by creating a new instance from its snapshot. Defaults to false.
/// Default Value: false /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> GetSandboxesByNameAsResponseAsync( + public async global::System.Threading.Tasks.Task> GetNamedSandboxAsResponseAsync( string name, string? projectId = default, bool? resume = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareGetSandboxesByNameArguments( + PrepareGetNamedSandboxArguments( httpClient: HttpClient, name: ref name, projectId: ref projectId, - resume: ref resume); + resume: ref resume, + teamId: ref teamId, + slug: ref slug); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_GetSandboxesByNameSecurityRequirements, - operationName: "GetSandboxesByNameAsync"); + securityRequirements: s_GetNamedSandboxSecurityRequirements, + operationName: "GetNamedSandboxAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -137,11 +163,13 @@ partial void ProcessGetSandboxesByNameResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/{name}", + path: $"/v2/sandboxes/{name}", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("projectId", projectId) .AddOptionalParameter("resume", resume?.ToString().ToLowerInvariant()) + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -180,12 +208,14 @@ partial void ProcessGetSandboxesByNameResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareGetSandboxesByNameRequest( + PrepareGetNamedSandboxRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, name: name!, projectId: projectId, - resume: resume); + resume: resume, + teamId: teamId, + slug: slug); return __httpRequest; } @@ -202,9 +232,9 @@ partial void ProcessGetSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesByName", - methodName: "GetSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "GetNamedSandbox", + methodName: "GetNamedSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -236,9 +266,9 @@ partial void ProcessGetSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesByName", - methodName: "GetSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "GetNamedSandbox", + methodName: "GetNamedSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -277,9 +307,9 @@ partial void ProcessGetSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesByName", - methodName: "GetSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "GetNamedSandbox", + methodName: "GetNamedSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -317,7 +347,7 @@ partial void ProcessGetSandboxesByNameResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessGetSandboxesByNameResponse( + ProcessGetNamedSandboxResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -325,9 +355,9 @@ partial void ProcessGetSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesByName", - methodName: "GetSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "GetNamedSandbox", + methodName: "GetNamedSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -347,9 +377,9 @@ partial void ProcessGetSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesByName", - methodName: "GetSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "GetNamedSandbox", + methodName: "GetNamedSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -665,7 +695,7 @@ partial void ProcessGetSandboxesByNameResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessGetSandboxesByNameResponseContent( + ProcessGetNamedSandboxResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -674,9 +704,9 @@ partial void ProcessGetSandboxesByNameResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.GetSandboxesByNameResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.GetNamedSandboxResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -706,9 +736,9 @@ partial void ProcessGetSandboxesByNameResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::Vercel.GetSandboxesByNameResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.GetNamedSandboxResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessionsBySessionId.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.GetSession.g.cs similarity index 88% rename from src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessionsBySessionId.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.GetSession.g.cs index 675f6e281..eddd0fe54 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessionsBySessionId.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.GetSession.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_GetSandboxesSessionsBySessionIdSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_GetSessionSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,43 +21,58 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetSandboxesSessionsBySessionIdSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetSessionSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_GetSandboxesSessionsBySessionIdSecurityRequirement0, + { s_GetSessionSecurityRequirement0, }; - partial void PrepareGetSandboxesSessionsBySessionIdArguments( + partial void PrepareGetSessionArguments( global::System.Net.Http.HttpClient httpClient, - ref string sessionId); - partial void PrepareGetSandboxesSessionsBySessionIdRequest( + ref string sessionId, + ref string? teamId, + ref string? slug); + partial void PrepareGetSessionRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string sessionId); - partial void ProcessGetSandboxesSessionsBySessionIdResponse( + string sessionId, + string? teamId, + string? slug); + partial void ProcessGetSessionResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessGetSandboxesSessionsBySessionIdResponseContent( + partial void ProcessGetSessionResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Get a session
+ /// Retrieves detailed information about a specific session, including its current status, resource configuration, and exposed routes. ///
/// /// The unique identifier of the session to retrieve.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task GetSandboxesSessionsBySessionIdAsync( + public async global::System.Threading.Tasks.Task GetSessionAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await GetSandboxesSessionsBySessionIdAsResponseAsync( + var __response = await GetSessionAsResponseAsync( sessionId: sessionId, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -65,31 +80,42 @@ partial void ProcessGetSandboxesSessionsBySessionIdResponseContent( return __response.Body; } /// - /// + /// Get a session
+ /// Retrieves detailed information about a specific session, including its current status, resource configuration, and exposed routes. ///
/// /// The unique identifier of the session to retrieve.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> GetSandboxesSessionsBySessionIdAsResponseAsync( + public async global::System.Threading.Tasks.Task> GetSessionAsResponseAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareGetSandboxesSessionsBySessionIdArguments( + PrepareGetSessionArguments( httpClient: HttpClient, - sessionId: ref sessionId); + sessionId: ref sessionId, + teamId: ref teamId, + slug: ref slug); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_GetSandboxesSessionsBySessionIdSecurityRequirements, - operationName: "GetSandboxesSessionsBySessionIdAsync"); + securityRequirements: s_GetSessionSecurityRequirements, + operationName: "GetSessionAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -109,8 +135,12 @@ partial void ProcessGetSandboxesSessionsBySessionIdResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}", + path: $"/v2/sandboxes/sessions/{sessionId}", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -148,10 +178,12 @@ partial void ProcessGetSandboxesSessionsBySessionIdResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareGetSandboxesSessionsBySessionIdRequest( + PrepareGetSessionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - sessionId: sessionId!); + sessionId: sessionId!, + teamId: teamId, + slug: slug); return __httpRequest; } @@ -168,9 +200,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionId", - methodName: "GetSandboxesSessionsBySessionIdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}\"", + operationId: "GetSession", + methodName: "GetSessionAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -202,9 +234,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionId", - methodName: "GetSandboxesSessionsBySessionIdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}\"", + operationId: "GetSession", + methodName: "GetSessionAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -243,9 +275,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionId", - methodName: "GetSandboxesSessionsBySessionIdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}\"", + operationId: "GetSession", + methodName: "GetSessionAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -283,7 +315,7 @@ partial void ProcessGetSandboxesSessionsBySessionIdResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessGetSandboxesSessionsBySessionIdResponse( + ProcessGetSessionResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -291,9 +323,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionId", - methodName: "GetSandboxesSessionsBySessionIdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}\"", + operationId: "GetSession", + methodName: "GetSessionAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -313,9 +345,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionId", - methodName: "GetSandboxesSessionsBySessionIdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}\"", + operationId: "GetSession", + methodName: "GetSessionAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -535,7 +567,7 @@ partial void ProcessGetSandboxesSessionsBySessionIdResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessGetSandboxesSessionsBySessionIdResponseContent( + ProcessGetSessionResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -544,9 +576,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.GetSandboxesSessionsBySessionIdResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.GetSessionResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -576,9 +608,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::Vercel.GetSandboxesSessionsBySessionIdResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.GetSessionResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessionsBySessionIdCmdByCmdId.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.GetSessionCommand.g.cs similarity index 89% rename from src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessionsBySessionIdCmdByCmdId.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.GetSessionCommand.g.cs index e496713be..5b91abf86 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessionsBySessionIdCmdByCmdId.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.GetSessionCommand.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_GetSandboxesSessionsBySessionIdCmdByCmdIdSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_GetSessionCommandSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,32 +21,37 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetSandboxesSessionsBySessionIdCmdByCmdIdSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetSessionCommandSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_GetSandboxesSessionsBySessionIdCmdByCmdIdSecurityRequirement0, + { s_GetSessionCommandSecurityRequirement0, }; - partial void PrepareGetSandboxesSessionsBySessionIdCmdByCmdIdArguments( + partial void PrepareGetSessionCommandArguments( global::System.Net.Http.HttpClient httpClient, ref string sessionId, ref string cmdId, - ref global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait? wait); - partial void PrepareGetSandboxesSessionsBySessionIdCmdByCmdIdRequest( + ref global::Vercel.GetSessionCommandWait? wait, + ref string? teamId, + ref string? slug); + partial void PrepareGetSessionCommandRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string sessionId, string cmdId, - global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait? wait); - partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponse( + global::Vercel.GetSessionCommandWait? wait, + string? teamId, + string? slug); + partial void ProcessGetSessionCommandResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( + partial void ProcessGetSessionCommandResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Get a command
+ /// Retrieves the current status and details of a command executed in a session. Use the `wait` parameter to block until the command finishes execution. ///
/// /// The unique identifier of the session containing the command.
@@ -60,20 +65,30 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( /// If set to "true", the request will block until the command finishes execution. Useful for synchronously waiting for command completion.
/// Default Value: false /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task GetSandboxesSessionsBySessionIdCmdByCmdIdAsync( + public async global::System.Threading.Tasks.Task GetSessionCommandAsync( string sessionId, string cmdId, - global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait? wait = default, + global::Vercel.GetSessionCommandWait? wait = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await GetSandboxesSessionsBySessionIdCmdByCmdIdAsResponseAsync( + var __response = await GetSessionCommandAsResponseAsync( sessionId: sessionId, cmdId: cmdId, wait: wait, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -81,7 +96,8 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( return __response.Body; } /// - /// + /// Get a command
+ /// Retrieves the current status and details of a command executed in a session. Use the `wait` parameter to block until the command finishes execution. ///
/// /// The unique identifier of the session containing the command.
@@ -95,29 +111,39 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( /// If set to "true", the request will block until the command finishes execution. Useful for synchronously waiting for command completion.
/// Default Value: false /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> GetSandboxesSessionsBySessionIdCmdByCmdIdAsResponseAsync( + public async global::System.Threading.Tasks.Task> GetSessionCommandAsResponseAsync( string sessionId, string cmdId, - global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdWait? wait = default, + global::Vercel.GetSessionCommandWait? wait = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareGetSandboxesSessionsBySessionIdCmdByCmdIdArguments( + PrepareGetSessionCommandArguments( httpClient: HttpClient, sessionId: ref sessionId, cmdId: ref cmdId, - wait: ref wait); + wait: ref wait, + teamId: ref teamId, + slug: ref slug); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_GetSandboxesSessionsBySessionIdCmdByCmdIdSecurityRequirements, - operationName: "GetSandboxesSessionsBySessionIdCmdByCmdIdAsync"); + securityRequirements: s_GetSessionCommandSecurityRequirements, + operationName: "GetSessionCommandAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -137,10 +163,12 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}/cmd/{cmdId}", + path: $"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("wait", wait?.ToValueString()) + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -179,12 +207,14 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareGetSandboxesSessionsBySessionIdCmdByCmdIdRequest( + PrepareGetSessionCommandRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, sessionId: sessionId!, cmdId: cmdId!, - wait: wait); + wait: wait, + teamId: teamId, + slug: slug); return __httpRequest; } @@ -201,9 +231,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmdByCmdId", - methodName: "GetSandboxesSessionsBySessionIdCmdByCmdIdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}\"", + operationId: "GetSessionCommand", + methodName: "GetSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -235,9 +265,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmdByCmdId", - methodName: "GetSandboxesSessionsBySessionIdCmdByCmdIdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}\"", + operationId: "GetSessionCommand", + methodName: "GetSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -276,9 +306,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmdByCmdId", - methodName: "GetSandboxesSessionsBySessionIdCmdByCmdIdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}\"", + operationId: "GetSessionCommand", + methodName: "GetSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -316,7 +346,7 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponse( + ProcessGetSessionCommandResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -324,9 +354,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmdByCmdId", - methodName: "GetSandboxesSessionsBySessionIdCmdByCmdIdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}\"", + operationId: "GetSessionCommand", + methodName: "GetSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -346,9 +376,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmdByCmdId", - methodName: "GetSandboxesSessionsBySessionIdCmdByCmdIdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}\"", + operationId: "GetSessionCommand", + methodName: "GetSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -632,7 +662,7 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( + ProcessGetSessionCommandResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -641,9 +671,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.GetSessionCommandResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -673,9 +703,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::Vercel.GetSandboxesSessionsBySessionIdCmdByCmdIdResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.GetSessionCommandResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessionsBySessionIdCmdByCmdIdLogs.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.GetSessionCommandLogs.g.cs similarity index 83% rename from src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessionsBySessionIdCmdByCmdIdLogs.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.GetSessionCommandLogs.g.cs index a70c4c41e..ca0702c28 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessionsBySessionIdCmdByCmdIdLogs.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.GetSessionCommandLogs.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_GetSandboxesSessionsBySessionIdCmdByCmdIdLogsSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_GetSessionCommandLogsSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,25 +21,30 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetSandboxesSessionsBySessionIdCmdByCmdIdLogsSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetSessionCommandLogsSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_GetSandboxesSessionsBySessionIdCmdByCmdIdLogsSecurityRequirement0, + { s_GetSessionCommandLogsSecurityRequirement0, }; - partial void PrepareGetSandboxesSessionsBySessionIdCmdByCmdIdLogsArguments( + partial void PrepareGetSessionCommandLogsArguments( global::System.Net.Http.HttpClient httpClient, ref string sessionId, - ref string cmdId); - partial void PrepareGetSandboxesSessionsBySessionIdCmdByCmdIdLogsRequest( + ref string cmdId, + ref string? teamId, + ref string? slug); + partial void PrepareGetSessionCommandLogsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string sessionId, - string cmdId); - partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponse( + string cmdId, + string? teamId, + string? slug); + partial void ProcessGetSessionCommandLogsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); /// - /// + /// Stream command logs
+ /// Streams the output of a command in real-time using newline-delimited JSON (ND-JSON). Each entry includes the output data and stream type. Stream types include `stdout`, `stderr`, and `error` (for stream failures). ///
/// /// The unique identifier of the session containing the command.
@@ -49,27 +54,37 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponse( /// The unique identifier of the command to stream logs for.
/// Example: cmd_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Collections.Generic.IAsyncEnumerable> GetSandboxesSessionsBySessionIdCmdByCmdIdLogsAsync( + public async global::System.Collections.Generic.IAsyncEnumerable> GetSessionCommandLogsAsync( string sessionId, string cmdId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareGetSandboxesSessionsBySessionIdCmdByCmdIdLogsArguments( + PrepareGetSessionCommandLogsArguments( httpClient: HttpClient, sessionId: ref sessionId, - cmdId: ref cmdId); + cmdId: ref cmdId, + teamId: ref teamId, + slug: ref slug); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_GetSandboxesSessionsBySessionIdCmdByCmdIdLogsSecurityRequirements, - operationName: "GetSandboxesSessionsBySessionIdCmdByCmdIdLogsAsync"); + securityRequirements: s_GetSessionCommandLogsSecurityRequirements, + operationName: "GetSessionCommandLogsAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -89,8 +104,12 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponse( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs", + path: $"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -128,11 +147,13 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponse( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareGetSandboxesSessionsBySessionIdCmdByCmdIdLogsRequest( + PrepareGetSessionCommandLogsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, sessionId: sessionId!, - cmdId: cmdId!); + cmdId: cmdId!, + teamId: teamId, + slug: slug); return __httpRequest; } @@ -149,9 +170,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponse( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmdByCmdIdLogs", - methodName: "GetSandboxesSessionsBySessionIdCmdByCmdIdLogsAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs\"", + operationId: "GetSessionCommandLogs", + methodName: "GetSessionCommandLogsAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -183,9 +204,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponse( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmdByCmdIdLogs", - methodName: "GetSandboxesSessionsBySessionIdCmdByCmdIdLogsAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs\"", + operationId: "GetSessionCommandLogs", + methodName: "GetSessionCommandLogsAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -224,9 +245,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponse( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmdByCmdIdLogs", - methodName: "GetSandboxesSessionsBySessionIdCmdByCmdIdLogsAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs\"", + operationId: "GetSessionCommandLogs", + methodName: "GetSessionCommandLogsAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -264,7 +285,7 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponse( ProcessResponse( client: HttpClient, response: __response); - ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponse( + ProcessGetSessionCommandLogsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -272,9 +293,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponse( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmdByCmdIdLogs", - methodName: "GetSandboxesSessionsBySessionIdCmdByCmdIdLogsAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs\"", + operationId: "GetSessionCommandLogs", + methodName: "GetSessionCommandLogsAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -294,9 +315,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponse( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmdByCmdIdLogs", - methodName: "GetSandboxesSessionsBySessionIdCmdByCmdIdLogsAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs\"", + operationId: "GetSessionCommandLogs", + methodName: "GetSessionCommandLogsAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -358,7 +379,7 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdByCmdIdLogsResponse( continue; } - var __streamedResponse = global::Vercel.OneOf.FromJson(__content, JsonSerializerContext) ?? + var __streamedResponse = global::Vercel.OneOf.FromJson(__content, JsonSerializerContext) ?? throw global::Vercel.ApiException.Create( statusCode: __response.StatusCode, message: $"Response deserialization failed for \"{__content}\" ", diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSnapshotsBySnapshotId.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.GetSessionSnapshot.g.cs similarity index 87% rename from src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSnapshotsBySnapshotId.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.GetSessionSnapshot.g.cs index af40125fa..00b901630 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSnapshotsBySnapshotId.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.GetSessionSnapshot.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_GetSandboxesSnapshotsBySnapshotIdSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_GetSessionSnapshotSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,43 +21,58 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetSandboxesSnapshotsBySnapshotIdSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetSessionSnapshotSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_GetSandboxesSnapshotsBySnapshotIdSecurityRequirement0, + { s_GetSessionSnapshotSecurityRequirement0, }; - partial void PrepareGetSandboxesSnapshotsBySnapshotIdArguments( + partial void PrepareGetSessionSnapshotArguments( global::System.Net.Http.HttpClient httpClient, - ref string snapshotId); - partial void PrepareGetSandboxesSnapshotsBySnapshotIdRequest( + ref string snapshotId, + ref string? teamId, + ref string? slug); + partial void PrepareGetSessionSnapshotRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string snapshotId); - partial void ProcessGetSandboxesSnapshotsBySnapshotIdResponse( + string snapshotId, + string? teamId, + string? slug); + partial void ProcessGetSessionSnapshotResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessGetSandboxesSnapshotsBySnapshotIdResponseContent( + partial void ProcessGetSessionSnapshotResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Get a snapshot
+ /// Retrieves detailed information about a specific snapshot, including its creation time, size, expiration date, and the source session it was created from. ///
/// /// The unique identifier of the snapshot to retrieve.
/// Example: snap_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task GetSandboxesSnapshotsBySnapshotIdAsync( + public async global::System.Threading.Tasks.Task GetSessionSnapshotAsync( string snapshotId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await GetSandboxesSnapshotsBySnapshotIdAsResponseAsync( + var __response = await GetSessionSnapshotAsResponseAsync( snapshotId: snapshotId, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -65,31 +80,42 @@ partial void ProcessGetSandboxesSnapshotsBySnapshotIdResponseContent( return __response.Body; } /// - /// + /// Get a snapshot
+ /// Retrieves detailed information about a specific snapshot, including its creation time, size, expiration date, and the source session it was created from. ///
/// /// The unique identifier of the snapshot to retrieve.
/// Example: snap_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> GetSandboxesSnapshotsBySnapshotIdAsResponseAsync( + public async global::System.Threading.Tasks.Task> GetSessionSnapshotAsResponseAsync( string snapshotId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareGetSandboxesSnapshotsBySnapshotIdArguments( + PrepareGetSessionSnapshotArguments( httpClient: HttpClient, - snapshotId: ref snapshotId); + snapshotId: ref snapshotId, + teamId: ref teamId, + slug: ref slug); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_GetSandboxesSnapshotsBySnapshotIdSecurityRequirements, - operationName: "GetSandboxesSnapshotsBySnapshotIdAsync"); + securityRequirements: s_GetSessionSnapshotSecurityRequirements, + operationName: "GetSessionSnapshotAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -109,8 +135,12 @@ partial void ProcessGetSandboxesSnapshotsBySnapshotIdResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/snapshots/{snapshotId}", + path: $"/v2/sandboxes/snapshots/{snapshotId}", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -148,10 +178,12 @@ partial void ProcessGetSandboxesSnapshotsBySnapshotIdResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareGetSandboxesSnapshotsBySnapshotIdRequest( + PrepareGetSessionSnapshotRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - snapshotId: snapshotId!); + snapshotId: snapshotId!, + teamId: teamId, + slug: slug); return __httpRequest; } @@ -168,9 +200,9 @@ partial void ProcessGetSandboxesSnapshotsBySnapshotIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSnapshotsBySnapshotId", - methodName: "GetSandboxesSnapshotsBySnapshotIdAsync", - pathTemplate: "$\"/sandboxes/snapshots/{snapshotId}\"", + operationId: "GetSessionSnapshot", + methodName: "GetSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/snapshots/{snapshotId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -202,9 +234,9 @@ partial void ProcessGetSandboxesSnapshotsBySnapshotIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSnapshotsBySnapshotId", - methodName: "GetSandboxesSnapshotsBySnapshotIdAsync", - pathTemplate: "$\"/sandboxes/snapshots/{snapshotId}\"", + operationId: "GetSessionSnapshot", + methodName: "GetSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/snapshots/{snapshotId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -243,9 +275,9 @@ partial void ProcessGetSandboxesSnapshotsBySnapshotIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSnapshotsBySnapshotId", - methodName: "GetSandboxesSnapshotsBySnapshotIdAsync", - pathTemplate: "$\"/sandboxes/snapshots/{snapshotId}\"", + operationId: "GetSessionSnapshot", + methodName: "GetSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/snapshots/{snapshotId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -283,7 +315,7 @@ partial void ProcessGetSandboxesSnapshotsBySnapshotIdResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessGetSandboxesSnapshotsBySnapshotIdResponse( + ProcessGetSessionSnapshotResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -291,9 +323,9 @@ partial void ProcessGetSandboxesSnapshotsBySnapshotIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSnapshotsBySnapshotId", - methodName: "GetSandboxesSnapshotsBySnapshotIdAsync", - pathTemplate: "$\"/sandboxes/snapshots/{snapshotId}\"", + operationId: "GetSessionSnapshot", + methodName: "GetSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/snapshots/{snapshotId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -313,9 +345,9 @@ partial void ProcessGetSandboxesSnapshotsBySnapshotIdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSnapshotsBySnapshotId", - methodName: "GetSandboxesSnapshotsBySnapshotIdAsync", - pathTemplate: "$\"/sandboxes/snapshots/{snapshotId}\"", + operationId: "GetSessionSnapshot", + methodName: "GetSessionSnapshotAsync", + pathTemplate: "$\"/v2/sandboxes/snapshots/{snapshotId}\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -503,7 +535,7 @@ partial void ProcessGetSandboxesSnapshotsBySnapshotIdResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessGetSandboxesSnapshotsBySnapshotIdResponseContent( + ProcessGetSessionSnapshotResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -512,9 +544,9 @@ partial void ProcessGetSandboxesSnapshotsBySnapshotIdResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.GetSandboxesSnapshotsBySnapshotIdResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.GetSessionSnapshotResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -544,9 +576,9 @@ partial void ProcessGetSandboxesSnapshotsBySnapshotIdResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::Vercel.GetSandboxesSnapshotsBySnapshotIdResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.GetSessionSnapshotResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdCmdByCmdIdKill.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.KillSessionCommand.g.cs similarity index 87% rename from src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdCmdByCmdIdKill.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.KillSessionCommand.g.cs index 78420f460..0f0bb14b3 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdCmdByCmdIdKill.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.KillSessionCommand.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_CreateSandboxesSessionsBySessionIdCmdByCmdIdKillSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_KillSessionCommandSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,32 +21,37 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_CreateSandboxesSessionsBySessionIdCmdByCmdIdKillSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_KillSessionCommandSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_CreateSandboxesSessionsBySessionIdCmdByCmdIdKillSecurityRequirement0, + { s_KillSessionCommandSecurityRequirement0, }; - partial void PrepareCreateSandboxesSessionsBySessionIdCmdByCmdIdKillArguments( + partial void PrepareKillSessionCommandArguments( global::System.Net.Http.HttpClient httpClient, ref string cmdId, ref string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest request); - partial void PrepareCreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest( + ref string? teamId, + ref string? slug, + global::Vercel.KillSessionCommandRequest request); + partial void PrepareKillSessionCommandRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string cmdId, string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest request); - partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse( + string? teamId, + string? slug, + global::Vercel.KillSessionCommandRequest request); + partial void ProcessKillSessionCommandResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseContent( + partial void ProcessKillSessionCommandResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Kill a command
+ /// Sends a signal to terminate a running command in a session. The signal can be used to gracefully stop (SIGTERM) or forcefully kill (SIGKILL) the process. The command must still be running for this operation to succeed. ///
/// /// The unique identifier of the command to terminate.
@@ -56,23 +61,33 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont /// The unique identifier of the session containing the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdCmdByCmdIdKillAsync( + public async global::System.Threading.Tasks.Task KillSessionCommandAsync( string cmdId, string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest request, + global::Vercel.KillSessionCommandRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await CreateSandboxesSessionsBySessionIdCmdByCmdIdKillAsResponseAsync( + var __response = await KillSessionCommandAsResponseAsync( cmdId: cmdId, sessionId: sessionId, request: request, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -80,7 +95,8 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont return __response.Body; } /// - /// + /// Kill a command
+ /// Sends a signal to terminate a running command in a session. The signal can be used to gracefully stop (SIGTERM) or forcefully kill (SIGKILL) the process. The command must still be running for this operation to succeed. ///
/// /// The unique identifier of the command to terminate.
@@ -90,15 +106,23 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont /// The unique identifier of the session containing the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdCmdByCmdIdKillAsResponseAsync( + public async global::System.Threading.Tasks.Task> KillSessionCommandAsResponseAsync( string cmdId, string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest request, + global::Vercel.KillSessionCommandRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -106,17 +130,19 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont PrepareArguments( client: HttpClient); - PrepareCreateSandboxesSessionsBySessionIdCmdByCmdIdKillArguments( + PrepareKillSessionCommandArguments( httpClient: HttpClient, cmdId: ref cmdId, sessionId: ref sessionId, + teamId: ref teamId, + slug: ref slug, request: request); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateSandboxesSessionsBySessionIdCmdByCmdIdKillSecurityRequirements, - operationName: "CreateSandboxesSessionsBySessionIdCmdByCmdIdKillAsync"); + securityRequirements: s_KillSessionCommandSecurityRequirements, + operationName: "KillSessionCommandAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -136,8 +162,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill", + path: $"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -181,11 +211,13 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest( + PrepareKillSessionCommandRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, cmdId: cmdId!, sessionId: sessionId!, + teamId: teamId, + slug: slug, request: request); return __httpRequest; @@ -203,9 +235,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmdByCmdIdKill", - methodName: "CreateSandboxesSessionsBySessionIdCmdByCmdIdKillAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill\"", + operationId: "KillSessionCommand", + methodName: "KillSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -237,9 +269,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmdByCmdIdKill", - methodName: "CreateSandboxesSessionsBySessionIdCmdByCmdIdKillAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill\"", + operationId: "KillSessionCommand", + methodName: "KillSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -278,9 +310,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmdByCmdIdKill", - methodName: "CreateSandboxesSessionsBySessionIdCmdByCmdIdKillAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill\"", + operationId: "KillSessionCommand", + methodName: "KillSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -318,7 +350,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont ProcessResponse( client: HttpClient, response: __response); - ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse( + ProcessKillSessionCommandResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -326,9 +358,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmdByCmdIdKill", - methodName: "CreateSandboxesSessionsBySessionIdCmdByCmdIdKillAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill\"", + operationId: "KillSessionCommand", + methodName: "KillSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -348,9 +380,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmdByCmdIdKill", - methodName: "CreateSandboxesSessionsBySessionIdCmdByCmdIdKillAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill\"", + operationId: "KillSessionCommand", + methodName: "KillSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -634,7 +666,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont client: HttpClient, response: __response, content: ref __content); - ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseContent( + ProcessKillSessionCommandResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -643,9 +675,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.KillSessionCommandResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -675,9 +707,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont #endif ).ConfigureAwait(false); - var __value = await global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.KillSessionCommandResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -718,7 +750,8 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont } } /// - /// + /// Kill a command
+ /// Sends a signal to terminate a running command in a session. The signal can be used to gracefully stop (SIGTERM) or forcefully kill (SIGKILL) the process. The command must still be running for this operation to succeed. ///
/// /// The unique identifier of the command to terminate.
@@ -728,6 +761,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont /// The unique identifier of the session containing the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// The POSIX signal number to send to the process. Common values: 15 (SIGTERM) for graceful termination, 9 (SIGKILL) for forced termination.
/// Example: 15 @@ -735,21 +774,25 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdByCmdIdKillResponseCont /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdCmdByCmdIdKillAsync( + public async global::System.Threading.Tasks.Task KillSessionCommandAsync( string cmdId, string sessionId, double signal, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Vercel.CreateSandboxesSessionsBySessionIdCmdByCmdIdKillRequest + var __request = new global::Vercel.KillSessionCommandRequest { Signal = signal, }; - return await CreateSandboxesSessionsBySessionIdCmdByCmdIdKillAsync( + return await KillSessionCommandAsync( cmdId: cmdId, sessionId: sessionId, + teamId: teamId, + slug: slug, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxes.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.ListSandboxes.g.cs similarity index 88% rename from src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxes.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.ListSandboxes.g.cs index 96730c010..ed41465ad 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxes.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.ListSandboxes.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_GetSandboxesSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_ListSandboxesSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,40 +21,45 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetSandboxesSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_ListSandboxesSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_GetSandboxesSecurityRequirement0, + { s_ListSandboxesSecurityRequirement0, }; - partial void PrepareGetSandboxesArguments( + partial void PrepareListSandboxesArguments( global::System.Net.Http.HttpClient httpClient, ref string? project, ref double? limit, - ref global::Vercel.GetSandboxesSortBy? sortBy, + ref global::Vercel.ListSandboxesSortBy? sortBy, ref string? namePrefix, ref string? cursor, - ref global::Vercel.GetSandboxesSortOrder? sortOrder, - ref global::Vercel.AnyOf>? tags); - partial void PrepareGetSandboxesRequest( + ref global::Vercel.ListSandboxesSortOrder? sortOrder, + ref global::Vercel.AnyOf>? tags, + ref string? teamId, + ref string? slug); + partial void PrepareListSandboxesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string? project, double? limit, - global::Vercel.GetSandboxesSortBy? sortBy, + global::Vercel.ListSandboxesSortBy? sortBy, string? namePrefix, string? cursor, - global::Vercel.GetSandboxesSortOrder? sortOrder, - global::Vercel.AnyOf>? tags); - partial void ProcessGetSandboxesResponse( + global::Vercel.ListSandboxesSortOrder? sortOrder, + global::Vercel.AnyOf>? tags, + string? teamId, + string? slug); + partial void ProcessListSandboxesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessGetSandboxesResponseContent( + partial void ProcessListSandboxesResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// List sandboxes
+ /// Retrieves a paginated list of named sandboxes belonging to a specific project. Results can be sorted by creation time or name, and optionally filtered by name prefix. ///
/// /// The unique identifier or name of the project to list named sandboxes for.
@@ -82,21 +87,29 @@ partial void ProcessGetSandboxesResponseContent( /// /// Filter sandboxes by tag. Format: \"key:value\". Only one tag filter is supported at a time. /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task GetSandboxesAsync( + public async global::System.Threading.Tasks.Task ListSandboxesAsync( string? project = default, double? limit = default, - global::Vercel.GetSandboxesSortBy? sortBy = default, + global::Vercel.ListSandboxesSortBy? sortBy = default, string? namePrefix = default, string? cursor = default, - global::Vercel.GetSandboxesSortOrder? sortOrder = default, + global::Vercel.ListSandboxesSortOrder? sortOrder = default, global::Vercel.AnyOf>? tags = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await GetSandboxesAsResponseAsync( + var __response = await ListSandboxesAsResponseAsync( project: project, limit: limit, sortBy: sortBy, @@ -104,6 +117,8 @@ partial void ProcessGetSandboxesResponseContent( cursor: cursor, sortOrder: sortOrder, tags: tags, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -111,7 +126,8 @@ partial void ProcessGetSandboxesResponseContent( return __response.Body; } /// - /// + /// List sandboxes
+ /// Retrieves a paginated list of named sandboxes belonging to a specific project. Results can be sorted by creation time or name, and optionally filtered by name prefix. ///
/// /// The unique identifier or name of the project to list named sandboxes for.
@@ -139,23 +155,31 @@ partial void ProcessGetSandboxesResponseContent( /// /// Filter sandboxes by tag. Format: \"key:value\". Only one tag filter is supported at a time. /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> GetSandboxesAsResponseAsync( + public async global::System.Threading.Tasks.Task> ListSandboxesAsResponseAsync( string? project = default, double? limit = default, - global::Vercel.GetSandboxesSortBy? sortBy = default, + global::Vercel.ListSandboxesSortBy? sortBy = default, string? namePrefix = default, string? cursor = default, - global::Vercel.GetSandboxesSortOrder? sortOrder = default, + global::Vercel.ListSandboxesSortOrder? sortOrder = default, global::Vercel.AnyOf>? tags = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareGetSandboxesArguments( + PrepareListSandboxesArguments( httpClient: HttpClient, project: ref project, limit: ref limit, @@ -163,13 +187,15 @@ partial void ProcessGetSandboxesResponseContent( namePrefix: ref namePrefix, cursor: ref cursor, sortOrder: ref sortOrder, - tags: ref tags); + tags: ref tags, + teamId: ref teamId, + slug: ref slug); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_GetSandboxesSecurityRequirements, - operationName: "GetSandboxesAsync"); + securityRequirements: s_ListSandboxesSecurityRequirements, + operationName: "ListSandboxesAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -189,7 +215,7 @@ partial void ProcessGetSandboxesResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: "/sandboxes", + path: "/v2/sandboxes", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("project", project) @@ -199,6 +225,8 @@ partial void ProcessGetSandboxesResponseContent( .AddOptionalParameter("cursor", cursor) .AddOptionalParameter("sortOrder", sortOrder?.ToValueString()) .AddOptionalParameter("tags", tags?.ToString()) + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -237,7 +265,7 @@ partial void ProcessGetSandboxesResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareGetSandboxesRequest( + PrepareListSandboxesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, project: project, @@ -246,7 +274,9 @@ partial void ProcessGetSandboxesResponseContent( namePrefix: namePrefix, cursor: cursor, sortOrder: sortOrder, - tags: tags); + tags: tags, + teamId: teamId, + slug: slug); return __httpRequest; } @@ -263,9 +293,9 @@ partial void ProcessGetSandboxesResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxes", - methodName: "GetSandboxesAsync", - pathTemplate: "\"/sandboxes\"", + operationId: "ListSandboxes", + methodName: "ListSandboxesAsync", + pathTemplate: "\"/v2/sandboxes\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -297,9 +327,9 @@ partial void ProcessGetSandboxesResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxes", - methodName: "GetSandboxesAsync", - pathTemplate: "\"/sandboxes\"", + operationId: "ListSandboxes", + methodName: "ListSandboxesAsync", + pathTemplate: "\"/v2/sandboxes\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -338,9 +368,9 @@ partial void ProcessGetSandboxesResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxes", - methodName: "GetSandboxesAsync", - pathTemplate: "\"/sandboxes\"", + operationId: "ListSandboxes", + methodName: "ListSandboxesAsync", + pathTemplate: "\"/v2/sandboxes\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -378,7 +408,7 @@ partial void ProcessGetSandboxesResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessGetSandboxesResponse( + ProcessListSandboxesResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -386,9 +416,9 @@ partial void ProcessGetSandboxesResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxes", - methodName: "GetSandboxesAsync", - pathTemplate: "\"/sandboxes\"", + operationId: "ListSandboxes", + methodName: "ListSandboxesAsync", + pathTemplate: "\"/v2/sandboxes\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -408,9 +438,9 @@ partial void ProcessGetSandboxesResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxes", - methodName: "GetSandboxesAsync", - pathTemplate: "\"/sandboxes\"", + operationId: "ListSandboxes", + methodName: "ListSandboxesAsync", + pathTemplate: "\"/v2/sandboxes\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -598,7 +628,7 @@ partial void ProcessGetSandboxesResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessGetSandboxesResponseContent( + ProcessListSandboxesResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -607,9 +637,9 @@ partial void ProcessGetSandboxesResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.GetSandboxesResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.ListSandboxesResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -639,9 +669,9 @@ partial void ProcessGetSandboxesResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::Vercel.GetSandboxesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.ListSandboxesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessionsBySessionIdCmd.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.ListSessionCommands.g.cs similarity index 87% rename from src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessionsBySessionIdCmd.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.ListSessionCommands.g.cs index 35cb421d8..ac30d376a 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessionsBySessionIdCmd.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.ListSessionCommands.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_GetSandboxesSessionsBySessionIdCmdSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_ListSessionCommandsSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,43 +21,58 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetSandboxesSessionsBySessionIdCmdSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_ListSessionCommandsSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_GetSandboxesSessionsBySessionIdCmdSecurityRequirement0, + { s_ListSessionCommandsSecurityRequirement0, }; - partial void PrepareGetSandboxesSessionsBySessionIdCmdArguments( + partial void PrepareListSessionCommandsArguments( global::System.Net.Http.HttpClient httpClient, - ref string sessionId); - partial void PrepareGetSandboxesSessionsBySessionIdCmdRequest( + ref string sessionId, + ref string? teamId, + ref string? slug); + partial void PrepareListSessionCommandsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string sessionId); - partial void ProcessGetSandboxesSessionsBySessionIdCmdResponse( + string sessionId, + string? teamId, + string? slug); + partial void ProcessListSessionCommandsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessGetSandboxesSessionsBySessionIdCmdResponseContent( + partial void ProcessListSessionCommandsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// List commands
+ /// Retrieves a list of all commands that have been executed in a session, including their current status, exit codes, and execution times, ordered from the most recent to the oldest. ///
/// /// The unique identifier of the session to list commands for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task GetSandboxesSessionsBySessionIdCmdAsync( + public async global::System.Threading.Tasks.Task ListSessionCommandsAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await GetSandboxesSessionsBySessionIdCmdAsResponseAsync( + var __response = await ListSessionCommandsAsResponseAsync( sessionId: sessionId, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -65,31 +80,42 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdResponseContent( return __response.Body; } /// - /// + /// List commands
+ /// Retrieves a list of all commands that have been executed in a session, including their current status, exit codes, and execution times, ordered from the most recent to the oldest. ///
/// /// The unique identifier of the session to list commands for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> GetSandboxesSessionsBySessionIdCmdAsResponseAsync( + public async global::System.Threading.Tasks.Task> ListSessionCommandsAsResponseAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareGetSandboxesSessionsBySessionIdCmdArguments( + PrepareListSessionCommandsArguments( httpClient: HttpClient, - sessionId: ref sessionId); + sessionId: ref sessionId, + teamId: ref teamId, + slug: ref slug); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_GetSandboxesSessionsBySessionIdCmdSecurityRequirements, - operationName: "GetSandboxesSessionsBySessionIdCmdAsync"); + securityRequirements: s_ListSessionCommandsSecurityRequirements, + operationName: "ListSessionCommandsAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -109,8 +135,12 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}/cmd", + path: $"/v2/sandboxes/sessions/{sessionId}/cmd", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -148,10 +178,12 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareGetSandboxesSessionsBySessionIdCmdRequest( + PrepareListSessionCommandsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - sessionId: sessionId!); + sessionId: sessionId!, + teamId: teamId, + slug: slug); return __httpRequest; } @@ -168,9 +200,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmd", - methodName: "GetSandboxesSessionsBySessionIdCmdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "ListSessionCommands", + methodName: "ListSessionCommandsAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -202,9 +234,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmd", - methodName: "GetSandboxesSessionsBySessionIdCmdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "ListSessionCommands", + methodName: "ListSessionCommandsAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -243,9 +275,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmd", - methodName: "GetSandboxesSessionsBySessionIdCmdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "ListSessionCommands", + methodName: "ListSessionCommandsAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -283,7 +315,7 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessGetSandboxesSessionsBySessionIdCmdResponse( + ProcessListSessionCommandsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -291,9 +323,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmd", - methodName: "GetSandboxesSessionsBySessionIdCmdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "ListSessionCommands", + methodName: "ListSessionCommandsAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -313,9 +345,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessionsBySessionIdCmd", - methodName: "GetSandboxesSessionsBySessionIdCmdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "ListSessionCommands", + methodName: "ListSessionCommandsAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -503,7 +535,7 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessGetSandboxesSessionsBySessionIdCmdResponseContent( + ProcessListSessionCommandsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -512,9 +544,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.GetSandboxesSessionsBySessionIdCmdResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.ListSessionCommandsResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -544,9 +576,9 @@ partial void ProcessGetSandboxesSessionsBySessionIdCmdResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::Vercel.GetSandboxesSessionsBySessionIdCmdResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.ListSessionCommandsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSnapshots.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.ListSessionSnapshots.g.cs similarity index 88% rename from src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSnapshots.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.ListSessionSnapshots.g.cs index b9a262033..342545715 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSnapshots.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.ListSessionSnapshots.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_GetSandboxesSnapshotsSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_ListSessionSnapshotsSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,36 +21,41 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetSandboxesSnapshotsSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_ListSessionSnapshotsSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_GetSandboxesSnapshotsSecurityRequirement0, + { s_ListSessionSnapshotsSecurityRequirement0, }; - partial void PrepareGetSandboxesSnapshotsArguments( + partial void PrepareListSessionSnapshotsArguments( global::System.Net.Http.HttpClient httpClient, ref string? project, ref string? name, ref double? limit, ref string? cursor, - ref global::Vercel.GetSandboxesSnapshotsSortOrder? sortOrder); - partial void PrepareGetSandboxesSnapshotsRequest( + ref global::Vercel.ListSessionSnapshotsSortOrder? sortOrder, + ref string? teamId, + ref string? slug); + partial void PrepareListSessionSnapshotsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string? project, string? name, double? limit, string? cursor, - global::Vercel.GetSandboxesSnapshotsSortOrder? sortOrder); - partial void ProcessGetSandboxesSnapshotsResponse( + global::Vercel.ListSessionSnapshotsSortOrder? sortOrder, + string? teamId, + string? slug); + partial void ProcessListSessionSnapshotsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessGetSandboxesSnapshotsResponseContent( + partial void ProcessListSessionSnapshotsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// List snapshots
+ /// Retrieves a paginated list of snapshots for a specific project. ///
/// /// The unique identifier or name of the project to list snapshots for.
@@ -72,24 +77,34 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( /// Sort direction for results by creation time.
/// Default Value: desc /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> GetSandboxesSnapshotsAsync( + public async global::System.Threading.Tasks.Task> ListSessionSnapshotsAsync( string? project = default, string? name = default, double? limit = default, string? cursor = default, - global::Vercel.GetSandboxesSnapshotsSortOrder? sortOrder = default, + global::Vercel.ListSessionSnapshotsSortOrder? sortOrder = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await GetSandboxesSnapshotsAsResponseAsync( + var __response = await ListSessionSnapshotsAsResponseAsync( project: project, name: name, limit: limit, cursor: cursor, sortOrder: sortOrder, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -97,7 +112,8 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( return __response.Body; } /// - /// + /// List snapshots
+ /// Retrieves a paginated list of snapshots for a specific project. ///
/// /// The unique identifier or name of the project to list snapshots for.
@@ -119,33 +135,43 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( /// Sort direction for results by creation time.
/// Default Value: desc /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task>> GetSandboxesSnapshotsAsResponseAsync( + public async global::System.Threading.Tasks.Task>> ListSessionSnapshotsAsResponseAsync( string? project = default, string? name = default, double? limit = default, string? cursor = default, - global::Vercel.GetSandboxesSnapshotsSortOrder? sortOrder = default, + global::Vercel.ListSessionSnapshotsSortOrder? sortOrder = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareGetSandboxesSnapshotsArguments( + PrepareListSessionSnapshotsArguments( httpClient: HttpClient, project: ref project, name: ref name, limit: ref limit, cursor: ref cursor, - sortOrder: ref sortOrder); + sortOrder: ref sortOrder, + teamId: ref teamId, + slug: ref slug); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_GetSandboxesSnapshotsSecurityRequirements, - operationName: "GetSandboxesSnapshotsAsync"); + securityRequirements: s_ListSessionSnapshotsSecurityRequirements, + operationName: "ListSessionSnapshotsAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -165,7 +191,7 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: "/sandboxes/snapshots", + path: "/v2/sandboxes/snapshots", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("project", project) @@ -173,6 +199,8 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( .AddOptionalParameter("limit", limit?.ToString()) .AddOptionalParameter("cursor", cursor) .AddOptionalParameter("sortOrder", sortOrder?.ToValueString()) + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -211,14 +239,16 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareGetSandboxesSnapshotsRequest( + PrepareListSessionSnapshotsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, project: project, name: name, limit: limit, cursor: cursor, - sortOrder: sortOrder); + sortOrder: sortOrder, + teamId: teamId, + slug: slug); return __httpRequest; } @@ -235,9 +265,9 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSnapshots", - methodName: "GetSandboxesSnapshotsAsync", - pathTemplate: "\"/sandboxes/snapshots\"", + operationId: "ListSessionSnapshots", + methodName: "ListSessionSnapshotsAsync", + pathTemplate: "\"/v2/sandboxes/snapshots\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -269,9 +299,9 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSnapshots", - methodName: "GetSandboxesSnapshotsAsync", - pathTemplate: "\"/sandboxes/snapshots\"", + operationId: "ListSessionSnapshots", + methodName: "ListSessionSnapshotsAsync", + pathTemplate: "\"/v2/sandboxes/snapshots\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -310,9 +340,9 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSnapshots", - methodName: "GetSandboxesSnapshotsAsync", - pathTemplate: "\"/sandboxes/snapshots\"", + operationId: "ListSessionSnapshots", + methodName: "ListSessionSnapshotsAsync", + pathTemplate: "\"/v2/sandboxes/snapshots\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -350,7 +380,7 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessGetSandboxesSnapshotsResponse( + ProcessListSessionSnapshotsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -358,9 +388,9 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSnapshots", - methodName: "GetSandboxesSnapshotsAsync", - pathTemplate: "\"/sandboxes/snapshots\"", + operationId: "ListSessionSnapshots", + methodName: "ListSessionSnapshotsAsync", + pathTemplate: "\"/v2/sandboxes/snapshots\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -380,9 +410,9 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSnapshots", - methodName: "GetSandboxesSnapshotsAsync", - pathTemplate: "\"/sandboxes/snapshots\"", + operationId: "ListSessionSnapshots", + methodName: "ListSessionSnapshotsAsync", + pathTemplate: "\"/v2/sandboxes/snapshots\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -570,7 +600,7 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessGetSandboxesSnapshotsResponseContent( + ProcessListSessionSnapshotsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -579,9 +609,9 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.OneOf.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.OneOf.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse>( + return new global::Vercel.AutoSDKHttpResponse>( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -611,9 +641,9 @@ partial void ProcessGetSandboxesSnapshotsResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::Vercel.OneOf.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.OneOf.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse>( + return new global::Vercel.AutoSDKHttpResponse>( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessions.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.ListSessions.g.cs similarity index 89% rename from src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessions.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.ListSessions.g.cs index 3ee510672..0862a7523 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.GetSandboxesSessions.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.ListSessions.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_GetSandboxesSessionsSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_ListSessionsSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,36 +21,41 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetSandboxesSessionsSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_ListSessionsSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_GetSandboxesSessionsSecurityRequirement0, + { s_ListSessionsSecurityRequirement0, }; - partial void PrepareGetSandboxesSessionsArguments( + partial void PrepareListSessionsArguments( global::System.Net.Http.HttpClient httpClient, ref string? project, ref string? name, ref double? limit, ref string? cursor, - ref global::Vercel.GetSandboxesSessionsSortOrder? sortOrder); - partial void PrepareGetSandboxesSessionsRequest( + ref global::Vercel.ListSessionsSortOrder? sortOrder, + ref string? teamId, + ref string? slug); + partial void PrepareListSessionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string? project, string? name, double? limit, string? cursor, - global::Vercel.GetSandboxesSessionsSortOrder? sortOrder); - partial void ProcessGetSandboxesSessionsResponse( + global::Vercel.ListSessionsSortOrder? sortOrder, + string? teamId, + string? slug); + partial void ProcessListSessionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessGetSandboxesSessionsResponseContent( + partial void ProcessListSessionsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// List sessions
+ /// Retrieves a paginated list of sessions belonging to a specific sandbox. Results are sorted by creation time and paginated using an opaque cursor. ///
/// /// The unique identifier or name of the project to list sessions for.
@@ -72,24 +77,34 @@ partial void ProcessGetSandboxesSessionsResponseContent( /// Sort direction for results by creation time.
/// Default Value: desc /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> GetSandboxesSessionsAsync( + public async global::System.Threading.Tasks.Task> ListSessionsAsync( string? project = default, string? name = default, double? limit = default, string? cursor = default, - global::Vercel.GetSandboxesSessionsSortOrder? sortOrder = default, + global::Vercel.ListSessionsSortOrder? sortOrder = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await GetSandboxesSessionsAsResponseAsync( + var __response = await ListSessionsAsResponseAsync( project: project, name: name, limit: limit, cursor: cursor, sortOrder: sortOrder, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -97,7 +112,8 @@ partial void ProcessGetSandboxesSessionsResponseContent( return __response.Body; } /// - /// + /// List sessions
+ /// Retrieves a paginated list of sessions belonging to a specific sandbox. Results are sorted by creation time and paginated using an opaque cursor. ///
/// /// The unique identifier or name of the project to list sessions for.
@@ -119,33 +135,43 @@ partial void ProcessGetSandboxesSessionsResponseContent( /// Sort direction for results by creation time.
/// Default Value: desc /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task>> GetSandboxesSessionsAsResponseAsync( + public async global::System.Threading.Tasks.Task>> ListSessionsAsResponseAsync( string? project = default, string? name = default, double? limit = default, string? cursor = default, - global::Vercel.GetSandboxesSessionsSortOrder? sortOrder = default, + global::Vercel.ListSessionsSortOrder? sortOrder = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareGetSandboxesSessionsArguments( + PrepareListSessionsArguments( httpClient: HttpClient, project: ref project, name: ref name, limit: ref limit, cursor: ref cursor, - sortOrder: ref sortOrder); + sortOrder: ref sortOrder, + teamId: ref teamId, + slug: ref slug); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_GetSandboxesSessionsSecurityRequirements, - operationName: "GetSandboxesSessionsAsync"); + securityRequirements: s_ListSessionsSecurityRequirements, + operationName: "ListSessionsAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -165,7 +191,7 @@ partial void ProcessGetSandboxesSessionsResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: "/sandboxes/sessions", + path: "/v2/sandboxes/sessions", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("project", project) @@ -173,6 +199,8 @@ partial void ProcessGetSandboxesSessionsResponseContent( .AddOptionalParameter("limit", limit?.ToString()) .AddOptionalParameter("cursor", cursor) .AddOptionalParameter("sortOrder", sortOrder?.ToValueString()) + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -211,14 +239,16 @@ partial void ProcessGetSandboxesSessionsResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareGetSandboxesSessionsRequest( + PrepareListSessionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, project: project, name: name, limit: limit, cursor: cursor, - sortOrder: sortOrder); + sortOrder: sortOrder, + teamId: teamId, + slug: slug); return __httpRequest; } @@ -235,9 +265,9 @@ partial void ProcessGetSandboxesSessionsResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessions", - methodName: "GetSandboxesSessionsAsync", - pathTemplate: "\"/sandboxes/sessions\"", + operationId: "ListSessions", + methodName: "ListSessionsAsync", + pathTemplate: "\"/v2/sandboxes/sessions\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -269,9 +299,9 @@ partial void ProcessGetSandboxesSessionsResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessions", - methodName: "GetSandboxesSessionsAsync", - pathTemplate: "\"/sandboxes/sessions\"", + operationId: "ListSessions", + methodName: "ListSessionsAsync", + pathTemplate: "\"/v2/sandboxes/sessions\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -310,9 +340,9 @@ partial void ProcessGetSandboxesSessionsResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessions", - methodName: "GetSandboxesSessionsAsync", - pathTemplate: "\"/sandboxes/sessions\"", + operationId: "ListSessions", + methodName: "ListSessionsAsync", + pathTemplate: "\"/v2/sandboxes/sessions\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -350,7 +380,7 @@ partial void ProcessGetSandboxesSessionsResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessGetSandboxesSessionsResponse( + ProcessListSessionsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -358,9 +388,9 @@ partial void ProcessGetSandboxesSessionsResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessions", - methodName: "GetSandboxesSessionsAsync", - pathTemplate: "\"/sandboxes/sessions\"", + operationId: "ListSessions", + methodName: "ListSessionsAsync", + pathTemplate: "\"/v2/sandboxes/sessions\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -380,9 +410,9 @@ partial void ProcessGetSandboxesSessionsResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "GetSandboxesSessions", - methodName: "GetSandboxesSessionsAsync", - pathTemplate: "\"/sandboxes/sessions\"", + operationId: "ListSessions", + methodName: "ListSessionsAsync", + pathTemplate: "\"/v2/sandboxes/sessions\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest!, @@ -602,7 +632,7 @@ partial void ProcessGetSandboxesSessionsResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessGetSandboxesSessionsResponseContent( + ProcessListSessionsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -611,9 +641,9 @@ partial void ProcessGetSandboxesSessionsResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.OneOf.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.OneOf.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse>( + return new global::Vercel.AutoSDKHttpResponse>( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -643,9 +673,9 @@ partial void ProcessGetSandboxesSessionsResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::Vercel.OneOf.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.OneOf.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse>( + return new global::Vercel.AutoSDKHttpResponse>( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdFsRead.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.ReadSessionFile.g.cs similarity index 90% rename from src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdFsRead.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.ReadSessionFile.g.cs index 3690e48a1..d8c8ed28d 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdFsRead.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.ReadSessionFile.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_CreateSandboxesSessionsBySessionIdFsReadSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_ReadSessionFileSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,50 +21,65 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_CreateSandboxesSessionsBySessionIdFsReadSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_ReadSessionFileSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_CreateSandboxesSessionsBySessionIdFsReadSecurityRequirement0, + { s_ReadSessionFileSecurityRequirement0, }; - partial void PrepareCreateSandboxesSessionsBySessionIdFsReadArguments( + partial void PrepareReadSessionFileArguments( global::System.Net.Http.HttpClient httpClient, ref string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest request); - partial void PrepareCreateSandboxesSessionsBySessionIdFsReadRequest( + ref string? teamId, + ref string? slug, + global::Vercel.ReadSessionFileRequest request); + partial void PrepareReadSessionFileRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest request); - partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponse( + string? teamId, + string? slug, + global::Vercel.ReadSessionFileRequest request); + partial void ProcessReadSessionFileResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( + partial void ProcessReadSessionFileResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref byte[] content); /// - /// + /// Read a file
+ /// Downloads the contents of a file from a session's filesystem. The file content is returned as a binary stream with appropriate Content-Disposition headers for file download. ///
/// /// The unique identifier of the session to read the file from.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdFsReadAsync( + public async global::System.Threading.Tasks.Task ReadSessionFileAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest request, + global::Vercel.ReadSessionFileRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await CreateSandboxesSessionsBySessionIdFsReadAsResponseAsync( + var __response = await ReadSessionFileAsResponseAsync( sessionId: sessionId, request: request, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -72,20 +87,29 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( return __response.Body; } /// - /// + /// Read a file
+ /// Downloads the contents of a file from a session's filesystem. The file content is returned as a binary stream with appropriate Content-Disposition headers for file download. ///
/// /// The unique identifier of the session to read the file from.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdFsReadAsStreamAsync( + public async global::System.Threading.Tasks.Task ReadSessionFileAsStreamAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest request, + global::Vercel.ReadSessionFileRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -93,16 +117,18 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( PrepareArguments( client: HttpClient); - PrepareCreateSandboxesSessionsBySessionIdFsReadArguments( + PrepareReadSessionFileArguments( httpClient: HttpClient, sessionId: ref sessionId, + teamId: ref teamId, + slug: ref slug, request: request); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateSandboxesSessionsBySessionIdFsReadSecurityRequirements, - operationName: "CreateSandboxesSessionsBySessionIdFsReadAsync"); + securityRequirements: s_ReadSessionFileSecurityRequirements, + operationName: "ReadSessionFileAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -122,8 +148,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}/fs/read", + path: $"/v2/sandboxes/sessions/{sessionId}/fs/read", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -167,10 +197,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateSandboxesSessionsBySessionIdFsReadRequest( + PrepareReadSessionFileRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, sessionId: sessionId!, + teamId: teamId, + slug: slug, request: request); return __httpRequest; @@ -188,9 +220,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsRead", - methodName: "CreateSandboxesSessionsBySessionIdFsReadAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/read\"", + operationId: "ReadSessionFile", + methodName: "ReadSessionFileAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/read\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -222,9 +254,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsRead", - methodName: "CreateSandboxesSessionsBySessionIdFsReadAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/read\"", + operationId: "ReadSessionFile", + methodName: "ReadSessionFileAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/read\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -263,9 +295,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsRead", - methodName: "CreateSandboxesSessionsBySessionIdFsReadAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/read\"", + operationId: "ReadSessionFile", + methodName: "ReadSessionFileAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/read\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -303,7 +335,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessCreateSandboxesSessionsBySessionIdFsReadResponse( + ProcessReadSessionFileResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -311,9 +343,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsRead", - methodName: "CreateSandboxesSessionsBySessionIdFsReadAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/read\"", + operationId: "ReadSessionFile", + methodName: "ReadSessionFileAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/read\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -333,9 +365,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsRead", - methodName: "CreateSandboxesSessionsBySessionIdFsReadAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/read\"", + operationId: "ReadSessionFile", + methodName: "ReadSessionFileAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/read\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -658,20 +690,29 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( } } /// - /// + /// Read a file
+ /// Downloads the contents of a file from a session's filesystem. The file content is returned as a binary stream with appropriate Content-Disposition headers for file download. ///
/// /// The unique identifier of the session to read the file from.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdFsReadAsResponseAsync( + public async global::System.Threading.Tasks.Task> ReadSessionFileAsResponseAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest request, + global::Vercel.ReadSessionFileRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -679,16 +720,18 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( PrepareArguments( client: HttpClient); - PrepareCreateSandboxesSessionsBySessionIdFsReadArguments( + PrepareReadSessionFileArguments( httpClient: HttpClient, sessionId: ref sessionId, + teamId: ref teamId, + slug: ref slug, request: request); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateSandboxesSessionsBySessionIdFsReadSecurityRequirements, - operationName: "CreateSandboxesSessionsBySessionIdFsReadAsync"); + securityRequirements: s_ReadSessionFileSecurityRequirements, + operationName: "ReadSessionFileAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -708,8 +751,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}/fs/read", + path: $"/v2/sandboxes/sessions/{sessionId}/fs/read", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -753,10 +800,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateSandboxesSessionsBySessionIdFsReadRequest( + PrepareReadSessionFileRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, sessionId: sessionId!, + teamId: teamId, + slug: slug, request: request); return __httpRequest; @@ -774,9 +823,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsRead", - methodName: "CreateSandboxesSessionsBySessionIdFsReadAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/read\"", + operationId: "ReadSessionFile", + methodName: "ReadSessionFileAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/read\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -808,9 +857,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsRead", - methodName: "CreateSandboxesSessionsBySessionIdFsReadAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/read\"", + operationId: "ReadSessionFile", + methodName: "ReadSessionFileAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/read\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -849,9 +898,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsRead", - methodName: "CreateSandboxesSessionsBySessionIdFsReadAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/read\"", + operationId: "ReadSessionFile", + methodName: "ReadSessionFileAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/read\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -889,7 +938,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessCreateSandboxesSessionsBySessionIdFsReadResponse( + ProcessReadSessionFileResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -897,9 +946,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsRead", - methodName: "CreateSandboxesSessionsBySessionIdFsReadAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/read\"", + operationId: "ReadSessionFile", + methodName: "ReadSessionFileAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/read\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -919,9 +968,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsRead", - methodName: "CreateSandboxesSessionsBySessionIdFsReadAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/read\"", + operationId: "ReadSessionFile", + methodName: "ReadSessionFileAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/read\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -1201,7 +1250,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( #endif ).ConfigureAwait(false); - ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( + ProcessReadSessionFileResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -1281,12 +1330,19 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( } } /// - /// + /// Read a file
+ /// Downloads the contents of a file from a session's filesystem. The file content is returned as a binary stream with appropriate Content-Disposition headers for file download. ///
/// /// The unique identifier of the session to read the file from.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// The base directory for resolving relative paths. If not specified, paths are resolved from the sandbox home directory.
/// Example: /home/vercel-sandbox @@ -1298,21 +1354,25 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsReadResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdFsReadAsync( + public async global::System.Threading.Tasks.Task ReadSessionFileAsync( string sessionId, string path, + string? teamId = default, + string? slug = default, string? cwd = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Vercel.CreateSandboxesSessionsBySessionIdFsReadRequest + var __request = new global::Vercel.ReadSessionFileRequest { Cwd = cwd, Path = path, }; - return await CreateSandboxesSessionsBySessionIdFsReadAsync( + return await ReadSessionFileAsync( sessionId: sessionId, + teamId: teamId, + slug: slug, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdCmd.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.RunSessionCommand.g.cs similarity index 87% rename from src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdCmd.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.RunSessionCommand.g.cs index 537df5cf9..ef3d8f707 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdCmd.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.RunSessionCommand.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_CreateSandboxesSessionsBySessionIdCmdSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_RunSessionCommandSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,50 +21,65 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_CreateSandboxesSessionsBySessionIdCmdSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_RunSessionCommandSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_CreateSandboxesSessionsBySessionIdCmdSecurityRequirement0, + { s_RunSessionCommandSecurityRequirement0, }; - partial void PrepareCreateSandboxesSessionsBySessionIdCmdArguments( + partial void PrepareRunSessionCommandArguments( global::System.Net.Http.HttpClient httpClient, ref string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest request); - partial void PrepareCreateSandboxesSessionsBySessionIdCmdRequest( + ref string? teamId, + ref string? slug, + global::Vercel.RunSessionCommandRequest request); + partial void PrepareRunSessionCommandRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest request); - partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponse( + string? teamId, + string? slug, + global::Vercel.RunSessionCommandRequest request); + partial void ProcessRunSessionCommandResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( + partial void ProcessRunSessionCommandResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Execute a command
+ /// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion. ///
/// /// The unique identifier of the session in which to execute the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdCmdAsync( + public async global::System.Threading.Tasks.Task RunSessionCommandAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest request, + global::Vercel.RunSessionCommandRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await CreateSandboxesSessionsBySessionIdCmdAsResponseAsync( + var __response = await RunSessionCommandAsResponseAsync( sessionId: sessionId, request: request, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -72,20 +87,29 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( return __response.Body; } /// - /// + /// Execute a command
+ /// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion. ///
/// /// The unique identifier of the session in which to execute the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdCmdAsResponseAsync( + public async global::System.Threading.Tasks.Task> RunSessionCommandAsResponseAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest request, + global::Vercel.RunSessionCommandRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -93,16 +117,18 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( PrepareArguments( client: HttpClient); - PrepareCreateSandboxesSessionsBySessionIdCmdArguments( + PrepareRunSessionCommandArguments( httpClient: HttpClient, sessionId: ref sessionId, + teamId: ref teamId, + slug: ref slug, request: request); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateSandboxesSessionsBySessionIdCmdSecurityRequirements, - operationName: "CreateSandboxesSessionsBySessionIdCmdAsync"); + securityRequirements: s_RunSessionCommandSecurityRequirements, + operationName: "RunSessionCommandAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -122,8 +148,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}/cmd", + path: $"/v2/sandboxes/sessions/{sessionId}/cmd", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -167,10 +197,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateSandboxesSessionsBySessionIdCmdRequest( + PrepareRunSessionCommandRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, sessionId: sessionId!, + teamId: teamId, + slug: slug, request: request); return __httpRequest; @@ -188,9 +220,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmd", - methodName: "CreateSandboxesSessionsBySessionIdCmdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "RunSessionCommand", + methodName: "RunSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -222,9 +254,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmd", - methodName: "CreateSandboxesSessionsBySessionIdCmdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "RunSessionCommand", + methodName: "RunSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -263,9 +295,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmd", - methodName: "CreateSandboxesSessionsBySessionIdCmdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "RunSessionCommand", + methodName: "RunSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -303,7 +335,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessCreateSandboxesSessionsBySessionIdCmdResponse( + ProcessRunSessionCommandResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -311,9 +343,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmd", - methodName: "CreateSandboxesSessionsBySessionIdCmdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "RunSessionCommand", + methodName: "RunSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -333,9 +365,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmd", - methodName: "CreateSandboxesSessionsBySessionIdCmdAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "RunSessionCommand", + methodName: "RunSessionCommandAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -619,7 +651,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( + ProcessRunSessionCommandResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -628,9 +660,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.RunSessionCommandResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -660,9 +692,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.RunSessionCommandResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -703,12 +735,19 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( } } /// - /// + /// Execute a command
+ /// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion. ///
/// /// The unique identifier of the session in which to execute the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// The executable or shell command to run. This is the program name without arguments.
/// Example: npm @@ -737,9 +776,11 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdCmdAsync( + public async global::System.Threading.Tasks.Task RunSessionCommandAsync( string sessionId, string command, + string? teamId = default, + string? slug = default, global::System.Collections.Generic.IList? args = default, string? cwd = default, global::System.Collections.Generic.Dictionary? env = default, @@ -748,7 +789,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest + var __request = new global::Vercel.RunSessionCommandRequest { Command = command, Args = args, @@ -758,8 +799,10 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdResponseContent( Wait = wait, }; - return await CreateSandboxesSessionsBySessionIdCmdAsync( + return await RunSessionCommandAsync( sessionId: sessionId, + teamId: teamId, + slug: slug, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdCmdAsStream.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.RunSessionCommandAsStream.g.cs similarity index 83% rename from src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdCmdAsStream.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.RunSessionCommandAsStream.g.cs index 0c3e282d2..bf1b7f641 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdCmdAsStream.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.RunSessionCommandAsStream.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_CreateSandboxesSessionsBySessionIdCmdAsStreamSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_RunSessionCommandAsStreamSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,38 +21,51 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_CreateSandboxesSessionsBySessionIdCmdAsStreamSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_RunSessionCommandAsStreamSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_CreateSandboxesSessionsBySessionIdCmdAsStreamSecurityRequirement0, + { s_RunSessionCommandAsStreamSecurityRequirement0, }; - partial void PrepareCreateSandboxesSessionsBySessionIdCmdAsStreamArguments( + partial void PrepareRunSessionCommandAsStreamArguments( global::System.Net.Http.HttpClient httpClient, ref string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest request); - partial void PrepareCreateSandboxesSessionsBySessionIdCmdAsStreamRequest( + ref string? teamId, + ref string? slug, + global::Vercel.RunSessionCommandRequest request); + partial void PrepareRunSessionCommandAsStreamRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest request); - partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( + string? teamId, + string? slug, + global::Vercel.RunSessionCommandRequest request); + partial void ProcessRunSessionCommandAsStreamResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); /// - /// + /// Execute a command
+ /// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion. ///
/// /// The unique identifier of the session in which to execute the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Collections.Generic.IAsyncEnumerable CreateSandboxesSessionsBySessionIdCmdAsStreamAsync( + public async global::System.Collections.Generic.IAsyncEnumerable RunSessionCommandAsStreamAsync( string sessionId, - global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest request, + global::Vercel.RunSessionCommandRequest request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default) { @@ -60,16 +73,18 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( PrepareArguments( client: HttpClient); - PrepareCreateSandboxesSessionsBySessionIdCmdAsStreamArguments( + PrepareRunSessionCommandAsStreamArguments( httpClient: HttpClient, sessionId: ref sessionId, + teamId: ref teamId, + slug: ref slug, request: request); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateSandboxesSessionsBySessionIdCmdAsStreamSecurityRequirements, - operationName: "CreateSandboxesSessionsBySessionIdCmdAsStreamAsync"); + securityRequirements: s_RunSessionCommandAsStreamSecurityRequirements, + operationName: "RunSessionCommandAsStreamAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -89,8 +104,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}/cmd", + path: $"/v2/sandboxes/sessions/{sessionId}/cmd", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -134,10 +153,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateSandboxesSessionsBySessionIdCmdAsStreamRequest( + PrepareRunSessionCommandAsStreamRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, sessionId: sessionId!, + teamId: teamId, + slug: slug, request: request); return __httpRequest; @@ -155,9 +176,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmdAsStream", - methodName: "CreateSandboxesSessionsBySessionIdCmdAsStreamAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "RunSessionCommandAsStream", + methodName: "RunSessionCommandAsStreamAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -189,9 +210,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmdAsStream", - methodName: "CreateSandboxesSessionsBySessionIdCmdAsStreamAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "RunSessionCommandAsStream", + methodName: "RunSessionCommandAsStreamAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -230,9 +251,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmdAsStream", - methodName: "CreateSandboxesSessionsBySessionIdCmdAsStreamAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "RunSessionCommandAsStream", + methodName: "RunSessionCommandAsStreamAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -270,7 +291,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( ProcessResponse( client: HttpClient, response: __response); - ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( + ProcessRunSessionCommandAsStreamResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -278,9 +299,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmdAsStream", - methodName: "CreateSandboxesSessionsBySessionIdCmdAsStreamAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "RunSessionCommandAsStream", + methodName: "RunSessionCommandAsStreamAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -300,9 +321,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdCmdAsStream", - methodName: "CreateSandboxesSessionsBySessionIdCmdAsStreamAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/cmd\"", + operationId: "RunSessionCommandAsStream", + methodName: "RunSessionCommandAsStreamAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/cmd\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -364,7 +385,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( continue; } - var __streamedResponse = global::Vercel.CreateSandboxesSessionsBySessionIdCmdResponse2.FromJson(__content, JsonSerializerContext) ?? + var __streamedResponse = global::Vercel.RunSessionCommandResponse2.FromJson(__content, JsonSerializerContext) ?? throw global::Vercel.ApiException.Create( statusCode: __response.StatusCode, message: $"Response deserialization failed for \"{__content}\" ", @@ -386,12 +407,19 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( } } /// - /// + /// Execute a command
+ /// Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion. ///
/// /// The unique identifier of the session in which to execute the command.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// The executable or shell command to run. This is the program name without arguments.
/// Example: npm @@ -420,9 +448,11 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Collections.Generic.IAsyncEnumerable CreateSandboxesSessionsBySessionIdCmdAsStreamAsync( + public async global::System.Collections.Generic.IAsyncEnumerable RunSessionCommandAsStreamAsync( string sessionId, string command, + string? teamId = default, + string? slug = default, global::System.Collections.Generic.IList? args = default, string? cwd = default, global::System.Collections.Generic.Dictionary? env = default, @@ -431,7 +461,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( global::Vercel.AutoSDKRequestOptions? requestOptions = default, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Vercel.CreateSandboxesSessionsBySessionIdCmdRequest + var __request = new global::Vercel.RunSessionCommandRequest { Command = command, Args = args, @@ -441,8 +471,10 @@ partial void ProcessCreateSandboxesSessionsBySessionIdCmdAsStreamResponse( Wait = wait, }; - var __enumerable = CreateSandboxesSessionsBySessionIdCmdAsStreamAsync( + var __enumerable = RunSessionCommandAsStreamAsync( sessionId: sessionId, + teamId: teamId, + slug: slug, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken); diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdStop.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.StopSession.g.cs similarity index 88% rename from src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdStop.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.StopSession.g.cs index 65dfc7ff1..0ecb690b8 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdStop.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.StopSession.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_CreateSandboxesSessionsBySessionIdStopSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_StopSessionSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,43 +21,58 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_CreateSandboxesSessionsBySessionIdStopSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_StopSessionSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_CreateSandboxesSessionsBySessionIdStopSecurityRequirement0, + { s_StopSessionSecurityRequirement0, }; - partial void PrepareCreateSandboxesSessionsBySessionIdStopArguments( + partial void PrepareStopSessionArguments( global::System.Net.Http.HttpClient httpClient, - ref string sessionId); - partial void PrepareCreateSandboxesSessionsBySessionIdStopRequest( + ref string sessionId, + ref string? teamId, + ref string? slug); + partial void PrepareStopSessionRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string sessionId); - partial void ProcessCreateSandboxesSessionsBySessionIdStopResponse( + string sessionId, + string? teamId, + string? slug); + partial void ProcessStopSessionResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateSandboxesSessionsBySessionIdStopResponseContent( + partial void ProcessStopSessionResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Stop a session
+ /// Stops a running session and releases its allocated resources. All running processes within the session will be terminated. This action cannot be undone. A stopped session cannot be restarted. ///
/// /// The unique identifier of the session to stop.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdStopAsync( + public async global::System.Threading.Tasks.Task> StopSessionAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await CreateSandboxesSessionsBySessionIdStopAsResponseAsync( + var __response = await StopSessionAsResponseAsync( sessionId: sessionId, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -65,31 +80,42 @@ partial void ProcessCreateSandboxesSessionsBySessionIdStopResponseContent( return __response.Body; } /// - /// + /// Stop a session
+ /// Stops a running session and releases its allocated resources. All running processes within the session will be terminated. This action cannot be undone. A stopped session cannot be restarted. ///
/// /// The unique identifier of the session to stop.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task>> CreateSandboxesSessionsBySessionIdStopAsResponseAsync( + public async global::System.Threading.Tasks.Task>> StopSessionAsResponseAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareCreateSandboxesSessionsBySessionIdStopArguments( + PrepareStopSessionArguments( httpClient: HttpClient, - sessionId: ref sessionId); + sessionId: ref sessionId, + teamId: ref teamId, + slug: ref slug); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateSandboxesSessionsBySessionIdStopSecurityRequirements, - operationName: "CreateSandboxesSessionsBySessionIdStopAsync"); + securityRequirements: s_StopSessionSecurityRequirements, + operationName: "StopSessionAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -109,8 +135,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdStopResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}/stop", + path: $"/v2/sandboxes/sessions/{sessionId}/stop", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -148,10 +178,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdStopResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateSandboxesSessionsBySessionIdStopRequest( + PrepareStopSessionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - sessionId: sessionId!); + sessionId: sessionId!, + teamId: teamId, + slug: slug); return __httpRequest; } @@ -168,9 +200,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdStopResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdStop", - methodName: "CreateSandboxesSessionsBySessionIdStopAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/stop\"", + operationId: "StopSession", + methodName: "StopSessionAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/stop\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -202,9 +234,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdStopResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdStop", - methodName: "CreateSandboxesSessionsBySessionIdStopAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/stop\"", + operationId: "StopSession", + methodName: "StopSessionAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/stop\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -243,9 +275,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdStopResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdStop", - methodName: "CreateSandboxesSessionsBySessionIdStopAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/stop\"", + operationId: "StopSession", + methodName: "StopSessionAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/stop\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -283,7 +315,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdStopResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessCreateSandboxesSessionsBySessionIdStopResponse( + ProcessStopSessionResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -291,9 +323,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdStopResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdStop", - methodName: "CreateSandboxesSessionsBySessionIdStopAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/stop\"", + operationId: "StopSession", + methodName: "StopSessionAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/stop\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -313,9 +345,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdStopResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdStop", - methodName: "CreateSandboxesSessionsBySessionIdStopAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/stop\"", + operationId: "StopSession", + methodName: "StopSessionAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/stop\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -599,7 +631,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdStopResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessCreateSandboxesSessionsBySessionIdStopResponseContent( + ProcessStopSessionResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -608,9 +640,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdStopResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.OneOf.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.OneOf.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse>( + return new global::Vercel.AutoSDKHttpResponse>( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -640,9 +672,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdStopResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::Vercel.OneOf.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.OneOf.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse>( + return new global::Vercel.AutoSDKHttpResponse>( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.UpdateSandboxesByName.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.UpdateSandbox.g.cs similarity index 89% rename from src/libs/Vercel/Generated/Vercel.VercelClient.UpdateSandboxesByName.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.UpdateSandbox.g.cs index 858021375..92166cbb3 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.UpdateSandboxesByName.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.UpdateSandbox.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_UpdateSandboxesByNameSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_UpdateSandboxSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,34 +21,39 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_UpdateSandboxesByNameSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_UpdateSandboxSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_UpdateSandboxesByNameSecurityRequirement0, + { s_UpdateSandboxSecurityRequirement0, }; - partial void PrepareUpdateSandboxesByNameArguments( + partial void PrepareUpdateSandboxArguments( global::System.Net.Http.HttpClient httpClient, ref string name, ref string? projectId, ref bool? resume, - global::Vercel.UpdateSandboxesByNameRequest request); - partial void PrepareUpdateSandboxesByNameRequest( + ref string? teamId, + ref string? slug, + global::Vercel.UpdateSandboxRequest request); + partial void PrepareUpdateSandboxRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string name, string? projectId, bool? resume, - global::Vercel.UpdateSandboxesByNameRequest request); - partial void ProcessUpdateSandboxesByNameResponse( + string? teamId, + string? slug, + global::Vercel.UpdateSandboxRequest request); + partial void ProcessUpdateSandboxResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessUpdateSandboxesByNameResponseContent( + partial void ProcessUpdateSandboxResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Update a sandbox
+ /// Updates the configuration of a sandbox. Only the provided fields will be modified; omitted fields remain unchanged. ///
/// /// The sandbox to update.
@@ -61,25 +66,35 @@ partial void ProcessUpdateSandboxesByNameResponseContent( /// Whether to automatically resume a stopped named sandbox by creating a new instance from its snapshot. Defaults to false.
/// Default Value: false /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> UpdateSandboxesByNameAsync( + public async global::System.Threading.Tasks.Task> UpdateSandboxAsync( string name, - global::Vercel.UpdateSandboxesByNameRequest request, + global::Vercel.UpdateSandboxRequest request, string? projectId = default, bool? resume = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await UpdateSandboxesByNameAsResponseAsync( + var __response = await UpdateSandboxAsResponseAsync( name: name, request: request, projectId: projectId, resume: resume, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -87,7 +102,8 @@ partial void ProcessUpdateSandboxesByNameResponseContent( return __response.Body; } /// - /// + /// Update a sandbox
+ /// Updates the configuration of a sandbox. Only the provided fields will be modified; omitted fields remain unchanged. ///
/// /// The sandbox to update.
@@ -100,16 +116,24 @@ partial void ProcessUpdateSandboxesByNameResponseContent( /// Whether to automatically resume a stopped named sandbox by creating a new instance from its snapshot. Defaults to false.
/// Default Value: false /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task>> UpdateSandboxesByNameAsResponseAsync( + public async global::System.Threading.Tasks.Task>> UpdateSandboxAsResponseAsync( string name, - global::Vercel.UpdateSandboxesByNameRequest request, + global::Vercel.UpdateSandboxRequest request, string? projectId = default, bool? resume = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -117,18 +141,20 @@ partial void ProcessUpdateSandboxesByNameResponseContent( PrepareArguments( client: HttpClient); - PrepareUpdateSandboxesByNameArguments( + PrepareUpdateSandboxArguments( httpClient: HttpClient, name: ref name, projectId: ref projectId, resume: ref resume, + teamId: ref teamId, + slug: ref slug, request: request); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_UpdateSandboxesByNameSecurityRequirements, - operationName: "UpdateSandboxesByNameAsync"); + securityRequirements: s_UpdateSandboxSecurityRequirements, + operationName: "UpdateSandboxAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -148,11 +174,13 @@ partial void ProcessUpdateSandboxesByNameResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/{name}", + path: $"/v2/sandboxes/{name}", baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("projectId", projectId) .AddOptionalParameter("resume", resume?.ToString().ToLowerInvariant()) + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -197,12 +225,14 @@ partial void ProcessUpdateSandboxesByNameResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareUpdateSandboxesByNameRequest( + PrepareUpdateSandboxRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, name: name!, projectId: projectId, resume: resume, + teamId: teamId, + slug: slug, request: request); return __httpRequest; @@ -220,9 +250,9 @@ partial void ProcessUpdateSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdateSandboxesByName", - methodName: "UpdateSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "UpdateSandbox", + methodName: "UpdateSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest!, @@ -254,9 +284,9 @@ partial void ProcessUpdateSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdateSandboxesByName", - methodName: "UpdateSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "UpdateSandbox", + methodName: "UpdateSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest!, @@ -295,9 +325,9 @@ partial void ProcessUpdateSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdateSandboxesByName", - methodName: "UpdateSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "UpdateSandbox", + methodName: "UpdateSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest!, @@ -335,7 +365,7 @@ partial void ProcessUpdateSandboxesByNameResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessUpdateSandboxesByNameResponse( + ProcessUpdateSandboxResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -343,9 +373,9 @@ partial void ProcessUpdateSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdateSandboxesByName", - methodName: "UpdateSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "UpdateSandbox", + methodName: "UpdateSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest!, @@ -365,9 +395,9 @@ partial void ProcessUpdateSandboxesByNameResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdateSandboxesByName", - methodName: "UpdateSandboxesByNameAsync", - pathTemplate: "$\"/sandboxes/{name}\"", + operationId: "UpdateSandbox", + methodName: "UpdateSandboxAsync", + pathTemplate: "$\"/v2/sandboxes/{name}\"", httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest!, @@ -715,7 +745,7 @@ partial void ProcessUpdateSandboxesByNameResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessUpdateSandboxesByNameResponseContent( + ProcessUpdateSandboxResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -724,9 +754,9 @@ partial void ProcessUpdateSandboxesByNameResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.OneOf.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.OneOf.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse>( + return new global::Vercel.AutoSDKHttpResponse>( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -756,9 +786,9 @@ partial void ProcessUpdateSandboxesByNameResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::Vercel.OneOf.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.OneOf.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse>( + return new global::Vercel.AutoSDKHttpResponse>( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -799,7 +829,8 @@ partial void ProcessUpdateSandboxesByNameResponseContent( } } /// - /// + /// Update a sandbox
+ /// Updates the configuration of a sandbox. Only the provided fields will be modified; omitted fields remain unchanged. ///
/// /// The sandbox to update.
@@ -812,6 +843,12 @@ partial void ProcessUpdateSandboxesByNameResponseContent( /// Whether to automatically resume a stopped named sandbox by creating a new instance from its snapshot. Defaults to false.
/// Default Value: false /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Resources to define the VM /// @@ -852,17 +889,19 @@ partial void ProcessUpdateSandboxesByNameResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> UpdateSandboxesByNameAsync( + public async global::System.Threading.Tasks.Task> UpdateSandboxAsync( string name, string? projectId = default, bool? resume = default, - global::Vercel.UpdateSandboxesByNameRequestResources? resources = default, - global::Vercel.UpdateSandboxesByNameRequestRuntime? runtime = default, + string? teamId = default, + string? slug = default, + global::Vercel.UpdateSandboxRequestResources? resources = default, + global::Vercel.UpdateSandboxRequestRuntime? runtime = default, int? timeout = default, bool? persistent = default, global::Vercel.OneOf? snapshotExpiration = default, - global::Vercel.OneOf? keepLastSnapshots = default, - global::Vercel.OneOf? networkPolicy = default, + global::Vercel.OneOf? keepLastSnapshots = default, + global::Vercel.OneOf? networkPolicy = default, global::System.Collections.Generic.Dictionary? env = default, global::System.Collections.Generic.IList? ports = default, string? currentSnapshotId = default, @@ -870,7 +909,7 @@ partial void ProcessUpdateSandboxesByNameResponseContent( global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Vercel.UpdateSandboxesByNameRequest + var __request = new global::Vercel.UpdateSandboxRequest { Resources = resources, Runtime = runtime, @@ -885,10 +924,12 @@ partial void ProcessUpdateSandboxesByNameResponseContent( Tags = tags, }; - return await UpdateSandboxesByNameAsync( + return await UpdateSandboxAsync( name: name, projectId: projectId, resume: resume, + teamId: teamId, + slug: slug, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdNetworkPolicy.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.UpdateSessionNetworkPolicy.g.cs similarity index 86% rename from src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdNetworkPolicy.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.UpdateSessionNetworkPolicy.g.cs index 847432bb0..9ac881e2d 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdNetworkPolicy.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.UpdateSessionNetworkPolicy.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_CreateSandboxesSessionsBySessionIdNetworkPolicySecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_UpdateSessionNetworkPolicySecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,50 +21,65 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_CreateSandboxesSessionsBySessionIdNetworkPolicySecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_UpdateSessionNetworkPolicySecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_CreateSandboxesSessionsBySessionIdNetworkPolicySecurityRequirement0, + { s_UpdateSessionNetworkPolicySecurityRequirement0, }; - partial void PrepareCreateSandboxesSessionsBySessionIdNetworkPolicyArguments( + partial void PrepareUpdateSessionNetworkPolicyArguments( global::System.Net.Http.HttpClient httpClient, ref string sessionId, - global::Vercel.OneOf request); - partial void PrepareCreateSandboxesSessionsBySessionIdNetworkPolicyRequest( + ref string? teamId, + ref string? slug, + global::Vercel.OneOf request); + partial void PrepareUpdateSessionNetworkPolicyRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string sessionId, - global::Vercel.OneOf request); - partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponse( + string? teamId, + string? slug, + global::Vercel.OneOf request); + partial void ProcessUpdateSessionNetworkPolicyResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseContent( + partial void ProcessUpdateSessionNetworkPolicyResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Update network policy
+ /// Replaces the network access policy of a running session. Use this to control which external hosts the session can communicate with. This is a full replacement. Any previously configured network rules will be overwritten. ///
/// /// The unique identifier of the session to update the network policy for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdNetworkPolicyAsync( + public async global::System.Threading.Tasks.Task UpdateSessionNetworkPolicyAsync( string sessionId, - global::Vercel.OneOf request, + global::Vercel.OneOf request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await CreateSandboxesSessionsBySessionIdNetworkPolicyAsResponseAsync( + var __response = await UpdateSessionNetworkPolicyAsResponseAsync( sessionId: sessionId, request: request, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -72,35 +87,46 @@ partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseConte return __response.Body; } /// - /// + /// Update network policy
+ /// Replaces the network access policy of a running session. Use this to control which external hosts the session can communicate with. This is a full replacement. Any previously configured network rules will be overwritten. ///
/// /// The unique identifier of the session to update the network policy for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdNetworkPolicyAsResponseAsync( + public async global::System.Threading.Tasks.Task> UpdateSessionNetworkPolicyAsResponseAsync( string sessionId, - global::Vercel.OneOf request, + global::Vercel.OneOf request, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareCreateSandboxesSessionsBySessionIdNetworkPolicyArguments( + PrepareUpdateSessionNetworkPolicyArguments( httpClient: HttpClient, sessionId: ref sessionId, + teamId: ref teamId, + slug: ref slug, request: request); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateSandboxesSessionsBySessionIdNetworkPolicySecurityRequirements, - operationName: "CreateSandboxesSessionsBySessionIdNetworkPolicyAsync"); + securityRequirements: s_UpdateSessionNetworkPolicySecurityRequirements, + operationName: "UpdateSessionNetworkPolicyAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -120,8 +146,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseConte { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}/network-policy", + path: $"/v2/sandboxes/sessions/{sessionId}/network-policy", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -165,10 +195,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseConte PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateSandboxesSessionsBySessionIdNetworkPolicyRequest( + PrepareUpdateSessionNetworkPolicyRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, sessionId: sessionId!, + teamId: teamId, + slug: slug, request: request); return __httpRequest; @@ -186,9 +218,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseConte await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdNetworkPolicy", - methodName: "CreateSandboxesSessionsBySessionIdNetworkPolicyAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/network-policy\"", + operationId: "UpdateSessionNetworkPolicy", + methodName: "UpdateSessionNetworkPolicyAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/network-policy\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -220,9 +252,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseConte await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdNetworkPolicy", - methodName: "CreateSandboxesSessionsBySessionIdNetworkPolicyAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/network-policy\"", + operationId: "UpdateSessionNetworkPolicy", + methodName: "UpdateSessionNetworkPolicyAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/network-policy\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -261,9 +293,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseConte await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdNetworkPolicy", - methodName: "CreateSandboxesSessionsBySessionIdNetworkPolicyAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/network-policy\"", + operationId: "UpdateSessionNetworkPolicy", + methodName: "UpdateSessionNetworkPolicyAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/network-policy\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -301,7 +333,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseConte ProcessResponse( client: HttpClient, response: __response); - ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponse( + ProcessUpdateSessionNetworkPolicyResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -309,9 +341,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseConte await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdNetworkPolicy", - methodName: "CreateSandboxesSessionsBySessionIdNetworkPolicyAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/network-policy\"", + operationId: "UpdateSessionNetworkPolicy", + methodName: "UpdateSessionNetworkPolicyAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/network-policy\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -331,9 +363,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseConte await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdNetworkPolicy", - methodName: "CreateSandboxesSessionsBySessionIdNetworkPolicyAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/network-policy\"", + operationId: "UpdateSessionNetworkPolicy", + methodName: "UpdateSessionNetworkPolicyAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/network-policy\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -649,7 +681,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseConte client: HttpClient, response: __response, content: ref __content); - ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseContent( + ProcessUpdateSessionNetworkPolicyResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -658,9 +690,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseConte { __response.EnsureSuccessStatusCode(); - var __value = global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::Vercel.UpdateSessionNetworkPolicyResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -690,9 +722,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseConte #endif ).ConfigureAwait(false); - var __value = await global::Vercel.CreateSandboxesSessionsBySessionIdNetworkPolicyResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::Vercel.UpdateSessionNetworkPolicyResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::Vercel.AutoSDKHttpResponse( + return new global::Vercel.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -733,26 +765,37 @@ partial void ProcessCreateSandboxesSessionsBySessionIdNetworkPolicyResponseConte } } /// - /// + /// Update network policy
+ /// Replaces the network access policy of a running session. Use this to control which external hosts the session can communicate with. This is a full replacement. Any previously configured network rules will be overwritten. ///
/// /// The unique identifier of the session to update the network policy for.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdNetworkPolicyAsync( + public async global::System.Threading.Tasks.Task UpdateSessionNetworkPolicyAsync( string sessionId, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Vercel.OneOf + var __request = new global::Vercel.OneOf { }; - return await CreateSandboxesSessionsBySessionIdNetworkPolicyAsync( + return await UpdateSessionNetworkPolicyAsync( sessionId: sessionId, + teamId: teamId, + slug: slug, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdFsWrite.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.WriteSessionFiles.g.cs similarity index 89% rename from src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdFsWrite.g.cs rename to src/libs/Vercel/Generated/Vercel.SandboxesClient.WriteSessionFiles.g.cs index 4977fed1b..761f7b8ce 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.CreateSandboxesSessionsBySessionIdFsWrite.g.cs +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.WriteSessionFiles.g.cs @@ -3,11 +3,11 @@ namespace Vercel { - public partial class VercelClient + public partial class SandboxesClient { - private static readonly global::Vercel.EndPointSecurityRequirement s_CreateSandboxesSessionsBySessionIdFsWriteSecurityRequirement0 = + private static readonly global::Vercel.EndPointSecurityRequirement s_WriteSessionFilesSecurityRequirement0 = new global::Vercel.EndPointSecurityRequirement { Authorizations = new global::Vercel.EndPointAuthorizationRequirement[] @@ -21,30 +21,35 @@ public partial class VercelClient }, }, }; - private static readonly global::Vercel.EndPointSecurityRequirement[] s_CreateSandboxesSessionsBySessionIdFsWriteSecurityRequirements = + private static readonly global::Vercel.EndPointSecurityRequirement[] s_WriteSessionFilesSecurityRequirements = new global::Vercel.EndPointSecurityRequirement[] - { s_CreateSandboxesSessionsBySessionIdFsWriteSecurityRequirement0, + { s_WriteSessionFilesSecurityRequirement0, }; - partial void PrepareCreateSandboxesSessionsBySessionIdFsWriteArguments( + partial void PrepareWriteSessionFilesArguments( global::System.Net.Http.HttpClient httpClient, ref string? x_xCwd_, - ref string sessionId); - partial void PrepareCreateSandboxesSessionsBySessionIdFsWriteRequest( + ref string sessionId, + ref string? teamId, + ref string? slug); + partial void PrepareWriteSessionFilesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string? x_xCwd_, - string sessionId); - partial void ProcessCreateSandboxesSessionsBySessionIdFsWriteResponse( + string sessionId, + string? teamId, + string? slug); + partial void ProcessWriteSessionFilesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateSandboxesSessionsBySessionIdFsWriteResponseContent( + partial void ProcessWriteSessionFilesResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// + /// Write files
+ /// Uploads and extracts files to a session's filesystem. Files must be uploaded as a gzipped tarball (`.tar.gz`) with the `Content-Type` header set to `application/gzip`. The tarball contents are extracted to the session's working directory, or to a custom directory specified via the `x-cwd` header. ///
/// /// The target directory where the tarball contents will be extracted. If not specified, files are extracted to the sandbox home directory.
@@ -54,18 +59,28 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsWriteResponseContent( /// The unique identifier of the session to write files to.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateSandboxesSessionsBySessionIdFsWriteAsync( + public async global::System.Threading.Tasks.Task WriteSessionFilesAsync( string sessionId, string? x_xCwd_ = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await CreateSandboxesSessionsBySessionIdFsWriteAsResponseAsync( + var __response = await WriteSessionFilesAsResponseAsync( sessionId: sessionId, x_xCwd_: x_xCwd_, + teamId: teamId, + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -73,7 +88,8 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsWriteResponseContent( return __response.Body; } /// - /// + /// Write files
+ /// Uploads and extracts files to a session's filesystem. Files must be uploaded as a gzipped tarball (`.tar.gz`) with the `Content-Type` header set to `application/gzip`. The tarball contents are extracted to the session's working directory, or to a custom directory specified via the `x-cwd` header. ///
/// /// The target directory where the tarball contents will be extracted. If not specified, files are extracted to the sandbox home directory.
@@ -83,27 +99,37 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsWriteResponseContent( /// The unique identifier of the session to write files to.
/// Example: sbx_abc123 /// + /// + /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l + /// + /// + /// Example: my-team-url-slug + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> CreateSandboxesSessionsBySessionIdFsWriteAsResponseAsync( + public async global::System.Threading.Tasks.Task> WriteSessionFilesAsResponseAsync( string sessionId, string? x_xCwd_ = default, + string? teamId = default, + string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareCreateSandboxesSessionsBySessionIdFsWriteArguments( + PrepareWriteSessionFilesArguments( httpClient: HttpClient, x_xCwd_: ref x_xCwd_, - sessionId: ref sessionId); + sessionId: ref sessionId, + teamId: ref teamId, + slug: ref slug); var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateSandboxesSessionsBySessionIdFsWriteSecurityRequirements, - operationName: "CreateSandboxesSessionsBySessionIdFsWriteAsync"); + securityRequirements: s_WriteSessionFilesSecurityRequirements, + operationName: "WriteSessionFilesAsync"); using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -123,8 +149,12 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsWriteResponseContent( { var __pathBuilder = new global::Vercel.PathBuilder( - path: $"/sandboxes/sessions/{sessionId}/fs/write", + path: $"/v2/sandboxes/sessions/{sessionId}/fs/write", baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("teamId", teamId) + .AddOptionalParameter("slug", slug) + ; var __path = __pathBuilder.ToString(); __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -168,11 +198,13 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsWriteResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateSandboxesSessionsBySessionIdFsWriteRequest( + PrepareWriteSessionFilesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, x_xCwd_: x_xCwd_, - sessionId: sessionId!); + sessionId: sessionId!, + teamId: teamId, + slug: slug); return __httpRequest; } @@ -189,9 +221,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsWriteResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsWrite", - methodName: "CreateSandboxesSessionsBySessionIdFsWriteAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/write\"", + operationId: "WriteSessionFiles", + methodName: "WriteSessionFilesAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/write\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -223,9 +255,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsWriteResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsWrite", - methodName: "CreateSandboxesSessionsBySessionIdFsWriteAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/write\"", + operationId: "WriteSessionFiles", + methodName: "WriteSessionFilesAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/write\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -264,9 +296,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsWriteResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsWrite", - methodName: "CreateSandboxesSessionsBySessionIdFsWriteAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/write\"", + operationId: "WriteSessionFiles", + methodName: "WriteSessionFilesAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/write\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -304,7 +336,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsWriteResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessCreateSandboxesSessionsBySessionIdFsWriteResponse( + ProcessWriteSessionFilesResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -312,9 +344,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsWriteResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsWrite", - methodName: "CreateSandboxesSessionsBySessionIdFsWriteAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/write\"", + operationId: "WriteSessionFiles", + methodName: "WriteSessionFilesAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/write\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -334,9 +366,9 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsWriteResponseContent( await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateSandboxesSessionsBySessionIdFsWrite", - methodName: "CreateSandboxesSessionsBySessionIdFsWriteAsync", - pathTemplate: "$\"/sandboxes/sessions/{sessionId}/fs/write\"", + operationId: "WriteSessionFiles", + methodName: "WriteSessionFilesAsync", + pathTemplate: "$\"/v2/sandboxes/sessions/{sessionId}/fs/write\"", httpMethod: "POST", baseUri: BaseUri, request: __httpRequest!, @@ -620,7 +652,7 @@ partial void ProcessCreateSandboxesSessionsBySessionIdFsWriteResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessCreateSandboxesSessionsBySessionIdFsWriteResponseContent( + ProcessWriteSessionFilesResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/Vercel/Generated/Vercel.SandboxesClient.g.cs b/src/libs/Vercel/Generated/Vercel.SandboxesClient.g.cs new file mode 100644 index 000000000..cabed8fc1 --- /dev/null +++ b/src/libs/Vercel/Generated/Vercel.SandboxesClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace Vercel +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class SandboxesClient : global::Vercel.ISandboxesClient, global::System.IDisposable + { + /// + /// Production API + /// + public const string DefaultBaseUrl = "https://api.vercel.com/"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => HttpClient.BaseAddress; + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + + /// + public global::Vercel.AutoSDKClientOptions Options { get; } + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Vercel.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the SandboxesClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public SandboxesClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this( + httpClient, + baseUri, + authorizations, + options: null, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the SandboxesClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public SandboxesClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::Vercel.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the SandboxesClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public SandboxesClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::Vercel.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::Vercel.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Vercel/Generated/Vercel.VercelClient.g.cs b/src/libs/Vercel/Generated/Vercel.VercelClient.g.cs index 4208c075f..a6a081508 100644 --- a/src/libs/Vercel/Generated/Vercel.VercelClient.g.cs +++ b/src/libs/Vercel/Generated/Vercel.VercelClient.g.cs @@ -292,6 +292,15 @@ public sealed partial class VercelClient : global::Vercel.IVercelClient, global: JsonSerializerContext = JsonSerializerContext, }; + /// + /// + /// + public SandboxesClient Sandboxes => new SandboxesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContext = JsonSerializerContext, + }; + /// /// /// diff --git a/src/libs/Vercel/openapi.yaml b/src/libs/Vercel/openapi.yaml index cd614764b..a6e9ce7da 100644 --- a/src/libs/Vercel/openapi.yaml +++ b/src/libs/Vercel/openapi.yaml @@ -41914,12 +41914,13 @@ }, { "name": "withMetadata", - "description": "Whether to include metadata in the response", + "description": "Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release. Use `GET /v1/projects/:id/feature-flags/flags/:flagIdOrSlug?withMetadata=true` for single-flag lookups that need creator metadata.", "in": "query", "required": false, "schema": { - "description": "Whether to include metadata in the response", - "type": "boolean" + "description": "Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release. Use `GET /v1/projects/:id/feature-flags/flags/:flagIdOrSlug?withMetadata=true` for single-flag lookups that need creator metadata.", + "type": "boolean", + "deprecated": true } }, { @@ -43586,6 +43587,163 @@ } } }, + "/v2/projects/{projectIdOrName}/feature-flags/flags": { + "get": { + "description": "Retrieve feature flags for a project. Returns an opaque cursor for pagination.", + "operationId": "listFlagsV2", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "List flags", + "tags": [ + "feature-flags" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/Flag" + }, + "type": "array" + }, + "pagination": { + "properties": { + "next": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "next" + ], + "type": "object" + } + }, + "required": [ + "data", + "pagination" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid." + }, + "401": { + "description": "The request is not authorized." + }, + "402": { + "description": "The account is missing a payment so payment method must be updated" + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "" + } + }, + "parameters": [ + { + "name": "projectIdOrName", + "description": "The project id or name", + "in": "path", + "required": true, + "schema": { + "description": "The project id or name", + "type": "string" + } + }, + { + "name": "state", + "description": "The state of the flags to retrieve. Defaults to `active`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "active", + "archived" + ], + "description": "The state of the flags to retrieve. Defaults to `active`." + } + }, + { + "name": "limit", + "description": "Maximum number of flags to return.", + "in": "query", + "required": false, + "schema": { + "description": "Maximum number of flags to return.", + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 25 + } + }, + { + "name": "cursor", + "description": "Pagination cursor to continue from.", + "in": "query", + "required": false, + "schema": { + "description": "Pagination cursor to continue from.", + "type": "string" + } + }, + { + "name": "search", + "description": "Search flags by their slug or description. Case-insensitive.", + "in": "query", + "required": false, + "schema": { + "description": "Search flags by their slug or description. Case-insensitive.", + "type": "string", + "maxLength": 256 + } + }, + { + "name": "tags", + "description": "Filter flags by tag. Repeat the parameter for multiple tags (all must match).", + "in": "query", + "required": false, + "schema": { + "description": "Filter flags by tag. Repeat the parameter for multiple tags (all must match).", + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + }, "/v1/projects/{projectIdOrName}/feature-flags/flags/{flagIdOrSlug}": { "get": { "description": "Retrieve a specific feature flag by its ID or slug.", @@ -47425,12 +47583,13 @@ }, { "name": "withMetadata", - "description": "Whether to include metadata in the response", + "description": "Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release.", "in": "query", "required": false, "schema": { - "description": "Whether to include metadata in the response", - "type": "boolean" + "description": "Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release.", + "type": "boolean", + "deprecated": true } }, { @@ -47518,6 +47677,164 @@ ] } }, + "/v2/teams/{teamId}/feature-flags/flags": { + "get": { + "description": "Retrieve all feature flags for a team across all projects. Returns an opaque cursor for pagination.", + "operationId": "listTeamFlagsV2", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "List all flags for a team", + "tags": [ + "feature-flags" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/Flag" + }, + "type": "array" + }, + "pagination": { + "properties": { + "next": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "next" + ], + "type": "object" + } + }, + "required": [ + "data", + "pagination" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid." + }, + "401": { + "description": "The request is not authorized." + }, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "name": "state", + "description": "The state of the flags to retrieve. Defaults to `active`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "active", + "archived" + ], + "description": "The state of the flags to retrieve. Defaults to `active`." + } + }, + { + "name": "limit", + "description": "Maximum number of flags to return.", + "in": "query", + "required": false, + "schema": { + "description": "Maximum number of flags to return.", + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 25 + } + }, + { + "name": "cursor", + "description": "Pagination cursor to continue from.", + "in": "query", + "required": false, + "schema": { + "description": "Pagination cursor to continue from.", + "type": "string" + } + }, + { + "name": "search", + "description": "Search flags by their slug or description. Case-insensitive.", + "in": "query", + "required": false, + "schema": { + "description": "Search flags by their slug or description. Case-insensitive.", + "type": "string", + "maxLength": 256 + } + }, + { + "name": "kind", + "description": "The kind of flags to retrieve.", + "in": "query", + "required": false, + "schema": { + "description": "The kind of flags to retrieve.", + "type": "string", + "enum": [ + "boolean", + "string", + "number", + "json" + ] + } + }, + { + "name": "tags", + "description": "Filter flags by tag. Repeat the parameter for multiple tags (all must match).", + "in": "query", + "required": false, + "schema": { + "description": "Filter flags by tag. Repeat the parameter for multiple tags (all must match).", + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "path", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + }, + "required": true + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + }, "/v1/projects/{projectIdOrName}/feature-flags/segments": { "put": { "description": "Create a new feature flag segment.", @@ -116283,12 +116600,19 @@ ] } }, - "/sandboxes": { + "/v2/sandboxes": { "get": { - "description": "", - "operationId": "getSandboxes", - "security": [], - "tags": [], + "description": "Retrieves a paginated list of named sandboxes belonging to a specific project. Results can be sorted by creation time or name, and optionally filtered by name prefix.", + "operationId": "listSandboxes", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "List sandboxes", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "", @@ -116441,14 +116765,39 @@ } ] } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ] }, "post": { - "description": "", + "description": "Creates a named sandbox environment. Named sandboxes have a unique name within a project and support automatic snapshotting on shutdown.", "operationId": "createSandboxes", - "security": [], - "tags": [], + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Create a named sandbox", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "", @@ -116510,7 +116859,26 @@ "description": "" } }, - "parameters": [], + "parameters": [ + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], "requestBody": { "content": { "application/json": { @@ -117118,12 +117486,19 @@ } } }, - "/sandboxes/snapshots": { + "/v2/sandboxes/snapshots": { "get": { - "description": "", - "operationId": "getSandboxesSnapshots", - "security": [], - "tags": [], + "description": "Retrieves a paginated list of snapshots for a specific project.", + "operationId": "listSessionSnapshots", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "List snapshots", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "", @@ -117249,16 +117624,41 @@ ], "default": "desc" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ] } }, - "/sandboxes/snapshots/{snapshotId}": { + "/v2/sandboxes/snapshots/{snapshotId}": { "get": { - "description": "", - "operationId": "getSandboxesSnapshotsBySnapshotId", - "security": [], - "tags": [], + "description": "Retrieves detailed information about a specific snapshot, including its creation time, size, expiration date, and the source session it was created from.", + "operationId": "getSessionSnapshot", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get a snapshot", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "", @@ -117305,14 +117705,39 @@ "description": "The unique identifier of the snapshot to retrieve.", "example": "snap_abc123" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ] }, "delete": { - "description": "", - "operationId": "deleteSandboxesSnapshotsBySnapshotId", - "security": [], - "tags": [], + "description": "Permanently deletes a snapshot and frees its associated storage. This action cannot be undone. After deletion, the snapshot can no longer be used to create new sessions.", + "operationId": "deleteSessionSnapshot", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Delete a snapshot", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "", @@ -117359,16 +117784,41 @@ "description": "The unique identifier of the snapshot to delete.", "example": "snap_abc123" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ] } }, - "/sandboxes/sessions": { + "/v2/sandboxes/sessions": { "get": { - "description": "", - "operationId": "getSandboxesSessions", - "security": [], - "tags": [], + "description": "Retrieves a paginated list of sessions belonging to a specific sandbox. Results are sorted by creation time and paginated using an opaque cursor.", + "operationId": "listSessions", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "List sessions", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "The list of sessions matching the request filters.", @@ -117497,16 +117947,41 @@ ], "default": "desc" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ] } }, - "/sandboxes/sessions/{sessionId}": { + "/v2/sandboxes/sessions/{sessionId}": { "get": { - "description": "", - "operationId": "getSandboxesSessionsBySessionId", - "security": [], - "tags": [], + "description": "Retrieves detailed information about a specific session, including its current status, resource configuration, and exposed routes.", + "operationId": "getSession", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get a session", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "The session was retrieved successfully.", @@ -117563,16 +118038,41 @@ "description": "The unique identifier of the session to retrieve.", "example": "sbx_abc123" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ] } }, - "/sandboxes/{name}": { + "/v2/sandboxes/{name}": { "get": { - "description": "", - "operationId": "getSandboxesByName", - "security": [], - "tags": [], + "description": "Retrieves a named sandbox by name, including its current sandbox and routes. If the sandbox is stopped and resume is true, a new sandbox will be created from the most recent snapshot.", + "operationId": "getNamedSandbox", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get a named sandbox", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "", @@ -117674,14 +118174,39 @@ "default": false, "description": "Whether to automatically resume a stopped named sandbox by creating a new instance from its snapshot. Defaults to false." } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ] }, "patch": { - "description": "", - "operationId": "updateSandboxesByName", - "security": [], - "tags": [], + "description": "Updates the configuration of a sandbox. Only the provided fields will be modified; omitted fields remain unchanged.", + "operationId": "updateSandbox", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Update a sandbox", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "", @@ -117808,6 +118333,24 @@ "default": false, "description": "Whether to automatically resume a stopped named sandbox by creating a new instance from its snapshot. Defaults to false." } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ], "requestBody": { @@ -118330,10 +118873,17 @@ } }, "delete": { - "description": "", - "operationId": "deleteSandboxesByName", - "security": [], - "tags": [], + "description": "Deletes a sandbox by name. If sandboxes are currently running, they will be stopped first. This operation deletes all sandbox entities with the given name and the named sandbox metadata.", + "operationId": "deleteSandbox", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Delete a sandbox", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "", @@ -118402,16 +118952,41 @@ "description": "The project ID that owns the named sandbox. When provided, takes precedence over OIDC project context.", "maxLength": 128 } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ] } }, - "/sandboxes/sessions/{sessionId}/cmd": { + "/v2/sandboxes/sessions/{sessionId}/cmd": { "get": { - "description": "", - "operationId": "getSandboxesSessionsBySessionIdCmd", - "security": [], - "tags": [], + "description": "Retrieves a list of all commands that have been executed in a session, including their current status, exit codes, and execution times, ordered from the most recent to the oldest.", + "operationId": "listSessionCommands", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "List commands", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "The list of commands executed in the session.", @@ -118461,14 +119036,39 @@ "description": "The unique identifier of the session to list commands for.", "example": "sbx_abc123" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ] }, "post": { - "description": "", - "operationId": "createSandboxesSessionsBySessionIdCmd", - "security": [], - "tags": [], + "description": "Executes a shell command inside a running session. The command runs asynchronously and returns immediately with a command ID that can be used to track its progress and retrieve its output. Optionally, use the `wait` parameter to stream the command status until completion.", + "operationId": "runSessionCommand", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Execute a command", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "", @@ -118537,6 +119137,24 @@ "description": "The unique identifier of the session in which to execute the command.", "example": "sbx_abc123" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ], "requestBody": { @@ -118600,12 +119218,19 @@ } } }, - "/sandboxes/sessions/{sessionId}/cmd/{cmdId}": { + "/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}": { "get": { - "description": "", - "operationId": "getSandboxesSessionsBySessionIdCmdByCmdId", - "security": [], - "tags": [], + "description": "Retrieves the current status and details of a command executed in a session. Use the `wait` parameter to block until the command finishes execution.", + "operationId": "getSessionCommand", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get a command", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "The command data along with the exit code if the command did finish.", @@ -118687,16 +119312,41 @@ ], "default": "false" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ] } }, - "/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill": { + "/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/kill": { "post": { - "description": "", - "operationId": "createSandboxesSessionsBySessionIdCmdByCmdIdKill", - "security": [], - "tags": [], + "description": "Sends a signal to terminate a running command in a session. The signal can be used to gracefully stop (SIGTERM) or forcefully kill (SIGKILL) the process. The command must still be running for this operation to succeed.", + "operationId": "killSessionCommand", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Kill a command", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "The command was terminated successfully.", @@ -118763,6 +119413,24 @@ "description": "The unique identifier of the session containing the command.", "example": "sbx_abc123" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ], "requestBody": { @@ -118787,12 +119455,19 @@ } } }, - "/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs": { + "/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs": { "get": { - "description": "", - "operationId": "getSandboxesSessionsBySessionIdCmdByCmdIdLogs", - "security": [], - "tags": [], + "description": "Streams the output of a command in real-time using newline-delimited JSON (ND-JSON). Each entry includes the output data and stream type. Stream types include `stdout`, `stderr`, and `error` (for stream failures).", + "operationId": "getSessionCommandLogs", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Stream command logs", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "", @@ -118900,16 +119575,41 @@ "description": "The unique identifier of the command to stream logs for.", "example": "cmd_abc123" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ] } }, - "/sandboxes/sessions/{sessionId}/stop": { + "/v2/sandboxes/sessions/{sessionId}/stop": { "post": { - "description": "", - "operationId": "createSandboxesSessionsBySessionIdStop", - "security": [], - "tags": [], + "description": "Stops a running session and releases its allocated resources. All running processes within the session will be terminated. This action cannot be undone. A stopped session cannot be restarted.", + "operationId": "stopSession", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Stop a session", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "The session was stopped successfully.", @@ -118988,16 +119688,41 @@ "description": "The unique identifier of the session to stop.", "example": "sbx_abc123" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ] } }, - "/sandboxes/sessions/{sessionId}/extend-timeout": { + "/v2/sandboxes/sessions/{sessionId}/extend-timeout": { "post": { - "description": "", - "operationId": "createSandboxesSessionsBySessionIdExtendTimeout", - "security": [], - "tags": [], + "description": "Extends the maximum execution time of a running session. The session must be active and able to accept commands. The total timeout cannot exceed the maximum allowed limit for your account.", + "operationId": "extendSessionTimeout", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Extend session timeout", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "The session timeout was extended successfully.", @@ -119053,6 +119778,24 @@ "description": "The unique identifier of the session to extend the timeout for.", "example": "sbx_abc123" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ], "requestBody": { @@ -119078,12 +119821,19 @@ } } }, - "/sandboxes/sessions/{sessionId}/network-policy": { + "/v2/sandboxes/sessions/{sessionId}/network-policy": { "post": { - "description": "", - "operationId": "createSandboxesSessionsBySessionIdNetworkPolicy", - "security": [], - "tags": [], + "description": "Replaces the network access policy of a running session. Use this to control which external hosts the session can communicate with. This is a full replacement. Any previously configured network rules will be overwritten.", + "operationId": "updateSessionNetworkPolicy", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Update network policy", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "The session network policy was updated successfully.", @@ -119142,6 +119892,24 @@ "description": "The unique identifier of the session to update the network policy for.", "example": "sbx_abc123" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ], "requestBody": { @@ -119521,12 +120289,19 @@ } } }, - "/sandboxes/sessions/{sessionId}/fs/read": { + "/v2/sandboxes/sessions/{sessionId}/fs/read": { "post": { - "description": "", - "operationId": "createSandboxesSessionsBySessionIdFsRead", - "security": [], - "tags": [], + "description": "Downloads the contents of a file from a session's filesystem. The file content is returned as a binary stream with appropriate Content-Disposition headers for file download.", + "operationId": "readSessionFile", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Read a file", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "", @@ -119575,6 +120350,24 @@ "description": "The unique identifier of the session to read the file from.", "example": "sbx_abc123" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ], "requestBody": { @@ -119604,12 +120397,19 @@ } } }, - "/sandboxes/sessions/{sessionId}/fs/mkdir": { + "/v2/sandboxes/sessions/{sessionId}/fs/mkdir": { "post": { - "description": "", - "operationId": "createSandboxesSessionsBySessionIdFsMkdir", - "security": [], - "tags": [], + "description": "Creates a new directory in a session's filesystem. By default, parent directories are created recursively if they don't exist (similar to `mkdir -p`).", + "operationId": "createSessionDirectory", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Create a directory", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "The directory was created successfully.", @@ -119657,6 +120457,24 @@ "description": "The unique identifier of the session to create the directory in.", "example": "sbx_abc123" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ], "requestBody": { @@ -119691,12 +120509,19 @@ } } }, - "/sandboxes/sessions/{sessionId}/fs/write": { + "/v2/sandboxes/sessions/{sessionId}/fs/write": { "post": { - "description": "", - "operationId": "createSandboxesSessionsBySessionIdFsWrite", - "security": [], - "tags": [], + "description": "Uploads and extracts files to a session's filesystem. Files must be uploaded as a gzipped tarball (`.tar.gz`) with the `Content-Type` header set to `application/gzip`. The tarball contents are extracted to the session's working directory, or to a custom directory specified via the `x-cwd` header.", + "operationId": "writeSessionFiles", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Write files", + "tags": [ + "sandboxes" + ], "responses": { "200": { "description": "The files were successfully written to the session.", @@ -119754,16 +120579,41 @@ "description": "The unique identifier of the session to write files to.", "example": "sbx_abc123" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ] } }, - "/sandboxes/sessions/{sessionId}/snapshot": { + "/v2/sandboxes/sessions/{sessionId}/snapshot": { "post": { - "description": "", - "operationId": "createSandboxesSessionsBySessionIdSnapshot", - "security": [], - "tags": [], + "description": "Creates a point-in-time snapshot of a running session's filesystem. Snapshots can be used to quickly restore a session to a previous state or to create new sessions with pre-configured environments. The session must be running and able to accept commands for a snapshot to be created. The session will be terminated after the snapshot is created.", + "operationId": "createSessionSnapshot", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Create a snapshot", + "tags": [ + "sandboxes" + ], "responses": { "201": { "description": "", @@ -119826,6 +120676,24 @@ "description": "The unique identifier of the session to snapshot.", "example": "sbx_abc123" } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } } ], "requestBody": { @@ -141734,7 +142602,7 @@ "mounts": { "additionalProperties": { "properties": { - "volume": { + "drive": { "type": "string" }, "mode": { @@ -141746,13 +142614,13 @@ } }, "required": [ - "volume" + "drive" ], "type": "object", - "description": "Key-value pairs of mount path and volume." + "description": "Key-value pairs of mount path and drive." }, "type": "object", - "description": "Key-value pairs of mount path and volume." + "description": "Key-value pairs of mount path and drive." }, "createdAt": { "type": "number",